2024.05.01 14:42:07.500066 [ 685 ] {} Context: Server was built with sanitizer. It will work slowly. 2024.05.01 14:42:07.502742 [ 685 ] {} Context: The setting 'allow_remote_fs_zero_copy_replication' is enabled for MergeTree tables. But the feature of 'zero-copy replication' is under development and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. 2024.05.01 14:42:08.426613 [ 685 ] {} Context: The setting 'merge_tree_metadata_cache' is enabled. But the feature of 'metadata cache in RocksDB' is experimental and is not ready for production. The usage of this feature can lead to data corruption and loss. The setting should be disabled in production. See the corresponding report at https://github.com/ClickHouse/ClickHouse/issues/51182 2024.05.01 14:42:08.790314 [ 685 ] {} KeeperLogStore: No logs exists in /var/lib/clickhouse/coordination/logs. It's Ok if it's the first run of clickhouse-keeper. 2024.05.01 14:42:08.791906 [ 685 ] {} KeeperLogStore: Removing all changelogs 2024.05.01 14:42:08.793572 [ 685 ] {} KeeperServer: Got 1000000000000000 value for setting 'reserved_log_items' which is bigger than int32_t max value, lowering value to 2147483647. 2024.05.01 14:42:08.800960 [ 685 ] {} KeeperStateManager: No state was read 2024.05.01 14:42:08.801024 [ 685 ] {} RaftInstance: invalid election timeout lower bound detected, adjusted to 0 2024.05.01 14:42:08.801064 [ 685 ] {} RaftInstance: invalid election timeout upper bound detected, adjusted to 0 2024.05.01 14:42:08.852450 [ 901 ] {} RaftInstance: Election timeout, initiate leader election 2024.05.01 14:42:08.913428 [ 685 ] {} Access(local_directory): File /var/lib/clickhouse/access/users.list doesn't exist 2024.05.01 14:42:08.913550 [ 685 ] {} Access(local_directory): Recovering lists in directory /var/lib/clickhouse/access/ 2024.05.01 14:42:09.081907 [ 685 ] {} Context: Table system.session_log is enabled. It's unreliable and may contain garbage. Do not use it for any kind of security monitoring. 2024.05.01 14:43:19.889105 [ 1036 ] {} ZooKeeperClient: Code: 33. DB::Exception: Cannot read all data. Bytes read: 0. Bytes expected: 4. (CANNOT_READ_ALL_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x0000000007fbb2d0 in /usr/bin/clickhouse 3. DB::ReadBuffer::readStrict(char*, unsigned long) @ 0x0000000007fbb175 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: Coordination::ZooKeeper::receiveEvent() @ 0x000000001b8f37b8 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: Coordination::ZooKeeper::receiveThread() @ 0x000000001b8f3084 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001b8f9dcb in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:19.947481 [ 1035 ] {} ZooKeeperClient: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:58004 -> [::1]:9181). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: Coordination::ZooKeeperRequest::write(DB::WriteBuffer&) const @ 0x000000001b8c821c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:442: Coordination::ZooKeeper::sendThread() @ 0x000000001b8f2307 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001b8f9b0b in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:20.003063 [ 1036 ] {} ZooKeeperClient: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x000000001f411f2a in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f423021 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::shutdown() @ 0x000000001f424fc5 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:109: Poco::Net::StreamSocket::shutdown() @ 0x000000001f42ac70 in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:965: Coordination::ZooKeeper::finalize(bool, bool, String const&) @ 0x000000001b8eb0e6 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Coordination::ZooKeeper::receiveThread() @ 0x000000001b8f3575 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/ZooKeeper/ZooKeeperImpl.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1>(Coordination::ZooKeeper::ZooKeeper(std::vector> const&, zkutil::ZooKeeperArgs const&, std::shared_ptr, std::optional>&&)::$_1&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001b8f9dcb in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:21.158753 [ 1142 ] {011ca9c6-3f84-4b1b-84a7-eb917c5effcd} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt8: While processing arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808)). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36752) (comment: 03003_arrayEnumerate_crash.sql) (in query: SELECT arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x000000000f349039 in /usr/bin/clickhouse 3. DB::getArraysDepths(std::vector> const&, char const*) @ 0x000000000f348877 in /usr/bin/clickhouse 4. DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f35d21d in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:21.450745 [ 1142 ] {011ca9c6-3f84-4b1b-84a7-eb917c5effcd} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt8: While processing arrayEnumerateUniqRanked(arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]]), materialize(1 AS x) OR toLowCardinality(-9223372036854775808)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x000000000f349039 in /usr/bin/clickhouse 3. DB::getArraysDepths(std::vector> const&, char const*) @ 0x000000000f348877 in /usr/bin/clickhouse 4. DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f35d21d in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:21.450974 [ 690 ] {3aa83ba7-481d-4575-8dbe-a6ef7244e605} executeQuery: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: While executing AggregatingTransform. (AGGREGATE_FUNCTION_THROW) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36686) (comment: 02963_msan_agg_addBatchLookupTable8.sql) (in query: -- https://github.com/ClickHouse/ClickHouse/issues/58727 SELECT number % 2 AS even, aggThrow(number) FROM numbers(10) GROUP BY even;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionAggThrow.cpp:0: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x0000000013dd6947 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Aggregator.cpp:926: void DB::Aggregator::createAggregateStates(char*&) const @ 0x0000000018bb6e16 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void std::__invoke_void_return_wrapper::__call, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const::'lambda'(char*&)&, char*&>(void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const::'lambda'(char*&)&, char*&) @ 0x0000000018cbabeb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const::'lambda'(char*&), void (char*&)>>(std::__function::__policy_storage const*, char*&) @ 0x0000000018cbaa01 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::IAggregateFunctionDataHelper::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x0000000013dd7263 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:1160: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cb94f4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb70b8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcedd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:21.577424 [ 1139 ] {f42dcecb-f15c-442e-b082-092887df1866} executeQuery: Code: 36. DB::Exception: Tables have different secondary indices. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36714) (comment: 02888_attach_partition_from_different_tables.sql) (in query: ALTER TABLE attach_partition_t2 ATTACH PARTITION tuple() FROM attach_partition_t1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [40]) @ 0x0000000007ca5d06 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7444: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001a89fa3d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7455: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001a89fe19 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8fc6e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879038 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:21.577496 [ 690 ] {3aa83ba7-481d-4575-8dbe-a6ef7244e605} TCPHandler: Code: 503. DB::Exception: Aggregate function aggThrow has thrown exception successfully: While executing AggregatingTransform. (AGGREGATE_FUNCTION_THROW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionAggThrow.cpp:0: DB::(anonymous namespace)::AggregateFunctionThrow::create(char*) const @ 0x0000000013dd6947 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Aggregator.cpp:926: void DB::Aggregator::createAggregateStates(char*&) const @ 0x0000000018bb6e16 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Aggregator.cpp:0: void std::__invoke_void_return_wrapper::__call, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const::'lambda'(char*&)&, char*&>(void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const::'lambda'(char*&)&, char*&) @ 0x0000000018cbabeb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const::'lambda'(char*&), void (char*&)>>(std::__function::__policy_storage const*, char*&) @ 0x0000000018cbaa01 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::IAggregateFunctionDataHelper::addBatchLookupTable8(unsigned long, unsigned long, char**, unsigned long, std::function, char8_t const*, DB::IColumn const**, DB::Arena*) const @ 0x0000000013dd7263 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Aggregator.cpp:1160: void DB::Aggregator::executeImplBatch, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cb94f4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, FixedHashTableCalculatedSize>, Allocator>, false, false>>(DB::AggregationMethodOneNumber, FixedHashTableCalculatedSize>, Allocator>, false, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb70b8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcedd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:21.578028 [ 1139 ] {f42dcecb-f15c-442e-b082-092887df1866} TCPHandler: Code: 36. DB::Exception: Tables have different secondary indices. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [40]) @ 0x0000000007ca5d06 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7444: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001a89fa3d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7455: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001a89fe19 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8fc6e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879038 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:21.584595 [ 1142 ] {f3313883-97f7-41f2-924f-9a03e4bc3cc1} executeQuery: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt64: While processing arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]], number). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36752) (comment: 03003_arrayEnumerate_crash.sql) (in query: SELECT arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]], number) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x000000000f349039 in /usr/bin/clickhouse 3. DB::getArraysDepths(std::vector> const&, char const*) @ 0x000000000f348877 in /usr/bin/clickhouse 4. DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f35d21d in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:21.585396 [ 1142 ] {f3313883-97f7-41f2-924f-9a03e4bc3cc1} TCPHandler: Code: 36. DB::Exception: Incorrect argument 2 type of function arrayEnumerateUniqRanked. Expected an Array or Const(UInt64), got UInt64: While processing arrayEnumerateUniqRanked([[1, 2, 3], [2, 2, 1], [3]], number). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, char const*&, String&&) @ 0x000000000f349039 in /usr/bin/clickhouse 3. DB::getArraysDepths(std::vector> const&, char const*) @ 0x000000000f348877 in /usr/bin/clickhouse 4. DB::FunctionArrayEnumerateRankedExtended::getReturnTypeImpl(std::vector> const&) const @ 0x000000000f35d21d in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:21.770694 [ 1139 ] {6282a0db-22ff-403c-8291-a834fc450d03} executeQuery: Code: 36. DB::Exception: Tables have different projections. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36714) (comment: 02888_attach_partition_from_different_tables.sql) (in query: ALTER TABLE attach_partition_t4 ATTACH PARTITION tuple() FROM attach_partition_t3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x0000000008285e06 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7447: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001a89fa78 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7455: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001a89fe19 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8fc6e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879038 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:21.771299 [ 1139 ] {6282a0db-22ff-403c-8291-a834fc450d03} TCPHandler: Code: 36. DB::Exception: Tables have different projections. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x0000000008285e06 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7447: DB::MergeTreeData::checkStructureAndGetMergeTreeData(DB::IStorage&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001a89fa78 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:7455: DB::MergeTreeData::checkStructureAndGetMergeTreeData(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&) const @ 0x000000001a89fe19 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::replacePartitionFrom(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8fc6e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879038 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:22.068916 [ 1089 ] {37a31e8e-5853-43c9-8d1b-e953cbbc51d6} DynamicQueryHandler: Code: 246. DB::Exception: Too large uncompressed size: 4294967295. (CORRUPTED_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x0000000017acf1ed in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecMultiple.cpp:0: DB::CompressionCodecMultiple::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x0000000018368787 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x00000000183aee0d in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressedReadBufferBase.cpp:308: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x0000000018352c78 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:13: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x0000000018350836 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/ReadBuffer.h:0: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x000000001801c8fe in /usr/bin/clickhouse 8. ./build_docker/./src/IO/ReadBuffer.h:71: DB::ConcatReadBuffer::nextImpl() @ 0x00000000188b445d in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:72: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a58a86 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:22.170206 [ 1139 ] {75b8131f-3f32-4fb8-b869-0b4868528eed} DynamicQueryHandler: Code: 271. DB::Exception: Cannot decompress, the number of elements in the compressed data (65) is not equal to the expected number of elements in the decompressed data (1). (CANNOT_DECOMPRESS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x0000000008ef02c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecT64.cpp:584: DB::CompressionCodecT64::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x0000000018377667 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x00000000183aee0d in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressedReadBufferBase.cpp:308: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x0000000018352c78 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:13: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x0000000018350836 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/ReadBuffer.h:0: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x000000001801c8fe in /usr/bin/clickhouse 8. ./build_docker/./src/IO/ReadBuffer.h:71: DB::ConcatReadBuffer::nextImpl() @ 0x00000000188b445d in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:72: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a58a86 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:22.249406 [ 691 ] {39f5ef26-9220-42fa-bf28-182e493e8c60} DynamicQueryHandler: Code: 246. DB::Exception: Wrong data for compression codec NONE: source_size (278) != uncompressed_size (33686018). (CORRUPTED_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned int&, unsigned int&) @ 0x0000000017713526 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecNone.cpp:38: DB::CompressionCodecNone::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x0000000018364588 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x00000000183aee0d in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:174: DB::CompressionCodecMultiple::doDecompressData(char const*, unsigned int, char*, unsigned int) const @ 0x0000000018368493 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/ICompressionCodec.cpp:112: DB::ICompressionCodec::decompress(char const*, unsigned int, char*) const @ 0x00000000183aee0d in /usr/bin/clickhouse 7. ./build_docker/./src/Compression/CompressedReadBufferBase.cpp:308: DB::CompressedReadBufferBase::decompress(DB::BufferBase::Buffer&, unsigned long, unsigned long) @ 0x0000000018352c78 in /usr/bin/clickhouse 8. ./build_docker/./src/Compression/CompressedReadBuffer.cpp:13: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x0000000018350836 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:0: DB::(anonymous namespace)::ReadBufferWrapper::nextImpl() @ 0x000000001801c8fe in /usr/bin/clickhouse 10. ./build_docker/./src/IO/ReadBuffer.h:71: DB::ConcatReadBuffer::nextImpl() @ 0x00000000188b445d in /usr/bin/clickhouse 11. ./build_docker/./src/IO/ReadBuffer.h:72: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a58a86 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:22.743122 [ 1445 ] {180fd1d5-b6ab-4a46-a0da-74525dbb3789} executeQuery: Code: 42. DB::Exception: Table name was not found in function arguments. Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36810) (comment: 02841_remote_parameter_parsing_error.sql) (in query: select * from remote('127.0.0.1', sys);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&&) @ 0x00000000177210d9 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e1d3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:22.743670 [ 1445 ] {180fd1d5-b6ab-4a46-a0da-74525dbb3789} TCPHandler: Code: 42. DB::Exception: Table name was not found in function arguments. Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&&) @ 0x00000000177210d9 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e1d3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:22.748984 [ 1445 ] {99fdf1b1-b6d7-459b-a68a-21c80e1d933b} executeQuery: Code: 42. DB::Exception: Table name was not found in function arguments. Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36810) (comment: 02841_remote_parameter_parsing_error.sql) (in query: select * from remote('127.0.0.1', system);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&&) @ 0x00000000177210d9 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e1d3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:22.749537 [ 1445 ] {99fdf1b1-b6d7-459b-a68a-21c80e1d933b} TCPHandler: Code: 42. DB::Exception: Table name was not found in function arguments. Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&&) @ 0x00000000177210d9 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e1d3 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:22.875145 [ 1445 ] {28613ce8-e6cc-4b18-bce6-d89145fc99a7} executeQuery: Code: 60. DB::Exception: Table system.o does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36810) (comment: 02841_remote_parameter_parsing_error.sql) (in query: select * from remote('127.0.0.1', system.o);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/getStructureOfRemoteTable.cpp:51: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4ac7cd in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/getStructureOfRemoteTable.cpp:0: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4b0e10 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001771fcfd in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001771eafe in /usr/bin/clickhouse 10. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:22.875953 [ 1445 ] {28613ce8-e6cc-4b18-bce6-d89145fc99a7} TCPHandler: Code: 60. DB::Exception: Table system.o does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/getStructureOfRemoteTable.cpp:51: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4ac7cd in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/getStructureOfRemoteTable.cpp:0: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4b0e10 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001771fcfd in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001771eafe in /usr/bin/clickhouse 10. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.023996 [ 1445 ] {986ce3f7-ecdb-4d08-a986-a176ab987263} executeQuery: Code: 47. DB::Exception: Missing columns: 'default' while processing query: 'default', required columns: 'default' 'default'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36810) (comment: 02841_remote_parameter_parsing_error.sql) (in query: select * from remote('127.0.0.1', system.one, default);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997cbc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:218: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001a0f06f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001a0eebff in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001772295a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001771f3ea in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.111504 [ 691 ] {} TCPHandler: Code: 702. DB::Exception: Client info's client_name does not match: ClickHouse client not equal to Hacker client. (CLIENT_INFO_DOES_NOT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:160: DB::TCPHandler::receiveQuery() @ 0x000000001af13500 in /usr/bin/clickhouse 4. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000001af06363 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefd2ce in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.111535 [ 1445 ] {986ce3f7-ecdb-4d08-a986-a176ab987263} TCPHandler: Code: 47. DB::Exception: Missing columns: 'default' while processing query: 'default', required columns: 'default' 'default'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997cbc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:218: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001a0f06f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001a0eebff in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001772295a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001771f3ea in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.112331 [ 691 ] {} TCPHandler: Can't skip data packets after query failure. 2024.05.01 14:43:23.186940 [ 691 ] {} TCPHandler: Code: 702. DB::Exception: Client info's version does not match: 20.13.0 (54443) not equal to 16.13.1 (54443). (CLIENT_INFO_DOES_NOT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveQuery() @ 0x000000001af1377f in /usr/bin/clickhouse 4. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000001af06363 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefd2ce in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.278775 [ 1445 ] {3182961a-d969-4edc-8356-81111dc87aa6} executeQuery: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36810) (comment: 02841_remote_parameter_parsing_error.sql) (in query: SELECT * FROM remote('127.0.0.1', system.one, default, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x00000000084c9ba6 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e145 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.366104 [ 1445 ] {3182961a-d969-4edc-8356-81111dc87aa6} TCPHandler: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x00000000084c9ba6 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e145 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.366158 [ 1141 ] {ca6155cc-1ebc-4d67-8351-919c6e013451} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 'test_aliases' in scope alias2. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36824) (comment: 02834_analyzer_with_statement_references.sql) (in query: WITH test_aliases AS (SELECT number FROM numbers(20)), alias2 AS (SELECT number FROM test_aliases) SELECT number FROM alias2 SETTINGS enable_global_with_statement = 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de1d7 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5579: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e5a2e in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000193ee0f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db237 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.366366 [ 691 ] {} TCPHandler: Can't skip data packets after query failure. 2024.05.01 14:43:23.366822 [ 1141 ] {ca6155cc-1ebc-4d67-8351-919c6e013451} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 'test_aliases' in scope alias2. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de1d7 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5579: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e5a2e in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000193ee0f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db237 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.370663 [ 1445 ] {04e4b123-3354-499e-af8f-a86e4991ceb5} executeQuery: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36810) (comment: 02841_remote_parameter_parsing_error.sql) (in query: select * from remote('127.0.0.1', system.one, default, key1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x00000000084c9ba6 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e145 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.371191 [ 1445 ] {04e4b123-3354-499e-af8f-a86e4991ceb5} TCPHandler: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x00000000084c9ba6 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e145 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.375930 [ 1445 ] {4940db05-a9ea-4c45-9b16-60661a6f04e7} executeQuery: Code: 47. DB::Exception: Missing columns: 'key1' while processing query: 'key1', required columns: 'key1' 'key1'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36810) (comment: 02841_remote_parameter_parsing_error.sql) (in query: SELECT * FROM remote('127.0.0.1', system.one, 'default', '[HIDDEN]', key1)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997cbc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:218: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001a0f06f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001a0eebff in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001772295a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001771f3ea in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.376469 [ 1445 ] {4940db05-a9ea-4c45-9b16-60661a6f04e7} TCPHandler: Code: 47. DB::Exception: Missing columns: 'key1' while processing query: 'key1', required columns: 'key1' 'key1'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997cbc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:218: DB::(anonymous namespace)::buildShardingKeyExpression(std::shared_ptr const&, std::shared_ptr, DB::NamesAndTypesList const&, bool) @ 0x000000001a0f06f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageDistributed.cpp:354: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001a0eebff in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, String const&, String const&, String, std::shared_ptr&, std::shared_ptr const&, String, String, DB::DistributedSettings, bool, std::shared_ptr const&, void>(std::allocator const&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, String const&, String const&, String&&, std::shared_ptr&, std::shared_ptr const&, String&&, String&&, DB::DistributedSettings&&, bool&&, std::shared_ptr const&) @ 0x000000001772295a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001771f3ea in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.380635 [ 1445 ] {eb5d191a-3814-46f5-a149-b218295799f2} executeQuery: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36810) (comment: 02841_remote_parameter_parsing_error.sql) (in query: SELECT * FROM remote('127.0.0.1', system.one, default, '[HIDDEN]', key1)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x00000000084c9ba6 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e145 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.381168 [ 1445 ] {eb5d191a-3814-46f5-a149-b218295799f2} TCPHandler: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x00000000084c9ba6 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e145 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.385445 [ 1445 ] {cef190ad-8905-4e54-ba13-2a0c1f779f79} executeQuery: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36810) (comment: 02841_remote_parameter_parsing_error.sql) (in query: select * from remote('127.0.0.1', system.one, 'default', pwd, key1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x00000000084c9ba6 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e145 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.386025 [ 1445 ] {cef190ad-8905-4e54-ba13-2a0c1f779f79} TCPHandler: Code: 36. DB::Exception: Arguments `user` and `password` should be string literals (in single quotes). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x00000000084c9ba6 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e145 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.478821 [ 1445 ] {0d3d7e6c-1db4-4077-abbf-d1d7e1a0acc9} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36810) (comment: 02841_remote_parameter_parsing_error.sql) (in query: SELECT * FROM remote('127.0.0.1', system.one, 'default', '[HIDDEN]', key1, key2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000017720f20 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e08a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.479453 [ 1445 ] {0d3d7e6c-1db4-4077-abbf-d1d7e1a0acc9} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000017720f20 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e08a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.567345 [ 1445 ] {688fed0f-c1e4-41ef-a7ce-e6e391cab243} executeQuery: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36810) (comment: 02841_remote_parameter_parsing_error.sql) (in query: SELECT * FROM remote('127.0.0.1', system, one, 'default', '[HIDDEN]', key1, key2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000017720f20 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e05d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.567992 [ 1445 ] {688fed0f-c1e4-41ef-a7ce-e6e391cab243} TCPHandler: Code: 42. DB::Exception: Table function 'remote' requires from 1 to 6 parameters: [, , ] [, username[, password], sharding_key]. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage const&, int) @ 0x0000000017720f20 in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:118: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771e05d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.819581 [ 1670 ] {85d0c3b4-c9a3-4a35-ae94-ffe3e11a3777} executeQuery: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, '0.' of type 'Float64' given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36844) (comment: 02833_window_func_range_offset.sql) (in query: -- invalid start offset with RANGE SELECT count() OVER (ORDER BY 3.4028234663852886e38 RANGE BETWEEN 0.0 PRECEDING AND UNBOUNDED FOLLOWING);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ecf6f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x00000000199ed1e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000001b5fc7dc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x000000001954e172 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1788: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541f93 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.820668 [ 1670 ] {85d0c3b4-c9a3-4a35-ae94-ffe3e11a3777} TCPHandler: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, '0.' of type 'Float64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ecf6f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x00000000199ed1e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000001b5fc7dc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x000000001954e172 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1788: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541f93 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.823209 [ 1678 ] {5e9f2517-c84b-4e79-994e-574f5447925e} OptimizeRegularExpression: Analyze RegularExpression failed, got error: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f576707c000, frame address: 0x7f57678157a0, stack size: 419936, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:23.828710 [ 1670 ] {93ba325e-a0b2-444c-bf3f-a28194edc8cd} executeQuery: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, 'nan' of type 'Float64' given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36844) (comment: 02833_window_func_range_offset.sql) (in query: SELECT count() OVER (ORDER BY 3.4028234663852886e38 RANGE BETWEEN nan PRECEDING AND UNBOUNDED FOLLOWING);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ecf6f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x00000000199ed1e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000001b5fc7dc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x000000001954e172 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1788: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541f93 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.829668 [ 1670 ] {93ba325e-a0b2-444c-bf3f-a28194edc8cd} TCPHandler: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, 'nan' of type 'Float64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ecf6f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x00000000199ed1e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000001b5fc7dc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x000000001954e172 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1788: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541f93 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:23.960004 [ 1670 ] {bfbdee51-5df5-4cee-8e2f-ddd8e98d752d} executeQuery: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, '0.' of type 'Float64' given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36844) (comment: 02833_window_func_range_offset.sql) (in query: -- invalid end offset with RANGE SELECT count() OVER (ORDER BY 3.4028234663852886e38 RANGE BETWEEN UNBOUNDED PRECEDING AND 0.0 FOLLOWING);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ed03d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x00000000199ed1e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000001b5fc7dc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x000000001954e172 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1788: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541f93 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:24.096629 [ 1670 ] {bfbdee51-5df5-4cee-8e2f-ddd8e98d752d} TCPHandler: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, '0.' of type 'Float64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ed03d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x00000000199ed1e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000001b5fc7dc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x000000001954e172 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1788: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541f93 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:24.104057 [ 1670 ] {194c8776-7212-4a5b-8dfb-7834947859b0} executeQuery: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, 'nan' of type 'Float64' given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36844) (comment: 02833_window_func_range_offset.sql) (in query: SELECT count() OVER (ORDER BY 3.4028234663852886e38 RANGE BETWEEN UNBOUNDED PRECEDING AND nan FOLLOWING);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ed03d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x00000000199ed1e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000001b5fc7dc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x000000001954e172 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1788: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541f93 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:24.104860 [ 1670 ] {194c8776-7212-4a5b-8dfb-7834947859b0} TCPHandler: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, 'nan' of type 'Float64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ed03d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x00000000199ed1e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000001b5fc7dc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x000000001954e172 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1788: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541f93 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:24.111642 [ 1678 ] {5e9f2517-c84b-4e79-994e-574f5447925e} executeQuery: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((, error: missing ): ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing match('', repeat('(', 100000)). (CANNOT_COMPILE_REGEXP) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36868) (comment: 02831_regexp_analyze_recursion.sql) (in query: SELECT match('', repeat('(', 100000));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x000000000f9ec92e in /usr/bin/clickhouse 4. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x000000000c5a110d in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c59dad4 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:24.150835 [ 1678 ] {5e9f2517-c84b-4e79-994e-574f5447925e} TCPHandler: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((, error: missing ): ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing match('', repeat('(', 100000)). (CANNOT_COMPILE_REGEXP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x000000000f9ec92e in /usr/bin/clickhouse 4. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x000000000c5a110d in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c59dad4 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:24.590323 [ 1140 ] {18c2a9f5-505d-4f34-8d04-ca4608915a5a} executeQuery: Code: 36. DB::Exception: Parameter for aggregate function groupArrayMovingAvg should be positive integer. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36914) (comment: 02817_group_array_moving_zero_window_size.sql) (in query: SELECT groupArrayMovingAvg ( toInt64 ( 0 ) ) ( toDecimal32 ( 1 , 1 ) );), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArrayMoving.cpp:274: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMoving(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013cdfb21 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000fe243de in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:24.591118 [ 1140 ] {18c2a9f5-505d-4f34-8d04-ca4608915a5a} TCPHandler: Code: 36. DB::Exception: Parameter for aggregate function groupArrayMovingAvg should be positive integer. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArrayMoving.cpp:274: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMoving(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013cdfb21 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000fe243de in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:25.380170 [ 1143 ] {bddaaa44-243d-4d5f-b395-735c8c1f7620} executeQuery: Code: 80. DB::Exception: CREATE INDEX without TYPE is forbidden. SET allow_create_index_without_type=1 to ignore this statements. (INCORRECT_QUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36980) (comment: 02813_create_index_noop.sql) (in query: CREATE INDEX idx_tab1_0 on tab1 (col0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [105]) @ 0x0000000017754b46 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateIndexQuery.cpp:0: DB::InterpreterCreateIndexQuery::execute() @ 0x00000000194faa95 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:25.381496 [ 1143 ] {bddaaa44-243d-4d5f-b395-735c8c1f7620} TCPHandler: Code: 80. DB::Exception: CREATE INDEX without TYPE is forbidden. SET allow_create_index_without_type=1 to ignore this statements. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [105]) @ 0x0000000017754b46 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateIndexQuery.cpp:0: DB::InterpreterCreateIndexQuery::execute() @ 0x00000000194faa95 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:26.988155 [ 1670 ] {37bdbd90-aae4-499b-a89f-4035e7f6a6d3} executeQuery: Code: 36. DB::Exception: Disk with name `s3_disk` already exist: While processing disk(name = 's3_disk', type = cache, max_size = '100Ki', path = `02808_custom_disk_with_user_defined_name_test_ww5ed2qu`, disk = s3_disk). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37090) (comment: 02808_custom_disk_with_user_defined_name.sh) (in query: CREATE TABLE test (`a` Int32, `b` String) ENGINE = MergeTree ORDER BY tuple() SETTINGS disk = disk(name = 's3_disk', type = cache, max_size = '100Ki', path = `02808_custom_disk_with_user_defined_name_test_ww5ed2qu`, disk = s3_disk), index_granularity = 20884, min_bytes_for_wide_part = 757348504, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 10735, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 13736572, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 38352, primary_key_compress_block_size = 78049), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Disks/getOrCreateDiskFromAST.cpp:56: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001aaeb90c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::getOrCreateDiskFromDiskAST(std::shared_ptr const&, std::shared_ptr) @ 0x000000001aaea7b8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1570: DB::MergeTreeSettings::loadFromQuery(DB::ASTStorage&, std::shared_ptr) @ 0x000000001aaafb2d in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac6785b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:26.989793 [ 1670 ] {37bdbd90-aae4-499b-a89f-4035e7f6a6d3} TCPHandler: Code: 36. DB::Exception: Disk with name `s3_disk` already exist: While processing disk(name = 's3_disk', type = cache, max_size = '100Ki', path = `02808_custom_disk_with_user_defined_name_test_ww5ed2qu`, disk = s3_disk). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Disks/getOrCreateDiskFromAST.cpp:56: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x000000001aaeb90c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::getOrCreateDiskFromDiskAST(std::shared_ptr const&, std::shared_ptr) @ 0x000000001aaea7b8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1570: DB::MergeTreeSettings::loadFromQuery(DB::ASTStorage&, std::shared_ptr) @ 0x000000001aaafb2d in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac6785b in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:27.133764 [ 1524 ] {1d70f516-fd83-485b-a289-5b227782554d} executeQuery: Code: 59. DB::Exception: Illegal type Int128 of column materialize(toInt128(-2)) for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37102) (comment: 02794_pushdown_invalid_get.sql) (in query: SELECT * FROM (SELECT toInt128(NULL) AS x UNION ALL SELECT materialize(toInt128(-2))) WHERE x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001b30d906 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/FilterStep.cpp:0: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001b54012e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeWhere(DB::QueryPlan&, std::shared_ptr const&, bool) @ 0x000000001954b365 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541558 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609baa in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019548700 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:27.134665 [ 1524 ] {1d70f516-fd83-485b-a289-5b227782554d} TCPHandler: Code: 59. DB::Exception: Illegal type Int128 of column materialize(toInt128(-2)) for filter. Must be UInt8 or Nullable(UInt8). (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001b30d906 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/FilterStep.cpp:0: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001b54012e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeWhere(DB::QueryPlan&, std::shared_ptr const&, bool) @ 0x000000001954b365 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541558 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609baa in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019548700 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:29.846090 [ 1524 ] {50835ce3-dbca-4e92-ae71-0aa01adb8af5} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'a' by first 1 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37186) (comment: 02783_max_bytes_to_read_in_schema_inference.sql) (in query: desc format('JSONEachRow', '{"a" : null}, {"a" : 42}') settings input_format_max_bytes_to_read_for_schema_inference=10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x00000000138d8fb1 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:33: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000001b04e87c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b0522d3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001778dff3 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:29.846804 [ 1524 ] {50835ce3-dbca-4e92-ae71-0aa01adb8af5} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'a' by first 1 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from JSONEachRow format file. You can specify the structure manually. (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x00000000138d8fb1 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:33: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000001b04e87c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b0522d3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001778dff3 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:30.716134 [ 1670 ] {90867986-7407-4934-8b18-2552468dd0d5} executeQuery: Code: 407. DB::Exception: Numeric overflow: while executing 'FUNCTION plus(toDateTime(toStartOfFifteenMinutes(plus(toDateTime(1000.0001220703125), multiply(number, 65536)))) :: 3, multiply(number, 9223372036854775807) :: 2) -> plus(toDateTime(toStartOfFifteenMinutes(plus(toDateTime(1000.0001220703125), multiply(number, 65536)))), multiply(number, 9223372036854775807)) DateTime : 4'. (DECIMAL_OVERFLOW) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37228) (comment: 02772_jit_date_time_add.sql) (in query: SELECT DISTINCT result FROM (SELECT toStartOfFifteenMinutes(toDateTime(toStartOfFifteenMinutes(toDateTime(1000.0001220703125) + (number * 65536))) + (number * 9223372036854775807)) AS result FROM system.numbers LIMIT 1048576) ORDER BY result DESC NULLS FIRST FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x0000000008e9c6ce in /usr/bin/clickhouse 4. void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x0000000008e9b798 in /usr/bin/clickhouse 5. DB::DateTimeAddIntervalImpl::execute(DB::AddSecondsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x0000000008e959f1 in /usr/bin/clickhouse 6. DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008e9441a in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 12. DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000da4f119 in /usr/bin/clickhouse 13. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000da4e081 in /usr/bin/clickhouse 14. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 30. ? @ 0x00007f5975bcaac3 in ? 31. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:30.717225 [ 1670 ] {90867986-7407-4934-8b18-2552468dd0d5} TCPHandler: Code: 407. DB::Exception: Numeric overflow: while executing 'FUNCTION plus(toDateTime(toStartOfFifteenMinutes(plus(toDateTime(1000.0001220703125), multiply(number, 65536)))) :: 3, multiply(number, 9223372036854775807) :: 2) -> plus(toDateTime(toStartOfFifteenMinutes(plus(toDateTime(1000.0001220703125), multiply(number, 65536)))), multiply(number, 9223372036854775807)) DateTime : 4'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>, DB::ColumnVector>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector const&, DateLUTImpl const&, unsigned short, unsigned long) const @ 0x0000000008e9c6ce in /usr/bin/clickhouse 4. void DB::Adder::vectorVector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::IColumn const&, DateLUTImpl const&, unsigned short) const @ 0x0000000008e9b798 in /usr/bin/clickhouse 5. DB::DateTimeAddIntervalImpl::execute(DB::AddSecondsImpl, std::vector> const&, std::shared_ptr const&, unsigned short) @ 0x0000000008e959f1 in /usr/bin/clickhouse 6. DB::FunctionDateOrDateTimeAddInterval::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008e9441a in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 12. DB::FunctionBinaryArithmetic::executeDateTimeIntervalPlusMinus(std::vector> const&, std::shared_ptr const&, unsigned long, std::shared_ptr const&) const @ 0x000000000da4f119 in /usr/bin/clickhouse 13. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000da4e081 in /usr/bin/clickhouse 14. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 27. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 30. ? @ 0x00007f5975bcaac3 in ? 31. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:30.937509 [ 1678 ] {5c8012d4-1638-4bd5-91ac-d46a67867724} executeQuery: Code: 42. DB::Exception: The signature of table function s3 shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55900) (comment: 02772_s3_crash.sql) (in query: SELECT * FROM s3(headers('random_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionS3.cpp:0: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000017758825 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000177590d1 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:30.938315 [ 1678 ] {5c8012d4-1638-4bd5-91ac-d46a67867724} TCPHandler: Code: 42. DB::Exception: The signature of table function s3 shall be the following: - url - url, format - url, format, structure - url, access_key_id, secret_access_key - url, format, structure, compression_method - url, access_key_id, secret_access_key, format - url, access_key_id, secret_access_key, format, structure - url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionS3.cpp:0: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000017758825 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000177590d1 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:31.060435 [ 1678 ] {d0d796a1-1740-4a70-bda1-ef3752b4e2c3} executeQuery: Code: 42. DB::Exception: The signature of table function s3Cluster shall be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55900) (comment: 02772_s3_crash.sql) (in query: SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', headers('random_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionS3.cpp:0: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000017758825 in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/ITableFunctionCluster.h:68: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000017767baa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000177590d1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000177675d3 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:31.061497 [ 1678 ] {d0d796a1-1740-4a70-bda1-ef3752b4e2c3} TCPHandler: Code: 42. DB::Exception: The signature of table function s3Cluster shall be the following: - cluster, url - cluster, url, format - cluster, url, format, structure - cluster, url, access_key_id, secret_access_key - cluster, url, format, structure, compression_method - cluster, url, access_key_id, secret_access_key, format - cluster, url, access_key_id, secret_access_key, format, structure - cluster, url, access_key_id, secret_access_key, format, structure, compression_method All signatures supports optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionS3.cpp:0: DB::TableFunctionS3::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000017758825 in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/ITableFunctionCluster.h:68: DB::ITableFunctionCluster::parseArgumentsImpl(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr const&) @ 0x0000000017767baa in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::TableFunctionS3::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000177590d1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ITableFunctionCluster::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x00000000177675d3 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:32.363116 [ 1677 ] {0f3d5fd1-152c-44ba-8c10-c0de9ccd0169} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 2.00 million, current rows: 2.00 million. (TOO_MANY_ROWS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37188) (comment: 02781_data_skipping_index_merge_tree_min_for_seek.sql) (in query: SELECT * FROM data WHERE v1 >= now() - INTERVAL 180 DAY FORMAT Null SETTINGS max_threads=1, max_final_threads=1, force_data_skipping_indices='v1_index', merge_tree_min_rows_for_seek=1, max_rows_to_read=1999999;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591e2b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:32.363765 [ 1677 ] {0f3d5fd1-152c-44ba-8c10-c0de9ccd0169} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 2.00 million, current rows: 2.00 million. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591e2b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:32.966074 [ 1670 ] {7bf5f2c4-c044-45e1-97b9-7663553cc119} executeQuery: Code: 344. DB::Exception: FINAL modifier is not supported with parallel replicas. (SUPPORT_IS_DISABLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56062) (comment: 02765_parallel_replicas_final_modifier.sql) (in query: SELECT * FROM parallel_replicas_final FINAL FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [55]) @ 0x0000000008bd5da6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:485: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195310ef in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:32.966861 [ 1670 ] {7bf5f2c4-c044-45e1-97b9-7663553cc119} TCPHandler: Code: 344. DB::Exception: FINAL modifier is not supported with parallel replicas. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [55]) @ 0x0000000008bd5da6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:485: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195310ef in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:33.237172 [ 1653 ] {f09f3112-224f-4923-90f6-3b82d753b16e} ConnectionPoolWithFailover: Connection failed at try â„–1, reason: Code: 210. DB::NetException: Connection refused (127.0.0.11:1234). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:33.238105 [ 1653 ] {f09f3112-224f-4923-90f6-3b82d753b16e} ConnectionPoolWithFailover: Connection failed at try â„–2, reason: Code: 210. DB::NetException: Connection refused (127.0.0.11:1234). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:33.239422 [ 1653 ] {f09f3112-224f-4923-90f6-3b82d753b16e} ConnectionPoolWithFailover: Connection failed at try â„–3, reason: Code: 210. DB::NetException: Connection refused (127.0.0.11:1234). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:33.947735 [ 2834 ] {10a94ce7-4f9d-4b12-b232-e037d9c5db73} executeQuery: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM url('http://localhost:8123/', LineAsString, headers('exact_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263847 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a469ecb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000017744cdc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000017742ff5 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:33.948378 [ 2834 ] {10a94ce7-4f9d-4b12-b232-e037d9c5db73} TCPHandler: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263847 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a469ecb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000017744cdc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000017742ff5 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.067684 [ 2834 ] {32f2837f-06ee-4307-a7dc-2641db57706b} executeQuery: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM url('http://localhost:8123/', LineAsString, headers('cAsE_INSENSITIVE_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263748 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a469ecb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000017744cdc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000017742ff5 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.068666 [ 2834 ] {32f2837f-06ee-4307-a7dc-2641db57706b} TCPHandler: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263748 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a469ecb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000017744cdc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000017742ff5 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.175346 [ 2834 ] {096059f4-5321-4bce-bafd-74335161ba5e} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM url('http://localhost:8123/', LineAsString, headers('bad_header_name: test\nexact_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a469ecb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000017744cdc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000017742ff5 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.176123 [ 2834 ] {096059f4-5321-4bce-bafd-74335161ba5e} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a469ecb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000017744cdc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000017742ff5 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.183938 [ 2834 ] {75d66f9b-95f4-40bc-bb15-cfc73b607dd9} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM url('http://localhost:8123/', LineAsString, headers('bad_header_value' = 'test\nexact_header: value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a469ecb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000017744cdc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000017742ff5 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.184513 [ 2834 ] {75d66f9b-95f4-40bc-bb15-cfc73b607dd9} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a469ecb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageID, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription, String, std::shared_ptr&, String const&, std::vector> const&, String const&, void>(std::allocator const&, String const&, DB::StorageID&&, String const&, std::nullopt_t const&, DB::ColumnsDescription const&, DB::ConstraintsDescription&&, String&&, std::shared_ptr&, String const&, std::vector> const&, String const&) @ 0x0000000017744cdc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURL::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x0000000017742ff5 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.215070 [ 2787 ] {4d836a4f-49fd-4eb3-b605-9f84f02a089b} ConnectionPoolWithFailover: Connection failed at try â„–1, reason: Code: 210. DB::NetException: Connection refused (127.0.0.11:1234). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:34.217958 [ 2787 ] {4d836a4f-49fd-4eb3-b605-9f84f02a089b} ConnectionPoolWithFailover: Connection failed at try â„–2, reason: Code: 210. DB::NetException: Connection refused (127.0.0.11:1234). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:34.219559 [ 2787 ] {4d836a4f-49fd-4eb3-b605-9f84f02a089b} ConnectionPoolWithFailover: Connection failed at try â„–3, reason: Code: 210. DB::NetException: Connection refused (127.0.0.11:1234). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:34.442496 [ 2834 ] {416f5929-5a8a-4d4c-a3dd-f57fba3fcf6a} executeQuery: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM urlCluster('test_cluster_two_shards_localhost', 'http://localhost:8123/', LineAsString, headers('exact_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263847 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:0: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000001a485e64 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x00000000177470cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x00000000177459a4 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.443219 [ 2834 ] {416f5929-5a8a-4d4c-a3dd-f57fba3fcf6a} TCPHandler: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263847 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:0: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000001a485e64 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x00000000177470cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x00000000177459a4 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.550107 [ 2834 ] {1dae6ea4-d524-4704-aa4a-53aff9b89e9c} executeQuery: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM urlCluster('test_cluster_two_shards_localhost', 'http://localhost:8123/', LineAsString, headers('cAsE_INSENSITIVE_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263748 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:0: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000001a485e64 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x00000000177470cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x00000000177459a4 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.671498 [ 2834 ] {1dae6ea4-d524-4704-aa4a-53aff9b89e9c} TCPHandler: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263748 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:0: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000001a485e64 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x00000000177470cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x00000000177459a4 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.671545 [ 1140 ] {8730dc1f-d5af-4ddd-9468-464263ff8b0c} executeQuery: Code: 36. DB::Exception: Invalid time zone: Ðбырвалг. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56156) (comment: 02737_timezone_setting.sql) (in query: SET session_timezone = 'Ðбырвалг';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/SettingsFields.cpp:505: DB::SettingFieldTimezone::validateTimezone(String const&) @ 0x0000000018341b97 in /usr/bin/clickhouse 4. ./build_docker/./src/Core/SettingsFields.h:0: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda1285'(DB::Field const&)::__invoke(DB::Field const&) @ 0x00000000182338e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Settings.h:1072: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x0000000017ed5639 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/SettingsConstraints.cpp:285: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000017ed3814 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000017ed3b83 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x00000000188ebb1a in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x000000001960d4c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.672269 [ 1140 ] {8730dc1f-d5af-4ddd-9468-464263ff8b0c} TCPHandler: Code: 36. DB::Exception: Invalid time zone: Ðбырвалг. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/SettingsFields.cpp:505: DB::SettingFieldTimezone::validateTimezone(String const&) @ 0x0000000018341b97 in /usr/bin/clickhouse 4. ./build_docker/./src/Core/SettingsFields.h:0: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda1285'(DB::Field const&)::__invoke(DB::Field const&) @ 0x00000000182338e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Settings.h:1072: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x0000000017ed5639 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/SettingsConstraints.cpp:285: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000017ed3814 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000017ed3b83 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x00000000188ebb1a in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x000000001960d4c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.797836 [ 2834 ] {c3a01786-5091-4d9c-a0f0-7a598e3df811} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM urlCluster('test_cluster_two_shards_localhost', 'http://localhost:8123/', LineAsString, headers('bad_header_name: test\nexact_header' = 'value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:0: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000001a485e64 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x00000000177470cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x00000000177459a4 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.798557 [ 2834 ] {c3a01786-5091-4d9c-a0f0-7a598e3df811} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:0: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000001a485e64 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x00000000177470cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x00000000177459a4 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.806162 [ 2834 ] {07064f77-fedd-4374-bcaa-6aefcaca0977} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM urlCluster('test_cluster_two_shards_localhost', 'http://localhost:8123/', LineAsString, headers('bad_header_value' = 'test\nexact_header: value'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:0: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000001a485e64 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x00000000177470cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x00000000177459a4 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:34.806719 [ 2834 ] {07064f77-fedd-4374-bcaa-6aefcaca0977} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURLCluster.cpp:0: DB::StorageURLCluster::StorageURLCluster(std::shared_ptr, String const&, String const&, String const&, String const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, DB::StorageURL::Configuration const&, bool) @ 0x000000001a485e64 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID, DB::ColumnsDescription, DB::ConstraintsDescription, DB::StorageURL::Configuration const&, bool, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, String const&, String const&, DB::StorageID&&, DB::ColumnsDescription&&, DB::ConstraintsDescription&&, DB::StorageURL::Configuration const&, bool&&) @ 0x00000000177470cf in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionURLCluster::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x00000000177459a4 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:35.395580 [ 3616 ] {228cfab6-41d2-4d23-bedd-fd2bbb6b223f} ExternalDictionariesLoader: Could not load external dictionary 'ecee06c2-95eb-4105-bc79-419d06e147d0', next update is scheduled at 2024-05-01 14:43:41: Code: 36. DB::Exception: ecee06c2-95eb-4105-bc79-419d06e147d0: max_load_factor parameter should be within [0.5, 0.99], got 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, float&) @ 0x00000000147e1751 in /usr/bin/clickhouse 3. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000001430d05c in /usr/bin/clickhouse 4. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000001430d641 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:35.397263 [ 2900 ] {228cfab6-41d2-4d23-bedd-fd2bbb6b223f} executeQuery: Code: 36. DB::Exception: ecee06c2-95eb-4105-bc79-419d06e147d0: max_load_factor parameter should be within [0.5, 0.99], got 1. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56144) (comment: 02740_hashed_dictionary_load_factor_smoke.sql) (in query: -- should because of MAX_LOAD_FACTOR is 1 (maximum allowed value is 0.99) SYSTEM RELOAD DICTIONARY test_dictionary_load_factor_string;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, float&) @ 0x00000000147e1751 in /usr/bin/clickhouse 3. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000001430d05c in /usr/bin/clickhouse 4. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000001430d641 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:35.398356 [ 2900 ] {228cfab6-41d2-4d23-bedd-fd2bbb6b223f} TCPHandler: Code: 36. DB::Exception: ecee06c2-95eb-4105-bc79-419d06e147d0: max_load_factor parameter should be within [0.5, 0.99], got 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, float&) @ 0x00000000147e1751 in /usr/bin/clickhouse 3. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000001430d05c in /usr/bin/clickhouse 4. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000001430d641 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:35.832742 [ 2834 ] {eeb2f466-e3b0-4b85-a16e-9aca69acbfa4} executeQuery: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3('http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263847 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001a3b9107 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000017762beb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001775b142 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:35.833458 [ 2834 ] {eeb2f466-e3b0-4b85-a16e-9aca69acbfa4} TCPHandler: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263847 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001a3b9107 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000017762beb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001775b142 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:36.009587 [ 2834 ] {bf209b45-6cab-48f5-93df-78556549fcd0} executeQuery: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3('http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263748 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001a3b9107 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000017762beb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001775b142 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:36.158729 [ 2834 ] {bf209b45-6cab-48f5-93df-78556549fcd0} TCPHandler: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263748 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001a3b9107 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000017762beb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001775b142 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:36.158813 [ 1143 ] {3b0c87ee-b0aa-4875-9e76-fbcfc5028c0c} executeQuery: Code: 36. DB::Exception: Unexpected type Array(Nothing) in function 'transform': While processing caseWithExpr(arrayReduce(NULL, []), []). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56256) (comment: 02732_transform_fuzz.sql) (in query: SELECT caseWithExpr(arrayReduce(NULL, []), []);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::checkAllowedTypeHelper(std::shared_ptr const&) @ 0x000000000e736be0 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6f192f in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. DB::(anonymous namespace)::FunctionCaseWithExpression::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000999ee33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:43:36.159670 [ 1143 ] {3b0c87ee-b0aa-4875-9e76-fbcfc5028c0c} TCPHandler: Code: 36. DB::Exception: Unexpected type Array(Nothing) in function 'transform': While processing caseWithExpr(arrayReduce(NULL, []), []). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::checkAllowedTypeHelper(std::shared_ptr const&) @ 0x000000000e736be0 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6f192f in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. DB::(anonymous namespace)::FunctionCaseWithExpression::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000999ee33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:43:36.466591 [ 2834 ] {f2b3a4cb-6e91-4927-be46-1f5a38664e6f} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3('http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001a3b9107 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000017762beb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001775b142 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:36.467593 [ 2834 ] {f2b3a4cb-6e91-4927-be46-1f5a38664e6f} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001a3b9107 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000017762beb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001775b142 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:36.544755 [ 2834 ] {81685cab-caf7-4ec9-97ae-abc3b2ff6b3c} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3('http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001a3b9107 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000017762beb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001775b142 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:36.545970 [ 2834 ] {81685cab-caf7-4ec9-97ae-abc3b2ff6b3c} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3::StorageS3(DB::StorageS3::Configuration const&, std::shared_ptr, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::optional, bool, std::shared_ptr) @ 0x000000001a3b9107 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, String, std::nullopt_t const&, void>(std::allocator const&, DB::StorageS3::Configuration&, std::shared_ptr&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, String&&, std::nullopt_t const&) @ 0x0000000017762beb in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001775b142 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:36.819672 [ 2834 ] {c7883fee-e0dd-4bcd-b72e-a3881b4a63c3} executeQuery: Code: 499. DB::Exception: Failed to get object info: No response body.. HTTP response code: 404. (S3_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3('http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::S3Exception::S3Exception(Aws::S3::S3Errors, fmt::v8::basic_format_string::type, fmt::v8::type_identity::type>, String const&, unsigned long&&) @ 0x0000000017bd8b61 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/S3/getObjectInfo.cpp:88: DB::S3::getObjectInfo(DB::S3::Client const&, String const&, String const&, String const&, DB::S3Settings::RequestSettings const&, bool, bool, bool) @ 0x0000000017bd81a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageS3.cpp:431: DB::StorageS3Source::KeysIterator::Impl::next() @ 0x000000001a3c77d8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageS3.cpp:474: DB::StorageS3Source::KeysIterator::next() @ 0x000000001a3b170b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageS3Source::createReader() @ 0x000000001a3b3879 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageS3.cpp:0: DB::StorageS3Source::StorageS3Source(DB::ReadFromFormatInfo const&, String const&, String, std::shared_ptr, std::optional, unsigned long, DB::S3Settings::RequestSettings const&, String, std::shared_ptr const&, String const&, String const&, String const&, std::shared_ptr, unsigned long, bool, std::optional) @ 0x000000001a3b306f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3Source* std::construct_at[abi:v15000]&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&, DB::StorageS3Source*>(DB::StorageS3Source*, DB::ReadFromFormatInfo&, String&, String&&, std::shared_ptr&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String&&, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&) @ 0x000000001a3de216 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a3bb6f7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:36.820527 [ 2834 ] {c7883fee-e0dd-4bcd-b72e-a3881b4a63c3} TCPHandler: Code: 499. DB::Exception: Failed to get object info: No response body.. HTTP response code: 404. (S3_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::S3Exception::S3Exception(Aws::S3::S3Errors, fmt::v8::basic_format_string::type, fmt::v8::type_identity::type>, String const&, unsigned long&&) @ 0x0000000017bd8b61 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/S3/getObjectInfo.cpp:88: DB::S3::getObjectInfo(DB::S3::Client const&, String const&, String const&, String const&, DB::S3Settings::RequestSettings const&, bool, bool, bool) @ 0x0000000017bd81a6 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageS3.cpp:431: DB::StorageS3Source::KeysIterator::Impl::next() @ 0x000000001a3c77d8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageS3.cpp:474: DB::StorageS3Source::KeysIterator::next() @ 0x000000001a3b170b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageS3Source::createReader() @ 0x000000001a3b3879 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageS3.cpp:0: DB::StorageS3Source::StorageS3Source(DB::ReadFromFormatInfo const&, String const&, String, std::shared_ptr, std::optional, unsigned long, DB::S3Settings::RequestSettings const&, String, std::shared_ptr const&, String const&, String const&, String const&, std::shared_ptr, unsigned long, bool, std::optional) @ 0x000000001a3b306f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3Source* std::construct_at[abi:v15000]&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&, DB::StorageS3Source*>(DB::StorageS3Source*, DB::ReadFromFormatInfo&, String&, String&&, std::shared_ptr&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String&&, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&) @ 0x000000001a3de216 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a3bb6f7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:36.962280 [ 2834 ] {b33a291d-abe9-4895-9f17-4f1b480be714} executeQuery: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', 'http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263847 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000001a3e1709 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x000000001776817f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017766956 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:36.963160 [ 2834 ] {b33a291d-abe9-4895-9f17-4f1b480be714} TCPHandler: Code: 36. DB::Exception: HTTP header "exact_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263847 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000001a3e1709 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x000000001776817f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017766956 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:37.084252 [ 2834 ] {0e9bd2ca-2047-4b7a-9bea-648e6f2077bf} executeQuery: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', 'http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263748 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000001a3e1709 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x000000001776817f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017766956 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:37.085170 [ 2834 ] {0e9bd2ca-2047-4b7a-9bea-648e6f2077bf} TCPHandler: Code: 36. DB::Exception: HTTP header "cAsE_INSENSITIVE_header" is forbidden in configuration file, see . (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:30: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x0000000014263748 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000001a3e1709 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x000000001776817f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017766956 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:37.208186 [ 2834 ] {71cd448f-00ce-4dfe-8a50-4ceccc08d3d4} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', 'http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000001a3e1709 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x000000001776817f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017766956 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:37.209162 [ 2834 ] {71cd448f-00ce-4dfe-8a50-4ceccc08d3d4} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_name: test exact_header" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000001a3e1709 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x000000001776817f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017766956 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:37.215904 [ 2834 ] {41c45894-db9e-4f72-91c0-1dcea3129fa4} executeQuery: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', 'http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000001a3e1709 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x000000001776817f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017766956 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:37.216735 [ 2834 ] {41c45894-db9e-4f72-91c0-1dcea3129fa4} TCPHandler: Code: 36. DB::Exception: HTTP header "bad_header_value" has invalid character. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/HTTPHeaderFilter.cpp:0: DB::HTTPHeaderFilter::checkHeaders(std::vector> const&) const @ 0x00000000142637d1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageS3Cluster::StorageS3Cluster(String const&, DB::StorageS3::Configuration const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::shared_ptr, bool) @ 0x000000001a3e1709 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageS3::Configuration&, DB::StorageID, DB::ColumnsDescription&, DB::ConstraintsDescription, std::shared_ptr&, bool&, void>(std::allocator const&, String const&, DB::StorageS3::Configuration&, DB::StorageID&&, DB::ColumnsDescription&, DB::ConstraintsDescription&&, std::shared_ptr&, bool&) @ 0x000000001776817f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: DB::TableFunctionS3Cluster::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017766956 in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:37.705656 [ 3058 ] {e9b76882-d537-4445-80ff-4afd8254ebbe} executeQuery: Code: 499. DB::Exception: Failed to get object info: No response body.. HTTP response code: 404. (S3_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56172) (comment: 02752_forbidden_headers.sql) (in query: SELECT line FROM s3Cluster('test_cluster_two_shards_localhost', 'http://localhost:8123/123/4', 'LineAsString', 'line String', headers('random_header' = 'value'))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::S3Exception::S3Exception(Aws::S3::S3Errors, fmt::v8::basic_format_string::type, fmt::v8::type_identity::type>, String const&, unsigned long&&) @ 0x0000000017bd8b61 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/S3/getObjectInfo.cpp:88: DB::S3::getObjectInfo(DB::S3::Client const&, String const&, String const&, String const&, DB::S3Settings::RequestSettings const&, bool, bool, bool) @ 0x0000000017bd81a6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::StorageS3Source::createReader() @ 0x000000001a3b3ae5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageS3.cpp:0: DB::StorageS3Source::StorageS3Source(DB::ReadFromFormatInfo const&, String const&, String, std::shared_ptr, std::optional, unsigned long, DB::S3Settings::RequestSettings const&, String, std::shared_ptr const&, String const&, String const&, String const&, std::shared_ptr, unsigned long, bool, std::optional) @ 0x000000001a3b306f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3Source* std::construct_at[abi:v15000]&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&, DB::StorageS3Source*>(DB::StorageS3Source*, DB::ReadFromFormatInfo&, String&, String&&, std::shared_ptr&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String&&, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&) @ 0x000000001a3de216 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a3bb6f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:37.799045 [ 3058 ] {e9b76882-d537-4445-80ff-4afd8254ebbe} TCPHandler: Code: 499. DB::Exception: Failed to get object info: No response body.. HTTP response code: 404. (S3_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::S3Exception::S3Exception(Aws::S3::S3Errors, fmt::v8::basic_format_string::type, fmt::v8::type_identity::type>, String const&, unsigned long&&) @ 0x0000000017bd8b61 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/S3/getObjectInfo.cpp:88: DB::S3::getObjectInfo(DB::S3::Client const&, String const&, String const&, String const&, DB::S3Settings::RequestSettings const&, bool, bool, bool) @ 0x0000000017bd81a6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::StorageS3Source::createReader() @ 0x000000001a3b3ae5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageS3.cpp:0: DB::StorageS3Source::StorageS3Source(DB::ReadFromFormatInfo const&, String const&, String, std::shared_ptr, std::optional, unsigned long, DB::S3Settings::RequestSettings const&, String, std::shared_ptr const&, String const&, String const&, String const&, std::shared_ptr, unsigned long, bool, std::optional) @ 0x000000001a3b306f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3Source* std::construct_at[abi:v15000]&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&, DB::StorageS3Source*>(DB::StorageS3Source*, DB::ReadFromFormatInfo&, String&, String&&, std::shared_ptr&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String&&, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&) @ 0x000000001a3de216 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a3bb6f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:37.799076 [ 1140 ] {698a5497-df00-4bb7-b362-d650a565794d} BackupsWorker: Failed to start backup Disk('backups', 'test_s3_backup'): Code: 36. DB::Exception: Disk ''backups'' is not allowed for backups, see the 'backups.allowed_disk' configuration parameter. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEnginesFileAndDisk.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000001805a444 in /usr/bin/clickhouse 4. ./build_docker/./src/Backups/BackupFactory.cpp:0: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x0000000017fbc50d in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000017f57842 in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000017f53a65 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000017f532ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x00000000194fd9c5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:37.800201 [ 1140 ] {698a5497-df00-4bb7-b362-d650a565794d} executeQuery: Code: 36. DB::Exception: Disk ''backups'' is not allowed for backups, see the 'backups.allowed_disk' configuration parameter. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56388) (comment: 02731_zero_objects_in_metadata.sh) (in query: BACKUP TABLE test TO Disk('backups', 'test_s3_backup');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEnginesFileAndDisk.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000001805a444 in /usr/bin/clickhouse 4. ./build_docker/./src/Backups/BackupFactory.cpp:0: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x0000000017fbc50d in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000017f57842 in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000017f53a65 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000017f532ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x00000000194fd9c5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:37.801552 [ 1140 ] {698a5497-df00-4bb7-b362-d650a565794d} TCPHandler: Code: 36. DB::Exception: Disk ''backups'' is not allowed for backups, see the 'backups.allowed_disk' configuration parameter. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEnginesFileAndDisk.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000001805a444 in /usr/bin/clickhouse 4. ./build_docker/./src/Backups/BackupFactory.cpp:0: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x0000000017fbc50d in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000017f57842 in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000017f53a65 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000017f532ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x00000000194fd9c5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:37.953996 [ 2834 ] {1f0f1ee6-f283-4523-bc86-d5ceca17c4ae} executeQuery: Code: 499. DB::Exception: Received from localhost:9000. DB::Exception: Failed to get object info: No response body.. HTTP response code: 404. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::S3Exception::S3Exception(Aws::S3::S3Errors, fmt::v8::basic_format_string::type, fmt::v8::type_identity::type>, String const&, unsigned long&&) @ 0x0000000017bd8b61 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/S3/getObjectInfo.cpp:88: DB::S3::getObjectInfo(DB::S3::Client const&, String const&, String const&, String const&, DB::S3Settings::RequestSettings const&, bool, bool, bool) @ 0x0000000017bd81a6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::StorageS3Source::createReader() @ 0x000000001a3b3ae5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageS3.cpp:0: DB::StorageS3Source::StorageS3Source(DB::ReadFromFormatInfo const&, String const&, String, std::shared_ptr, std::optional, unsigned long, DB::S3Settings::RequestSettings const&, String, std::shared_ptr const&, String const&, String const&, String const&, std::shared_ptr, unsigned long, bool, std::optional) @ 0x000000001a3b306f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3Source* std::construct_at[abi:v15000]&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&, DB::StorageS3Source*>(DB::StorageS3Source*, DB::ReadFromFormatInfo&, String&, String&&, std::shared_ptr&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String&&, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&) @ 0x000000001a3de216 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a3bb6f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? : While executing Remote. (S3_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56132) (comment: 02752_forbidden_headers.sql) (in query: SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', 'http://localhost:8123/123/4', LineAsString, '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/Client/MultiplexedConnections.cpp:0: DB::MultiplexedConnections::receivePacketUnlocked(std::function) @ 0x000000001ae15e4b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::MultiplexedConnections::receivePacket() @ 0x000000001ae15a50 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::read() @ 0x00000000183ee8bd in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:127: DB::RemoteQueryExecutor::readBlock() @ 0x00000000183ee5b3 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x000000001b4187ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:38.009428 [ 2834 ] {1f0f1ee6-f283-4523-bc86-d5ceca17c4ae} TCPHandler: Code: 499. DB::Exception: Received from localhost:9000. DB::Exception: Failed to get object info: No response body.. HTTP response code: 404. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::S3Exception::S3Exception(Aws::S3::S3Errors, fmt::v8::basic_format_string::type, fmt::v8::type_identity::type>, String const&, unsigned long&&) @ 0x0000000017bd8b61 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/S3/getObjectInfo.cpp:88: DB::S3::getObjectInfo(DB::S3::Client const&, String const&, String const&, String const&, DB::S3Settings::RequestSettings const&, bool, bool, bool) @ 0x0000000017bd81a6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::StorageS3Source::createReader() @ 0x000000001a3b3ae5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageS3.cpp:0: DB::StorageS3Source::StorageS3Source(DB::ReadFromFormatInfo const&, String const&, String, std::shared_ptr, std::optional, unsigned long, DB::S3Settings::RequestSettings const&, String, std::shared_ptr const&, String const&, String const&, String const&, std::shared_ptr, unsigned long, bool, std::optional) @ 0x000000001a3b306f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::StorageS3Source* std::construct_at[abi:v15000]&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&, DB::StorageS3Source*>(DB::StorageS3Source*, DB::ReadFromFormatInfo&, String&, String&&, std::shared_ptr&, std::optional&, unsigned long&, DB::S3Settings::RequestSettings&, String&, std::shared_ptr&, String&, String&, String&&, std::shared_ptr&, unsigned long const&, bool&, DB::SelectQueryInfo&) @ 0x000000001a3de216 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:298: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a3bb6f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? : While executing Remote. (S3_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/Client/MultiplexedConnections.cpp:0: DB::MultiplexedConnections::receivePacketUnlocked(std::function) @ 0x000000001ae15e4b in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::MultiplexedConnections::receivePacket() @ 0x000000001ae15a50 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::read() @ 0x00000000183ee8bd in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:127: DB::RemoteQueryExecutor::readBlock() @ 0x00000000183ee5b3 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Sources/RemoteSource.cpp:0: DB::RemoteSource::tryGenerate() @ 0x000000001b4187ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:39.021194 [ 1143 ] {6a957274-60ac-4803-83eb-3c7a4579e6f7} BackupsWorker: Failed to start backup Disk('backups', 'test_s3_backup'): Code: 36. DB::Exception: Disk ''backups'' is not allowed for backups, see the 'backups.allowed_disk' configuration parameter. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEnginesFileAndDisk.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000001805a444 in /usr/bin/clickhouse 4. ./build_docker/./src/Backups/BackupFactory.cpp:0: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x0000000017fbc50d in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000017f57842 in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000017f53a65 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000017f532ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x00000000194fd9c5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:39.021822 [ 1143 ] {6a957274-60ac-4803-83eb-3c7a4579e6f7} executeQuery: Code: 36. DB::Exception: Disk ''backups'' is not allowed for backups, see the 'backups.allowed_disk' configuration parameter. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56516) (comment: 02731_zero_objects_in_metadata.sh) (in query: BACKUP TABLE test TO Disk('backups', 'test_s3_backup');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEnginesFileAndDisk.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000001805a444 in /usr/bin/clickhouse 4. ./build_docker/./src/Backups/BackupFactory.cpp:0: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x0000000017fbc50d in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000017f57842 in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000017f53a65 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000017f532ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x00000000194fd9c5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:39.022727 [ 1143 ] {6a957274-60ac-4803-83eb-3c7a4579e6f7} TCPHandler: Code: 36. DB::Exception: Disk ''backups'' is not allowed for backups, see the 'backups.allowed_disk' configuration parameter. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Backups/registerBackupEnginesFileAndDisk.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::BackupFactory::CreateParams const&)>::__call_impl (DB::BackupFactory::CreateParams const&)>>(std::__function::__policy_storage const*, DB::BackupFactory::CreateParams const&) @ 0x000000001805a444 in /usr/bin/clickhouse 4. ./build_docker/./src/Backups/BackupFactory.cpp:0: DB::BackupFactory::createBackup(DB::BackupFactory::CreateParams const&) const @ 0x0000000017fbc50d in /usr/bin/clickhouse 5. ./build_docker/./src/Backups/BackupsWorker.cpp:392: DB::BackupsWorker::doBackup(std::shared_ptr const&, String const&, String const&, DB::BackupInfo const&, DB::BackupSettings, std::shared_ptr, std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000017f57842 in /usr/bin/clickhouse 6. ./build_docker/./src/Backups/BackupsWorker.cpp:0: DB::BackupsWorker::startMakingBackup(std::shared_ptr const&, std::shared_ptr const&) @ 0x0000000017f53a65 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackupsWorker::start(std::shared_ptr const&, std::shared_ptr) @ 0x0000000017f532ba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterBackupQuery.cpp:0: DB::InterpreterBackupQuery::execute() @ 0x00000000194fd9c5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:39.440444 [ 3035 ] {1e010cb3-4008-4129-9fc7-89fa282a3daa} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56538) (comment: 02710_allow_suspicious_indices.sql) (in query: CREATE TABLE tbl (`id` UInt32) ENGINE = MergeTree ORDER BY (id + 1, id + 1) SETTINGS index_granularity = 2588, min_bytes_for_wide_part = 179107701, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 17734, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 9756107789, index_granularity_bytes = 22224511, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 36115, primary_key_compress_block_size = 76031), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000001a8d8946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000001a8255d3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a82365c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:39.441186 [ 3035 ] {1e010cb3-4008-4129-9fc7-89fa282a3daa} TCPHandler: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000001a8d8946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000001a8255d3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a82365c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:39.664553 [ 3035 ] {03f652a4-11c4-4ff6-96ef-7acdf55b2dbb} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56538) (comment: 02710_allow_suspicious_indices.sql) (in query: CREATE TABLE tbl (`id` UInt32, INDEX idx (id + 1, id + 1) TYPE minmax GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 2588, min_bytes_for_wide_part = 179107701, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 17734, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 9756107789, index_granularity_bytes = 22224511, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 36115, primary_key_compress_block_size = 76031), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000001a8d8946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000001a8255d3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:583: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a824685 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:39.665604 [ 3035 ] {03f652a4-11c4-4ff6-96ef-7acdf55b2dbb} TCPHandler: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000001a8d8946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000001a8255d3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:583: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a824685 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:39.844964 [ 3035 ] {dbaf5fe6-cf41-445c-89fe-7c8dd96e9a22} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56538) (comment: 02710_allow_suspicious_indices.sql) (in query: ALTER TABLE tbl ADD COLUMN `id2` UInt32, MODIFY ORDER BY (id1, id2, id2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000001a8d8946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000001a8255d3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a82365c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:39.845850 [ 3035 ] {dbaf5fe6-cf41-445c-89fe-7c8dd96e9a22} TCPHandler: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000001a8d8946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000001a8255d3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a82365c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:39.856712 [ 3035 ] {a73ff614-80c7-47a2-b504-f825385d047c} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56538) (comment: 02710_allow_suspicious_indices.sql) (in query: ALTER TABLE tbl ADD COLUMN `id2` UInt32, MODIFY ORDER BY (id1, id2, id1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000001a8d8946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000001a8255d3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a82365c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:39.857528 [ 3035 ] {a73ff614-80c7-47a2-b504-f825385d047c} TCPHandler: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000001a8d8946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000001a8255d3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a82365c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:40.041005 [ 3035 ] {096ab33d-e45d-4b2c-993d-f61d2ab01a7b} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56538) (comment: 02710_allow_suspicious_indices.sql) (in query: ALTER TABLE tbl ADD INDEX idx (id+1, id, id+1) TYPE minmax;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000001a8d8946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000001a8255d3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:583: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a824685 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:40.041899 [ 3035 ] {096ab33d-e45d-4b2c-993d-f61d2ab01a7b} TCPHandler: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000001a8d8946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000001a8255d3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:583: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a824685 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:40.559563 [ 2837 ] {58022b06-ad3b-4d88-b7c1-95ad1850a1b8} executeQuery: Code: 36. DB::Exception: Primary key cannot be updated (cannot update column key). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56592) (comment: 02707_keeper_map_delete_update_strict.sql) (in query: ALTER TABLE 02707_keepermap_delete_update UPDATE key = key * 10 WHERE 1 = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageKeeperMap.cpp:930: DB::StorageKeeperMap::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001a1c4d1c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:40.560777 [ 2837 ] {58022b06-ad3b-4d88-b7c1-95ad1850a1b8} TCPHandler: Code: 36. DB::Exception: Primary key cannot be updated (cannot update column key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageKeeperMap.cpp:930: DB::StorageKeeperMap::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001a1c4d1c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:40.841537 [ 3058 ] {f36c8c83-3f33-43f9-ad63-784cd2b7bd36} executeQuery: Code: 43. DB::Exception: First argument for this overload of arrayMap must be a function with 1 arguments, found Function((?, ?, ?) -> ?) instead: While processing arrayMap((x, y, z) -> (y, x, z), [(1, 2)] AS arr1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56614) (comment: 02706_array_map_tuples.sql) (in query: WITH [(1, 2)] AS arr1 SELECT arrayMap((x, y, z) -> (y, x, z), arr1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x0000000008270caf in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8f6b2e in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x0000000007c81e3a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000017a5ba54 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa5099 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 14:43:40.842601 [ 3058 ] {f36c8c83-3f33-43f9-ad63-784cd2b7bd36} TCPHandler: Code: 43. DB::Exception: First argument for this overload of arrayMap must be a function with 1 arguments, found Function((?, ?, ?) -> ?) instead: While processing arrayMap((x, y, z) -> (y, x, z), [(1, 2)] AS arr1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x0000000008270caf in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8f6b2e in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x0000000007c81e3a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000017a5ba54 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa5099 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 14:43:40.851094 [ 3058 ] {45226ea4-ba24-4b1d-8d6e-2a6ec8eab4a2} executeQuery: Code: 43. DB::Exception: First argument for this overload of arrayMap must be a function with 1 arguments, found Function((?, ?) -> ?) instead: While processing arrayMap((x, y) -> (y, x), [1, 2] AS arr1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56614) (comment: 02706_array_map_tuples.sql) (in query: WITH [1, 2] AS arr1 SELECT arrayMap((x, y) -> (y, x), arr1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x0000000008270caf in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8f6b2e in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x0000000007c81e3a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000017a5ba54 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa5099 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 14:43:40.851837 [ 3058 ] {45226ea4-ba24-4b1d-8d6e-2a6ec8eab4a2} TCPHandler: Code: 43. DB::Exception: First argument for this overload of arrayMap must be a function with 1 arguments, found Function((?, ?) -> ?) instead: While processing arrayMap((x, y) -> (y, x), [1, 2] AS arr1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&) @ 0x0000000008270caf in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8f6b2e in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x0000000007c81e3a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000017a5ba54 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa5099 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 14:43:41.063513 [ 1524 ] {5b1b89ca-c72a-4c14-8ea0-ee1d11673a83} executeQuery: Code: 999. Coordination::Exception: Transaction failed: Op #0, path: /test_keeper_map/test_e4k4eygx/test_02706_keeper_map_insert_strict/data/AQAAAAAAAAA=. (KEEPER_EXCEPTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54296) (comment: 02706_keeper_map_insert_strict.sql) (in query: INSERT INTO 02706_keeper_map_insert_strict VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:484: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, unsigned long, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001b894cd3 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:1276: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001b89521f in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:1291: zkutil::KeeperMultiException::check(Coordination::Error, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001b888c3d in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:627: zkutil::ZooKeeper::multi(std::vector, std::allocator>> const&) @ 0x000000001b888ba6 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageKeeperMap.cpp:0: void DB::StorageKeeperMapSink::finalize(bool) @ 0x000000001a1cecaf in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageKeeperMap.cpp:145: DB::StorageKeeperMapSink::onFinish() @ 0x000000001a1cd262 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b306e11 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305f14 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:41.064069 [ 1524 ] {5b1b89ca-c72a-4c14-8ea0-ee1d11673a83} TCPHandler: Code: 999. Coordination::Exception: Transaction failed: Op #0, path: /test_keeper_map/test_e4k4eygx/test_02706_keeper_map_insert_strict/data/AQAAAAAAAAA=. (KEEPER_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Common/ZooKeeper/IKeeper.h:484: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, unsigned long, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001b894cd3 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:1276: zkutil::KeeperMultiException::KeeperMultiException(Coordination::Error, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001b89521f in /usr/bin/clickhouse 5. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:1291: zkutil::KeeperMultiException::check(Coordination::Error, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x000000001b888c3d in /usr/bin/clickhouse 6. ./build_docker/./src/Common/ZooKeeper/ZooKeeper.cpp:627: zkutil::ZooKeeper::multi(std::vector, std::allocator>> const&) @ 0x000000001b888ba6 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageKeeperMap.cpp:0: void DB::StorageKeeperMapSink::finalize(bool) @ 0x000000001a1cecaf in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageKeeperMap.cpp:145: DB::StorageKeeperMapSink::onFinish() @ 0x000000001a1cd262 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b306e11 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305f14 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:41.340637 [ 2837 ] {a5105575-435a-423a-8e50-d28df7859782} executeQuery: Code: 48. DB::Exception: EXPLAIN QUERY TREE is only supported with a new analyzer. Set allow_experimental_analyzer = 1. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54332) (comment: 02703_explain_query_tree_is_forbidden_with_old_analyzer.sql) (in query: EXPLAIN QUERY TREE run_passes = true, dump_passes = true SELECT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [95]) @ 0x0000000013b04686 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001939a5cf in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x0000000019394eff in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:41.341305 [ 2837 ] {a5105575-435a-423a-8e50-d28df7859782} TCPHandler: Code: 48. DB::Exception: EXPLAIN QUERY TREE is only supported with a new analyzer. Set allow_experimental_analyzer = 1. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [95]) @ 0x0000000013b04686 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::executeImpl() @ 0x000000001939a5cf in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterExplainQuery.cpp:0: DB::InterpreterExplainQuery::execute() @ 0x0000000019394eff in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:41.714695 [ 792 ] {} test_o4lwlbq2.t (a2ac9ee7-7a3f-4b3c-9f35-4f4ee8e1bbb9): Cannot quickly remove directory /var/lib/clickhouse/store/a2a/a2ac9ee7-7a3f-4b3c-9f35-4f4ee8e1bbb9/delete_tmp_all_1_1_1 by removing files; fallback to recursive removal. Reason: Code: 458. DB::ErrnoException: Cannot unlink file /var/lib/clickhouse/store/a2a/a2ac9ee7-7a3f-4b3c-9f35-4f4ee8e1bbb9/delete_tmp_all_1_1_1/skp_idx_inv_idx.gin_dict, errno: 2, strerror: No such file or directory. (CANNOT_UNLINK) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:42.292041 [ 3058 ] {faa9fb82-ac66-427e-b6e3-6cd6f0a60564} executeQuery: Code: 131. DB::Exception: Too large string size: 18446744073709551615. The maximum is: 17179869184.: While executing Native. (TOO_LARGE_STRING_SIZE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54376) (comment: 02683_native_too_large_size.sql) (in query: SELECT * FROM format('Native', 'WatchID Int64, JavaEnable Int16, Title String, GoodEvent Int16, EventTime DateTime, EventDate Date, CounterID Int32, ClientIP Int32, RegionID Int32, UserID Int64, CounterClass Int16, OS Int16, UserAgent Int16, URL String, Referer String, IsRefresh Int16, RefererCategoryID Int16, RefererRegionID Int32, URLCategoryID Int16, URLRegionID Int32, ResolutionWidth Int16, ResolutionHeight Int16, ResolutionDepth Int16, FlashMajor Int16, FlashMinor Int16, FlashMinor2 String, NetMajor Int16, NetMinor Int16, UserAgentMajor Int16, UserAgentMinor String, CookieEnable Int16, JavascriptEnable Int16, IsMobile Int16, MobilePhone Int16, MobilePhoneModel String, Params String, IPNetworkID Int32, TraficSourceID Int16, SearchEngineID Int16, SearchPhrase String, AdvEngineID Int32, IsArtifical Int16, WindowClientWidth Int16, WindowClientHeight Int16, ClientTimeZone Int16, ClientEventTime DateTime, SilverlightVersion1 Int16, SilverlightVersion2 Int16, SilverlightVersion3 Int32, SilverlightVersion4 Int16, PageCharset String, CodeVersion Int32, IsLink Int16, IsDownload Int16, IsNotBounce Int16, FUniqID Int64, OriginalURL String, HID Int32, IsOldCounter Int16, IsEvent Int16, IsParameter Int16, DontCountHits Int16, WithHash Int16, HitColor String, LocalEventTime DateTime, Age Int16, Sex Int16, Income Int16, Interests Int16, Robotness Int16, RemoteIP Int32, VindowName Int32, OpenerName Int32, HistoryLength Int16, BrowserLanguage String, BrowserCountry String, SocialNetwork String, SocialAction String, HTTPError Int16, SendTiming Int32, DNSTiming Int32, ConnectTiming Int32, ResponseStartTiming Int32, ResponseEndTiming Int32, FetchTiming Int32, SocialSourceNetworkID Int16, SocialSourcePage String, ParamPrice Int64, ParamOrderID String, ParamCurrency String, ParamCurrencyID Int16, OpenstatServiceName String, OpenstatCampaignID String, OpenstatAdID String, OpenstatSourceID String, UTMSource String, UTMMedium String, UTMCampaign String, UTMContent String, UTMTerm String, FromTag String, HasGCLID Int16, RefererHash Int64, URLHash Int64, CLID Int32', $$i WatchIDInt64c*5/ !p~ úFÚÓ“2ql!è–|¨@H²Ç=ÐŒWéòˆE&Ly¹ãk=÷±pæ1þž oíC»-ÞC_ìÒŒ\Û/E‚ÜJÛ{ JavaEnableInt16TitleString GoodEventInt16 EventTimeDateTime7ðâQn$äQÃ)äQ8*äQJîâQÉ ãQµ0äQ83äQ× äQÖ1ãQ EventDateDate>>>>>>>>>> CounterIDInt32ClientIPInt32®Æz·®Æz·®Æz·®Æz·º‹I`®Æz·É^{]É^{]gU®Æz·RegionIDInt32GGGG'GÅÅåGUserIDInt64× ’•:6×Ý× ’•:6×Ý× ’•:6×Ý× ’•:6×Ýq—íJd8 ÎKs}¡ï&n%Št"6&n%Št"6ƒs—yyçóf× ’•:6×Ý CounterClassInt16OSInt16'', UserAgentInt16URLString-http://holodilInt16WindowClientWidthInt16WindowClientHeightInt16ClientTimeZoneInt16ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿClientEventTimeDateTimeîáîáîáîáîáîáîáîáîáîáSilverlightVersion1Int16SilverlightVersion2Int16SilverlightVersion3Int32SilverlightVersion4Int16 PageCharsetString CodeVersionInt32IsLinkInt16 IsDownloadInt16 IsNotBounceInt16FUniqIDInt64%œlû©+k:¤ìWëÂm OriginalURLStringHIDInt32 IsOldCounterInt16IsEventInt16 IsParameterInt16 DontCountHitsInt16WithHashInt16HitColorString5555555555LocalEventTimeDateTime&·ãQǘãQ}žãQÝžãQ'¡ãQA¶ãQ¼£ãQ ¦ãQY’ãQ‹ÏãQAgeInt16SexInt16IncomeInt16 InterestsInt16¦: RobotnessInt16RemoteIPInt32^DIÄ^DIÄ^DIÄ^DIÄ9ê3N^DIÄ…U…U€=k^DIÄ WindowNameInt32ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ OpenerNameInt32ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ HistoryLengthInt16ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿBrowserLanguageString����������BrowserCountryString� � � � � � � � � � SocialNetworkString SocialActionString HTTPErrorInt16 SendTimingInt32 DNSTimingInt32 ConnectTimingInt32ResponseStartTimingInt32ResponseEndTimingInt32 FetchTimingInt32SocialSourceNetworkIDInt16SocialSourcePageString ParamPriceInt64 ParamOrderIDString ParamCurrencyStringNHNHNHNHNHNHNHNHNHNHParamCurrencyIDInt16OpenstatServiceNameStringOpenstatCampaignIDString OpenstatAdIDStringOpenstatSourceIDString UTMSourceString UTMMediumString UTMCampaignString UTMContentStringUTMTermStringFromTagStringHasGCLIDInt16 RefererHashInt64X+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûX+‚Œ'ÕãûURLHashInt64Í|3úÐb.‹Í|3úÐb.‹Í|3úÐb.‹Í|3úÐb.‹Ž oâïòeý€ à#â\X-h³ýX vÀvÍÀ‰Çh˜´9›DÍ|3úÐb.‹CLIDInt32$$);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x0000000008ef04e6 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:165: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x00000000185ffcdd in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x00000000185fd277 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001af44bda in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::NativeReader::read() @ 0x000000001af46229 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/NativeFormat.cpp:43: DB::NativeInputFormat::generate() @ 0x000000001b1579b9 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x000000001778e77b in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001778f0dc in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:43:42.293522 [ 3058 ] {faa9fb82-ac66-427e-b6e3-6cd6f0a60564} TCPHandler: Code: 131. DB::Exception: Too large string size: 18446744073709551615. The maximum is: 17179869184.: While executing Native. (TOO_LARGE_STRING_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long const&) @ 0x0000000008ef04e6 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:165: void DB::deserializeBinarySSE2<1>(DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::ReadBuffer&, unsigned long) @ 0x00000000185ffcdd in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/Serializations/SerializationString.cpp:0: DB::SerializationString::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x00000000185fd277 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001af44bda in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::NativeReader::read() @ 0x000000001af46229 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/NativeFormat.cpp:43: DB::NativeInputFormat::generate() @ 0x000000001b1579b9 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x000000001778e77b in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001778f0dc in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:43:42.929365 [ 1524 ] {025f8008-7220-4cf3-99f3-578662f92caf} executeQuery: Code: 128. DB::Exception: Too large array size (maximum: 1073741824): While executing BinaryRowInputFormat. (TOO_LARGE_ARRAY_SIZE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54402) (comment: 02682_quantiles_too_large_size.sql) (in query: -- This query throw high-level exception instead of low-level "too large size passed to allocator": SELECT * FROM format(RowBinary, 'ik2 String, Sum AggregateFunction(sum, UInt16), A$g AggregateFunction(quantiles(0.4, 0.9), UInt64), GroupArray AggregateFunction(groupArray, String)', '295TMi44400000005942762421546108502 ö z *  ParalcelParsingInputFormat   te Date, I ! STRING  d Tuple(UInt8) vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvTabSeparatedWithNamesAndTypes d Date, a S)ring, x UInt32, y UInt64, z Float32 29TabSeparatevvvvvvvdRawWithNames a UInt32 26TabSeparatedR,éb UInt32 26TabSeparatedRawWithNthNames vvvvv 1 key U7878 ');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000829c1ad in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/ReservoirSampler.h:216: ReservoirSampler>::read(DB::ReadBuffer&) @ 0x00000000107d37c9 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionQuantile.h:193: DB::AggregateFunctionQuantile, DB::NameQuantiles, false, double, true>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000010879141 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:433: DB::SerializationAggregateFunction::deserializeBinary(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001857a747 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/BinaryRowInputFormat.cpp:78: DB::BinaryFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001b06d113 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b073919 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x000000001778e77b in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001778f0dc in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:43:43.060463 [ 1524 ] {025f8008-7220-4cf3-99f3-578662f92caf} TCPHandler: Code: 128. DB::Exception: Too large array size (maximum: 1073741824): While executing BinaryRowInputFormat. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long const&) @ 0x000000000829c1ad in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/ReservoirSampler.h:216: ReservoirSampler>::read(DB::ReadBuffer&) @ 0x00000000107d37c9 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionQuantile.h:193: DB::AggregateFunctionQuantile, DB::NameQuantiles, false, double, true>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x0000000010879141 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:433: DB::SerializationAggregateFunction::deserializeBinary(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001857a747 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/BinaryRowInputFormat.cpp:78: DB::BinaryFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001b06d113 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b073919 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::parseData(DB::ColumnsDescription, std::shared_ptr) const @ 0x000000001778e77b in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/TableFunctionFormat.cpp:0: DB::TableFunctionFormat::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001778f0dc in /usr/bin/clickhouse 18. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:43:43.060509 [ 3110 ] {8183dcab-2bd3-471a-8039-f588c99be6fc} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 128. DB::Exception: Too large array element size 18446744073709551615 (maximum: 16777215). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x0000000008ef02c6 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:365: DB::GroupArrayNodeBase::read(DB::ReadBuffer&, DB::Arena*) @ 0x00000000106a4037 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:650: DB::GroupArrayGeneralImpl>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000106d35a6 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:433: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x000000001857b731 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::SerializationAggregateFunction::deserializeTextCSV(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001857bf0e in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/SerializationNullable.cpp:526: bool DB::SerializationNullable::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x00000000185c08a0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/CSVRowInputFormat.cpp:0: DB::CSVFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001b0a8ef8 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b07366f in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:43.063379 [ 3058 ] {8183dcab-2bd3-471a-8039-f588c99be6fc} executeQuery: Code: 128. DB::Exception: Too large array element size 18446744073709551615 (maximum: 16777215): While executing ParallelParsingBlockInputFormat. (TOO_LARGE_ARRAY_SIZE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54444) (comment: 02681_group_array_too_large_size.sql) (in query: -- This query throw high-level exception instead of low-level "too large size passed to allocator": SELECT * FROM format(CSV, 'entitypArray AggregateFunction(groupArray, String)', '295TMiews.viewNÿÿÿÿÿ""""""TabSeparÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿated d St"" r');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x0000000008ef02c6 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:365: DB::GroupArrayNodeBase::read(DB::ReadBuffer&, DB::Arena*) @ 0x00000000106a4037 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:650: DB::GroupArrayGeneralImpl>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000106d35a6 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:433: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x000000001857b731 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::SerializationAggregateFunction::deserializeTextCSV(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001857bf0e in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/SerializationNullable.cpp:526: bool DB::SerializationNullable::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x00000000185c08a0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/CSVRowInputFormat.cpp:0: DB::CSVFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001b0a8ef8 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b07366f in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:43.064165 [ 3058 ] {8183dcab-2bd3-471a-8039-f588c99be6fc} TCPHandler: Code: 128. DB::Exception: Too large array element size 18446744073709551615 (maximum: 16777215): While executing ParallelParsingBlockInputFormat. (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x0000000008ef02c6 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:365: DB::GroupArrayNodeBase::read(DB::ReadBuffer&, DB::Arena*) @ 0x00000000106a4037 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:650: DB::GroupArrayGeneralImpl>::deserialize(char*, DB::ReadBuffer&, std::optional, DB::Arena*) const @ 0x00000000106d35a6 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:433: DB::deserializeFromString(std::shared_ptr const&, DB::IColumn&, String const&, unsigned long) @ 0x000000001857b731 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::SerializationAggregateFunction::deserializeTextCSV(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x000000001857bf0e in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/Serializations/SerializationNullable.cpp:526: bool DB::SerializationNullable::deserializeTextCSVImpl(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, std::shared_ptr const&) @ 0x00000000185c08a0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/CSVRowInputFormat.cpp:0: DB::CSVFormatReader::readField(DB::IColumn&, std::shared_ptr const&, std::shared_ptr const&, bool, String const&) @ 0x000000001b0a8ef8 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:236: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b07366f in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 17. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:46.155255 [ 3058 ] {bad5eb9a-ef22-488b-b3c5-6347c3c951cf} executeQuery: Code: 80. DB::Exception: Secondary index 't_constant_index' cannot contain constants. (INCORRECT_QUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54640) (comment: 02670_constant_skip_index.sql) (in query: CREATE TABLE t_constant_index (`id` UInt64, INDEX t_constant_index 'foo' TYPE set(2) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 41528, min_bytes_for_wide_part = 153787537, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 16679, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 14009836, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 71097, primary_key_compress_block_size = 71498), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:85: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a997257 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:46.156179 [ 3058 ] {bad5eb9a-ef22-488b-b3c5-6347c3c951cf} TCPHandler: Code: 80. DB::Exception: Secondary index 't_constant_index' cannot contain constants. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:85: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a997257 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:46.309837 [ 3058 ] {d4cabc68-4003-4740-b498-8b3fb5b340db} executeQuery: Code: 36. DB::Exception: Expression must be deterministic but it contains non-deterministic part `rand()`: for secondary index 't_constant_index'. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54640) (comment: 02670_constant_skip_index.sql) (in query: CREATE TABLE t_constant_index (`id` UInt64, INDEX t_constant_index id + rand() TYPE set(2) GRANULARITY 1) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 41528, min_bytes_for_wide_part = 153787537, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 16679, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 14009836, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 71097, primary_key_compress_block_size = 71498), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1180: DB::ActionsDAG::assertDeterministic() const @ 0x00000000187c7507 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionActions.cpp:796: DB::ExpressionActions::assertDeterministic() const @ 0x0000000018a4d2e2 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:83: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99716f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:46.310901 [ 3058 ] {d4cabc68-4003-4740-b498-8b3fb5b340db} TCPHandler: Code: 36. DB::Exception: Expression must be deterministic but it contains non-deterministic part `rand()`: for secondary index 't_constant_index'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1180: DB::ActionsDAG::assertDeterministic() const @ 0x00000000187c7507 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionActions.cpp:796: DB::ExpressionActions::assertDeterministic() const @ 0x0000000018a4d2e2 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:83: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99716f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:46.736560 [ 3058 ] {f5ba7d21-4fa2-4aa3-afa1-9afa0268b380} executeQuery: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTime('00', '%m'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%m');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a5f9a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:46.737366 [ 3058 ] {f5ba7d21-4fa2-4aa3-afa1-9afa0268b380} TCPHandler: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTime('00', '%m'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a5f9a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:46.745309 [ 3058 ] {a60aca66-3307-48d3-a650-582dc7ff3a76} executeQuery: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTime('13', '%m'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%m');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a5f9a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:46.745992 [ 3058 ] {a60aca66-3307-48d3-a650-582dc7ff3a76} TCPHandler: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTime('13', '%m'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a5f9a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.089672 [ 3058 ] {72ca6ddf-209d-40cd-8a7a-85faa5edde45} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%m'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('12345', '%m');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:47.091465 [ 3058 ] {72ca6ddf-209d-40cd-8a7a-85faa5edde45} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%m'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:47.136768 [ 3058 ] {87d519ab-21be-4dd9-928c-6c6587564d4b} executeQuery: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTime('00', '%c'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a5f9a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.137725 [ 3058 ] {87d519ab-21be-4dd9-928c-6c6587564d4b} TCPHandler: Code: 41. DB::Exception: Value 0 for month of year must be in the range [1, 12]: While processing parseDateTime('00', '%c'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a5f9a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.147426 [ 3058 ] {5e979731-606a-49da-9344-f9f59f894f85} executeQuery: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTime('13', '%c'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a5f9a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.148560 [ 3058 ] {5e979731-606a-49da-9344-f9f59f894f85} TCPHandler: Code: 41. DB::Exception: Value 13 for month of year must be in the range [1, 12]: While processing parseDateTime('13', '%c'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a5f9a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.156912 [ 3058 ] {80b8fb1c-8e82-4c7f-9f56-d183020490b3} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%c'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('12345', '%c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:47.157852 [ 3058 ] {80b8fb1c-8e82-4c7f-9f56-d183020490b3} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%c'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:47.372023 [ 3058 ] {71a758da-5492-4451-ab7e-d9f151294851} executeQuery: Code: 41. DB::Exception: Unable to parse fragment %b from abc because of unknown month of year short text abc: While processing parseDateTime('abc', '%b'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('abc', '%b');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000000d8e0015 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonthOfYearTextShort(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a5bc1 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.372986 [ 3058 ] {71a758da-5492-4451-ab7e-d9f151294851} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment %b from abc because of unknown month of year short text abc: While processing parseDateTime('abc', '%b'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000000d8e0015 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonthOfYearTextShort(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a5bc1 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.572457 [ 3058 ] {a1ce7b27-eb66-4bf4-afe2-d43862b63633} executeQuery: Code: 41. DB::Exception: Unable to parse first part of fragment %M from summer because of unknown month of year text: sum: While processing parseDateTime('summer', '%M'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('summer', '%M');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000000d8e0015 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonthOfYearTextLong(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a9d59 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.573773 [ 3058 ] {a1ce7b27-eb66-4bf4-afe2-d43862b63633} TCPHandler: Code: 41. DB::Exception: Unable to parse first part of fragment %M from summer because of unknown month of year text: sum: While processing parseDateTime('summer', '%M'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&) @ 0x000000000d8e0015 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMonthOfYearTextLong(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a9d59 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.753433 [ 3058 ] {df59c14e-9b30-4142-91fd-566ea854487b} executeQuery: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTime('60', '%M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('60', '%M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8aa211 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.754265 [ 3058 ] {df59c14e-9b30-4142-91fd-566ea854487b} TCPHandler: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTime('60', '%M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8aa211 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.761810 [ 3058 ] {3accc6bf-c959-4b16-8d13-0746d136f14d} executeQuery: Code: 41. DB::Exception: Value -29 for minute must be in the range [0, 59]: While processing parseDateTime('-1', '%M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8aa211 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.762473 [ 3058 ] {3accc6bf-c959-4b16-8d13-0746d136f14d} TCPHandler: Code: 41. DB::Exception: Value -29 for minute must be in the range [0, 59]: While processing parseDateTime('-1', '%M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8aa211 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.769452 [ 3058 ] {e39a1845-9c2a-4b13-aca1-5d07e69e6bf0} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%M', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%M', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:47.770395 [ 3058 ] {e39a1845-9c2a-4b13-aca1-5d07e69e6bf0} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%M', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:47.968401 [ 3058 ] {97c84918-df04-4a0e-8c4e-857c3792f893} executeQuery: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTime('00', '%d'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a621a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.969121 [ 3058 ] {97c84918-df04-4a0e-8c4e-857c3792f893} TCPHandler: Code: 41. DB::Exception: Value 0 for day of month must be in the range [1, 31]: While processing parseDateTime('00', '%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a621a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.976427 [ 3058 ] {71eea430-10ba-4b7e-9376-d15ac0bd13db} executeQuery: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTime('32', '%d'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('32', '%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a621a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.977388 [ 3058 ] {71eea430-10ba-4b7e-9376-d15ac0bd13db} TCPHandler: Code: 41. DB::Exception: Value 32 for day of month must be in the range [1, 31]: While processing parseDateTime('32', '%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfMonth(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a621a in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:47.987407 [ 3058 ] {1cfc449d-9cb8-4210-9b94-0af76c0eea5d} executeQuery: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%d'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('12345', '%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:48.050184 [ 3058 ] {1cfc449d-9cb8-4210-9b94-0af76c0eea5d} TCPHandler: Code: 41. DB::Exception: Invalid format input 12345 is malformed at 345: While processing parseDateTime('12345', '%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:48.201127 [ 3058 ] {3d365541-853f-4ed7-bed5-e61ba27a9665} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 2 day_of_month: 31): While processing parseDateTime('02-31', '%m-%d'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('02-31', '%m-%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000000d8e2328 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000000d8ac817 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000000d8a4d03 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2e2d in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:48.202107 [ 3058 ] {3d365541-853f-4ed7-bed5-e61ba27a9665} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 2 day_of_month: 31): While processing parseDateTime('02-31', '%m-%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000000d8e2328 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000000d8ac817 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000000d8a4d03 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2e2d in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:48.210382 [ 3058 ] {a83604d0-11f1-4d60-b258-59db59a7235b} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 4 day_of_month: 31): While processing parseDateTime('04-31', '%m-%d'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('04-31', '%m-%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000000d8e2328 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000000d8ac817 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000000d8a4d03 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2e2d in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:48.211137 [ 3058 ] {a83604d0-11f1-4d60-b258-59db59a7235b} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 2000 month: 4 day_of_month: 31): While processing parseDateTime('04-31', '%m-%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000000d8e2328 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000000d8ac817 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000000d8a4d03 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2e2d in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:48.290956 [ 3058 ] {c47fafb6-acf2-4ca5-8893-0bbeb1ca9a45} executeQuery: Code: 41. DB::Exception: Invalid date, out of range (year: 2001 month: 2 day_of_month: 29): While processing parseDateTime('2001-02-29', '%Y-%m-%d'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('2001-02-29', '%Y-%m-%d');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000000d8e2328 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000000d8ac817 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000000d8a4d03 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2e2d in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:48.291671 [ 3058 ] {c47fafb6-acf2-4ca5-8893-0bbeb1ca9a45} TCPHandler: Code: 41. DB::Exception: Invalid date, out of range (year: 2001 month: 2 day_of_month: 29): While processing parseDateTime('2001-02-29', '%Y-%m-%d'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&) @ 0x000000000d8e2328 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::daysSinceEpochFromDate(int, int, int) @ 0x000000000d8ac817 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000000d8a4d03 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2e2d in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:48.606667 [ 3058 ] {df687002-05fc-4117-83df-add633a50081} executeQuery: Code: 41. DB::Exception: Invalid day of year, out of range (year: 1981 day of year: 366): While processing parseDateTime('1981 366', '%Y %j'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('1981 366', '%Y %j');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x000000000d8e20e6 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000000d8a4f47 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2e2d in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:48.607616 [ 3058 ] {df687002-05fc-4117-83df-add633a50081} TCPHandler: Code: 41. DB::Exception: Invalid day of year, out of range (year: 1981 day of year: 366): While processing parseDateTime('1981 366', '%Y %j'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x000000000d8e20e6 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000000d8a4f47 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2e2d in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:48.778594 [ 3058 ] {239f8cf5-1e32-42f4-8fbb-8b2f8fe4ed4d} executeQuery: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTime('367', '%j'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('367', '%j');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfYear(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a7d23 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:48.779651 [ 3058 ] {239f8cf5-1e32-42f4-8fbb-8b2f8fe4ed4d} TCPHandler: Code: 41. DB::Exception: Value 367 for day of year must be in the range [1, 366]: While processing parseDateTime('367', '%j'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfYear(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a7d23 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:48.787991 [ 3058 ] {95b4cd32-74aa-4207-a27b-b88651d24d19} executeQuery: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTime('000', '%j'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('000', '%j');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfYear(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a7d23 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:48.788776 [ 3058 ] {95b4cd32-74aa-4207-a27b-b88651d24d19} TCPHandler: Code: 41. DB::Exception: Value 0 for day of year must be in the range [1, 366]: While processing parseDateTime('000', '%j'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlDayOfYear(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a7d23 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:48.798578 [ 3058 ] {4a896fe8-f7d0-43b5-8dd2-a3b049482c2a} executeQuery: Code: 41. DB::Exception: Invalid day of year, out of range (year: 2001 day of year: 366): While processing parseDateTime('2000 366 2001', '%Y %j %Y'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: -- The last one is chosen if multiple day of years are supplied. select parseDateTime('2000 366 2001', '%Y %j %Y');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x000000000d8e20e6 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000000d8a4f47 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2e2d in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:48.799623 [ 3058 ] {4a896fe8-f7d0-43b5-8dd2-a3b049482c2a} TCPHandler: Code: 41. DB::Exception: Invalid day of year, out of range (year: 2001 day of year: 366): While processing parseDateTime('2000 366 2001', '%Y %j %Y'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, int&, int&) @ 0x000000000d8e20e6 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::buildDateTime(DateLUTImpl const&) @ 0x000000000d8a4f47 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2e2d in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:48.971432 [ 2837 ] {0a8e49fe-3165-4dac-a0f8-3fce726ffb26} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54830) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:49.155385 [ 2837 ] {0a8e49fe-3165-4dac-a0f8-3fce726ffb26} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:49.155598 [ 3058 ] {90ea6bef-06a6-4579-b1eb-1991e15d9d11} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('24', '%H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('24', '%H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab0e8 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.155671 [ 3035 ] {44d99dd7-9ae3-44db-960b-1d47d5620068} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54846) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:49.156798 [ 3035 ] {44d99dd7-9ae3-44db-960b-1d47d5620068} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:49.156790 [ 3058 ] {90ea6bef-06a6-4579-b1eb-1991e15d9d11} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('24', '%H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab0e8 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.167092 [ 3058 ] {34f8de58-783c-4c39-8527-c9aab1729b47} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('-1', '%H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab0e8 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.168024 [ 3058 ] {34f8de58-783c-4c39-8527-c9aab1729b47} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('-1', '%H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab0e8 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.176510 [ 3058 ] {979d4dc8-7553-49a7-bf61-b88bc5db2ec3} executeQuery: Code: 41. DB::Exception: Invalid format input 1234567 is malformed at 34567: While processing parseDateTime('1234567', '%H', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('1234567', '%H', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:49.177492 [ 3058 ] {979d4dc8-7553-49a7-bf61-b88bc5db2ec3} TCPHandler: Code: 41. DB::Exception: Invalid format input 1234567 is malformed at 34567: While processing parseDateTime('1234567', '%H', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:49.236388 [ 3058 ] {83f04c1f-2067-4eee-9f0f-bcae14eefcb3} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('24', '%k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('24', '%k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab0e8 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.237355 [ 3058 ] {83f04c1f-2067-4eee-9f0f-bcae14eefcb3} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('24', '%k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab0e8 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.246451 [ 3058 ] {a53aa97f-d328-4737-90af-b60a1e893ae9} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('-1', '%k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab0e8 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.247521 [ 3058 ] {a53aa97f-d328-4737-90af-b60a1e893ae9} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [23, 0] if_hour_of_half_day=false and hour_starts_at_1=false: While processing parseDateTime('-1', '%k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour24(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab0e8 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.256716 [ 3058 ] {5b89db67-4619-4482-9e6d-f372442b3c82} executeQuery: Code: 41. DB::Exception: Invalid format input 1234567 is malformed at 34567: While processing parseDateTime('1234567', '%k', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('1234567', '%k', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:49.257780 [ 3058 ] {5b89db67-4619-4482-9e6d-f372442b3c82} TCPHandler: Code: 41. DB::Exception: Invalid format input 1234567 is malformed at 34567: While processing parseDateTime('1234567', '%k', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:49.468553 [ 3058 ] {2bb48eb8-cf55-40d5-aeaf-cddd6e6f37c0} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab06e in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.469735 [ 3058 ] {2bb48eb8-cf55-40d5-aeaf-cddd6e6f37c0} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab06e in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.478616 [ 3058 ] {b63e6712-0dec-45f9-9bcb-6c8b2f36b84f} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab06e in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.479503 [ 3058 ] {b63e6712-0dec-45f9-9bcb-6c8b2f36b84f} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab06e in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.487161 [ 3058 ] {d17d791c-816d-4898-b14c-361c2935c265} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%h', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%h', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:49.488059 [ 3058 ] {d17d791c-816d-4898-b14c-361c2935c265} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%h', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:49.544493 [ 3058 ] {29eddbe5-0096-4332-8dda-899a104dd019} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%I', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%I', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab06e in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.545494 [ 3058 ] {29eddbe5-0096-4332-8dda-899a104dd019} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%I', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab06e in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.555125 [ 3058 ] {3e664854-92a8-4066-8f78-f790385c14d9} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%I', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%I', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab06e in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.556260 [ 3058 ] {3e664854-92a8-4066-8f78-f790385c14d9} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%I', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab06e in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.564455 [ 3058 ] {a3e2f4cd-fa39-43c4-a4d4-ceb34aa77ebb} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%I', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%I', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:49.565432 [ 3058 ] {a3e2f4cd-fa39-43c4-a4d4-ceb34aa77ebb} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%I', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:49.623877 [ 3058 ] {6231a053-e033-4aa1-a4f9-2616e10d8aa7} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%l', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('00', '%l', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab06e in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.624694 [ 3058 ] {6231a053-e033-4aa1-a4f9-2616e10d8aa7} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('00', '%l', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab06e in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.633716 [ 3058 ] {39eb6474-417e-4d18-8c14-74d82f2f2472} executeQuery: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%l', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('13', '%l', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab06e in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.634861 [ 3058 ] {39eb6474-417e-4d18-8c14-74d82f2f2472} TCPHandler: Code: 41. DB::Exception: Value 0 for hour must be in the range [12, 1] if_hour_of_half_day=true and hour_starts_at_1=true: While processing parseDateTime('13', '%l', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, int&, int&, int&, bool&, bool&) @ 0x000000000d8e18ff in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DateTime::setHour(int, bool, bool) @ 0x000000000d8ac5dc in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlHour12(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8ab06e in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:43:49.645053 [ 3058 ] {ea9ca2be-15dc-429c-8233-1c821aee8cb2} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%l', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%l', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:49.646192 [ 3058 ] {ea9ca2be-15dc-429c-8233-1c821aee8cb2} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%l', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:49.809180 [ 3058 ] {9ced25f8-8b86-47a5-9459-ea87cfa1d7c9} executeQuery: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTime('60', '%i', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('60', '%i', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8aa211 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:49.809843 [ 3058 ] {9ced25f8-8b86-47a5-9459-ea87cfa1d7c9} TCPHandler: Code: 41. DB::Exception: Value 60 for minute must be in the range [0, 59]: While processing parseDateTime('60', '%i', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8aa211 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:49.815656 [ 3058 ] {ca615ed1-2abe-4dd1-9570-e7277cd35f7c} executeQuery: Code: 41. DB::Exception: Value -29 for minute must be in the range [0, 59]: While processing parseDateTime('-1', '%i', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%i', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8aa211 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:49.816282 [ 3058 ] {ca615ed1-2abe-4dd1-9570-e7277cd35f7c} TCPHandler: Code: 41. DB::Exception: Value -29 for minute must be in the range [0, 59]: While processing parseDateTime('-1', '%i', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMinute(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8aa211 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:49.822280 [ 3058 ] {7216cb75-746b-459f-ae8d-4f600ab1a838} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%i', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%i', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:49.822862 [ 3058 ] {7216cb75-746b-459f-ae8d-4f600ab1a838} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%i', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:49.999876 [ 3058 ] {f62764d9-ecfa-4ff4-8614-0f865225fdfc} executeQuery: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTime('60', '%s', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('60', '%s', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlSecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8aabd1 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:50.000771 [ 3058 ] {f62764d9-ecfa-4ff4-8614-0f865225fdfc} TCPHandler: Code: 41. DB::Exception: Value 60 for second must be in the range [0, 59]: While processing parseDateTime('60', '%s', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlSecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8aabd1 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:50.007184 [ 3058 ] {fcfbb3ee-aae5-47d4-887a-ef400e486d56} executeQuery: Code: 41. DB::Exception: Value -29 for second must be in the range [0, 59]: While processing parseDateTime('-1', '%s', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('-1', '%s', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlSecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8aabd1 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:50.007836 [ 3058 ] {fcfbb3ee-aae5-47d4-887a-ef400e486d56} TCPHandler: Code: 41. DB::Exception: Value -29 for second must be in the range [0, 59]: While processing parseDateTime('-1', '%s', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, int&) @ 0x000000000d8e08ed in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlSecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8aabd1 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:43:50.013588 [ 3058 ] {33a1868e-dbca-42f7-bcdc-acaf3b6b9bcb} executeQuery: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%s', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('123456789', '%s', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:50.014271 [ 3058 ] {33a1868e-dbca-42f7-bcdc-acaf3b6b9bcb} TCPHandler: Code: 41. DB::Exception: Invalid format input 123456789 is malformed at 3456789: While processing parseDateTime('123456789', '%s', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, std::basic_string_view>>(int, FormatStringHelperImpl>>::type, std::type_identity>>::type>, std::basic_string_view>&&, std::basic_string_view>&&) @ 0x000000000d8dfd53 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a31ab in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:43:50.172123 [ 3058 ] {ae89dfeb-8223-46a6-8ae7-7d7dbb0834ae} executeQuery: Code: 243. DB::Exception: Unable to parse fragment %f from 42 because mysqlMicrosecond requires size >= 6: While processing parseDateTime('42', '%f', 'UTC') = toDateTime('1970-01-01 00:00:00', 'UTC'). (NOT_ENOUGH_SPACE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('42', '%f', 'UTC') = toDateTime('1970-01-01 00:00:00', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String const&) @ 0x000000000d8e02d5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMicrosecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a6f5c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:43:50.173256 [ 3058 ] {ae89dfeb-8223-46a6-8ae7-7d7dbb0834ae} TCPHandler: Code: 243. DB::Exception: Unable to parse fragment %f from 42 because mysqlMicrosecond requires size >= 6: While processing parseDateTime('42', '%f', 'UTC') = toDateTime('1970-01-01 00:00:00', 'UTC'). (NOT_ENOUGH_SPACE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String const&>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String const&) @ 0x000000000d8e02d5 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMicrosecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a6f5c in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:43:50.315107 [ 3058 ] {707a411b-2e7f-421c-b524-29a0de4a44cf} executeQuery: Code: 41. DB::Exception: Unable to parse fragment %f from ABCD because  is not a number: While processing parseDateTime('12ABCD', '%f', 'UTC') = toDateTime('1970-01-01 00:00:00', 'UTC'). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('12ABCD', '%f', 'UTC') = toDateTime('1970-01-01 00:00:00', 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&&) @ 0x000000000d8e1235 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMicrosecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a7072 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:43:50.315856 [ 3058 ] {707a411b-2e7f-421c-b524-29a0de4a44cf} TCPHandler: Code: 41. DB::Exception: Unable to parse fragment %f from ABCD because  is not a number: While processing parseDateTime('12ABCD', '%f', 'UTC') = toDateTime('1970-01-01 00:00:00', 'UTC'). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>, String>(int, FormatStringHelperImpl::type, std::type_identity>>::type, std::type_identity::type>, String const&, std::basic_string_view>&&, String&&) @ 0x000000000d8e1235 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionParseDateTimeImpl::Instruction::mysqlMicrosecond(char const*, char const*, String const&, DB::(anonymous namespace)::DateTime&) @ 0x000000000d8a7072 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000d8a2caa in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:43:50.614739 [ 3058 ] {4c3f5ba1-c375-4056-9e4e-2ce772d56a7a} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime provided 1 (String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTime('12 AM'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: -- Error handling select parseDateTime('12 AM');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x0000000017a6b209 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a6820e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8a3d4c in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:50.615780 [ 3058 ] {4c3f5ba1-c375-4056-9e4e-2ce772d56a7a} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime provided 1 (String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTime('12 AM'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x0000000017a6b209 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a6820e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8a3d4c in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:50.623218 [ 3058 ] {d4b88b99-8e73-4605-b5ec-9741044af019} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime provided 4 (String, String, String, String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTime('12 AM', '%h %p', 'UTC', 'a fourth argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: select parseDateTime('12 AM', '%h %p', 'UTC', 'a fourth argument');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x0000000017a6b209 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a6820e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8a3d4c in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:50.624073 [ 3058 ] {d4b88b99-8e73-4605-b5ec-9741044af019} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function parseDateTime provided 4 (String, String, String, String), expected 2 to 3 ('time' : String, 'format' : String, ['timezone' : const String]): While processing parseDateTime('12 AM', '%h %p', 'UTC', 'a fourth argument'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x0000000017a6b209 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a6820e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8a3d4c in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:50.826505 [ 3058 ] {59aa61c5-2dd7-4546-8f0d-9a1f6bfea24e} executeQuery: Code: 44. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime, expected const String, got String: While processing parseDateTime('', '', toString(number)). (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54668) (comment: 02668_parse_datetime.sql) (in query: -- Fuzzer crash bug #53715 select parseDateTime('', '', toString(number)) from numbers(13);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67f3f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8a3d4c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:43:50.827614 [ 3058 ] {59aa61c5-2dd7-4546-8f0d-9a1f6bfea24e} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #3 'timezone' of function parseDateTime, expected const String, got String: While processing parseDateTime('', '', toString(number)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/FunctionHelpers.cpp:195: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67f3f in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionParseDateTimeImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d8a3d4c in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:43:52.117138 [ 1322 ] {37254c32-8dce-4784-8026-cb1892f6b39c} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Duplicate field found while parsing BSONEachRow format: x: (at row 1) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, StringRef&) @ 0x000000001b04c4c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:808: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047e5f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:52.119192 [ 2834 ] {37254c32-8dce-4784-8026-cb1892f6b39c} executeQuery: Code: 117. DB::Exception: Duplicate field found while parsing BSONEachRow format: x: (at row 1) : While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60796) (comment: 02590_bson_duplicate_column.sql) (in query: select * from format(BSONEachRow, 'x UInt32, y UInt32', x'1a0000001078002a0000001078002a0000001079002a00000000');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, StringRef&) @ 0x000000001b04c4c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:808: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047e5f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:52.119741 [ 2834 ] {37254c32-8dce-4784-8026-cb1892f6b39c} TCPHandler: Code: 117. DB::Exception: Duplicate field found while parsing BSONEachRow format: x: (at row 1) : While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, StringRef&) @ 0x000000001b04c4c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:808: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047e5f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:52.596054 [ 3301 ] {8570fe69-ac03-4509-81f3-1ced3edfaf01} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::ParsingException: Size of BSON document is invalid. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:1034: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001b04b03f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001b04db1e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:0: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001b17f9aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001b185725 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001b185602 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 11. ? @ 0x00007f5975bcaac3 in ? 12. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:52.597659 [ 2837 ] {8570fe69-ac03-4509-81f3-1ced3edfaf01} executeQuery: Code: 117. DB::ParsingException: Size of BSON document is invalid: While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60842) (comment: 02589_bson_invalid_document_size.sql) (in query: select * from format(BSONEachRow, 'x UInt32', x'00000000');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:1034: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001b04b03f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001b04db1e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:0: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001b17f9aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001b185725 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001b185602 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 11. ? @ 0x00007f5975bcaac3 in ? 12. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:52.598371 [ 2837 ] {8570fe69-ac03-4509-81f3-1ced3edfaf01} TCPHandler: Code: 117. DB::ParsingException: Size of BSON document is invalid: While executing ParallelParsingBlockInputFormat. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:1034: DB::fileSegmentationEngineBSONEachRow(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001b04b03f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::pair std::__function::__policy_invoker (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>::__call_impl (*)(DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long), std::pair (DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Memory>&, unsigned long, unsigned long) @ 0x000000001b04db1e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp:0: DB::ParallelParsingInputFormat::segmentatorThreadFunction(std::shared_ptr) @ 0x000000001b17f9aa in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x000000001b185725 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ParallelParsingInputFormat*, std::shared_ptr>(void (DB::ParallelParsingInputFormat::*&&)(std::shared_ptr), DB::ParallelParsingInputFormat*&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001b185602 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 11. ? @ 0x00007f5975bcaac3 in ? 12. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:53.412390 [ 3035 ] {cf28769a-994a-41fe-b00e-05e118b6fc02} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, UInt8), Tuple(String, UInt8)): While processing CAST((('a', 1), ('b', 2)), 'Map(String, UInt8)'). (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60876) (comment: 02583_map_literal_cast.sql) (in query: SELECT CAST((('a', 1), ('b', 2)), 'Map(String, UInt8)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x0000000008103b01 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080fedb2 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080f94ad in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000080f9136 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x00000000080f897b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:53.413156 [ 3035 ] {cf28769a-994a-41fe-b00e-05e118b6fc02} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, UInt8), Tuple(String, UInt8)): While processing CAST((('a', 1), ('b', 2)), 'Map(String, UInt8)'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x0000000008103b01 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080fedb2 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080f94ad in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000080f9136 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x00000000080f897b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:53.419621 [ 3035 ] {64436f2d-8ff0-4cb6-8c94-f55d6cdd3b63} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, UInt8), Tuple(String, UInt8)): While processing CAST((('abc', 22), ('def', 33)), 'Map(String, UInt8)'). (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60876) (comment: 02583_map_literal_cast.sql) (in query: SELECT CAST((('abc', 22), ('def', 33)), 'Map(String, UInt8)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x0000000008103b01 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080fedb2 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080f94ad in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000080f9136 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x00000000080f897b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:53.420281 [ 3035 ] {64436f2d-8ff0-4cb6-8c94-f55d6cdd3b63} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, UInt8), Tuple(String, UInt8)): While processing CAST((('abc', 22), ('def', 33)), 'Map(String, UInt8)'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x0000000008103b01 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080fedb2 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080f94ad in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000080f9136 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x00000000080f897b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:53.427896 [ 3035 ] {5d0f665d-58e5-42e4-8a73-fe7a981e7b44} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(UInt8, Array(UInt8)), Tuple(UInt8, Array(UInt8))): While processing CAST(((10, [11, 12]), (13, [14, 15])), 'Map(UInt8, Array(UInt8))'). (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60876) (comment: 02583_map_literal_cast.sql) (in query: SELECT CAST(((10, [11, 12]), (13, [14, 15])), 'Map(UInt8, Array(UInt8))');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x0000000008103b01 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080fedb2 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080f94ad in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000080f9136 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x00000000080f897b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:53.428572 [ 3035 ] {5d0f665d-58e5-42e4-8a73-fe7a981e7b44} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(UInt8, Array(UInt8)), Tuple(UInt8, Array(UInt8))): While processing CAST(((10, [11, 12]), (13, [14, 15])), 'Map(UInt8, Array(UInt8))'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x0000000008103b01 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080fedb2 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080f94ad in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000080f9136 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x00000000080f897b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:53.438387 [ 3035 ] {2f527f4f-1407-4ec3-815f-2f38d0e63006} executeQuery: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, Tuple(String, Array(UInt8))), Tuple(String, Tuple(String, Array(UInt8)))): While processing CAST((('ghj', ('klm', [16, 17])), ('nop', ('rst', [18]))), 'Map(String, Map(String, Array(UInt8)))'). (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60876) (comment: 02583_map_literal_cast.sql) (in query: SELECT CAST((('ghj', (('klm', [16, 17]))), ('nop', (('rst', [18])))), 'Map(String, Map(String, Array(UInt8)))');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x0000000008103b01 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080fedb2 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080f94ad in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000080f9136 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x00000000080f897b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:53.439094 [ 3035 ] {2f527f4f-1407-4ec3-815f-2f38d0e63006} TCPHandler: Code: 53. DB::Exception: CAST AS Map can only be performed from tuples of array. Got: Tuple(Tuple(String, Tuple(String, Array(UInt8))), Tuple(String, Tuple(String, Array(UInt8)))): While processing CAST((('ghj', ('klm', [16, 17])), ('nop', ('rst', [18]))), 'Map(String, Map(String, Array(UInt8)))'). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionCast::createMapWrapper(std::shared_ptr const&, DB::DataTypeMap const*) const @ 0x0000000008103b01 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080fedb2 in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080f94ad in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000080f9136 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x00000000080f897b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:43:55.270819 [ 2837 ] {014908ba-c7a0-4e7d-beff-1960798d0071} executeQuery: Code: 60. DB::Exception: Table test_f3qbjduj.receiver_02572 does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32778) (comment: 02572_materialized_views_ignore_errors.sql) (in query: -- ensure that insert fails insert into proxy_02572 values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a703997 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:55.271487 [ 2837 ] {014908ba-c7a0-4e7d-beff-1960798d0071} TCPHandler: Code: 60. DB::Exception: Table test_f3qbjduj.receiver_02572 does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a703997 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:55.308453 [ 2837 ] {0cd9b6e2-7dd3-4291-9ebe-1d8a3a5edfad} PushingToViews: Cannot push to the storage, ignoring the error: Code: 60. DB::Exception: Table test_f3qbjduj.receiver_02572 does not exist: while pushing to view test_f3qbjduj.push_to_proxy_mv_02572 (bb2189a8-5821-4c89-8e22-f086f63ef349). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a703997 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:56.271894 [ 2837 ] {0738447b-30aa-4a8d-b319-da6a15497c46} executeQuery: Code: 60. DB::Exception: Table test_f3qbjduj.receiver_02572 does not exist: while pushing to view test_f3qbjduj.push_to_proxy_mv_02572 (bb2189a8-5821-4c89-8e22-f086f63ef349). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32778) (comment: 02572_materialized_views_ignore_errors.sql) (in query: -- materialized_views_ignore_errors=0 insert into data_02572 values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a703997 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:56.272859 [ 2837 ] {0738447b-30aa-4a8d-b319-da6a15497c46} TCPHandler: Code: 60. DB::Exception: Table test_f3qbjduj.receiver_02572 does not exist: while pushing to view test_f3qbjduj.push_to_proxy_mv_02572 (bb2189a8-5821-4c89-8e22-f086f63ef349). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a703997 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:56.490658 [ 2837 ] {} Access(user directories): from: ::1, user: non_exist_user: Authentication failed: Code: 192. DB::Exception: There is no user `non_exist_user` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e462f0 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:56.592635 [ 2837 ] {} ServerErrorHandler: Code: 516. DB::Exception: non_exist_user: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:56.862674 [ 1140 ] {} Access(user directories): from: ::1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000017e46655 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e46303 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:56.863870 [ 1140 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:43:58.761442 [ 1140 ] {c48ddd9c-c40d-4a4f-b4bb-44124f4dc37b} executeQuery: Code: 475. DB::Exception: Incompatible types of WITH FILL expression values with column type Date. (INVALID_WITH_FILL_EXPRESSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33078) (comment: 02561_with_fill_date_datetime_incompatible.sql) (in query: SELECT today() AS a ORDER BY a ASC WITH FILL FROM now() - toIntervalMonth(1) TO now() + toIntervalDay(1) STEP 82600;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:0: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001b532698 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001b52c88e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000183b9fcd in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183b9c7d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183d486d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b52bbc0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544ed1 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:58.762645 [ 1140 ] {c48ddd9c-c40d-4a4f-b4bb-44124f4dc37b} TCPHandler: Code: 475. DB::Exception: Incompatible types of WITH FILL expression values with column type Date. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:0: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001b532698 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001b52c88e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000183b9fcd in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183b9c7d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183d486d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b52bbc0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544ed1 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:59.501454 [ 1143 ] {35364322-706c-4a7f-bcf8-f332f65af167} executeQuery: Code: 69. DB::Exception: Cannot convert value '-3': it cannot be represented as UInt128. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33114) (comment: 02560_with_fill_int256_int.sql) (in query: SELECT (number * 2)::UInt128 FROM numbers(10) ORDER BY 1 ASC WITH FILL FROM -3 TO 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a18a27 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:131: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001b52f55a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001b52c88e in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000183b9fcd in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183b9c7d in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183d486d in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b52bbc0 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544ed1 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:59.502737 [ 1143 ] {35364322-706c-4a7f-bcf8-f332f65af167} TCPHandler: Code: 69. DB::Exception: Cannot convert value '-3': it cannot be represented as UInt128. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a18a27 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:131: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001b52f55a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001b52c88e in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000183b9fcd in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183b9c7d in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183d486d in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b52bbc0 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544ed1 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:59.515882 [ 1143 ] {6b2f4494-e39a-4679-ad72-5d1e740fbaf2} executeQuery: Code: 69. DB::Exception: Cannot convert value '-3': it cannot be represented as UInt256. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33114) (comment: 02560_with_fill_int256_int.sql) (in query: SELECT (number * 2)::UInt256 FROM numbers(10) ORDER BY 1 ASC WITH FILL FROM -3 TO 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a18a27 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:131: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001b52f55a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001b52c88e in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000183b9fcd in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183b9c7d in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183d486d in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b52bbc0 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544ed1 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:43:59.516868 [ 1143 ] {6b2f4494-e39a-4679-ad72-5d1e740fbaf2} TCPHandler: Code: 69. DB::Exception: Cannot convert value '-3': it cannot be represented as UInt256. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a18a27 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:131: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001b52f55a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001b52c88e in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000183b9fcd in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183b9c7d in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183d486d in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b52bbc0 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544ed1 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:01.769423 [ 2834 ] {4a7f864e-16e3-4465-ad8b-cc24fa439fe8} executeQuery: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33524) (comment: 02559_multiple_read_steps_in_prewhere.sql) (in query: SELECT cast(id1 as UInt16) AS cond1 FROM test_02559 PREWHERE cond1 LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/FilterDescription.cpp:0: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001a003a36 in /usr/bin/clickhouse 4. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001aa988f2 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa95705 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001aa8405b in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001aa84e68 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001aa814fe in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000001b5ad0ca in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:01.770490 [ 2834 ] {4a7f864e-16e3-4465-ad8b-cc24fa439fe8} TCPHandler: Code: 59. DB::Exception: Illegal type UInt16 of column for filter. Must be UInt8 or Nullable(UInt8) or Const variants of them.: While executing MergeTreeInOrder. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/FilterDescription.cpp:0: DB::FilterDescription::FilterDescription(DB::IColumn const&) @ 0x000000001a003a36 in /usr/bin/clickhouse 4. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001aa988f2 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa95705 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001aa8405b in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001aa84e68 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001aa814fe in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000001b5ad0ca in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:02.274708 [ 1524 ] {9250e7bc-d909-43cf-bdad-1725f2d590b6} executeQuery: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and Int8. (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33554) (comment: 02553_type_json_attach_partition.sql) (in query: ALTER TABLE t_json_attach_partition ATTACH PARTITION tuple();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x0000000007f9da0d in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001853d06b in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001853ac99 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3799: DB::MergeTreeData::checkPartDynamicColumns(std::shared_ptr&, DB::DataPartsLock&) const @ 0x000000001a862810 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&, std::vector, std::allocator>>*) @ 0x000000001a864960 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::renameTempPartAndAdd(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&) @ 0x000000001a86532d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:1986: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8e797 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1318: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a878b42 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:02.275819 [ 1524 ] {9250e7bc-d909-43cf-bdad-1725f2d590b6} TCPHandler: Code: 53. DB::Exception: Uncompatible types of subcolumn 'k1': Array(Int8) and Int8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, String&&) @ 0x0000000007f9da0d in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001853d06b in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumns(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001853ac99 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:3799: DB::MergeTreeData::checkPartDynamicColumns(std::shared_ptr&, DB::DataPartsLock&) const @ 0x000000001a862810 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::MergeTreeData::renameTempPartAndReplaceImpl(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&, std::vector, std::allocator>>*) @ 0x000000001a864960 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::renameTempPartAndAdd(std::shared_ptr&, DB::MergeTreeData::Transaction&, DB::DataPartsLock&) @ 0x000000001a86532d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:1986: DB::StorageMergeTree::attachPartition(std::shared_ptr const&, std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8e797 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1318: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a878b42 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:04.458843 [ 3058 ] {ae6dea5b-8638-4128-b738-9eee23057ccd} executeQuery: Code: 43. DB::Exception: Function transform has signature: transform(T, Array(T), Array(U), U) -> U; or transform(T, Array(T), Array(T)) -> T; where T and U are types.: While processing transform(number, [1], [NULL]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33690) (comment: 02542_transform_old.sql) (in query: SELECT transform(number, [1], [null]) FROM system.numbers LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6f1bf1 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:44:04.460016 [ 3058 ] {ae6dea5b-8638-4128-b738-9eee23057ccd} TCPHandler: Code: 43. DB::Exception: Function transform has signature: transform(T, Array(T), Array(U), U) -> U; or transform(T, Array(T), Array(T)) -> T; where T and U are types.: While processing transform(number, [1], [NULL]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6f1bf1 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:44:06.396110 [ 1143 ] {d062dbee-6914-4418-ab3a-7c5079c9cf73} executeQuery: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33832) (comment: 02540_duplicate_primary_key.sql) (in query: CREATE TABLE test (`coverage` DateTime, `haunt` Nullable(Float32) CODEC(Gorilla, ZSTD(1)), `sail` Nullable(Float32) CODEC(Gorilla, ZSTD(1)), `empowerment_turnstile` UInt8, `empowerment_haversack` Nullable(Int16), `empowerment_function` Nullable(Int16), `empowerment_guidance` Nullable(Int32), `empowerment_high` Nullable(Int32), `trading_id` Nullable(Int32), `guidance` Nullable(Int32), `empowerment_rawhide` Int32, `memo` Nullable(Int16), `oeuvre` Nullable(Int16), `bun` Nullable(Int16), `tramp` String, `anthropology_total` Nullable(Float32), `situation_name` String, `timing` Nullable(String), `NAME_cockroach` String, `NAME_toe` String, `business_error_methane` FixedString(110), `business_instrumentation_methane` FixedString(15), `market` UInt8, `crew_memo` Nullable(Int16), `crew_oeuvre` Nullable(Int16), `crew_fortnight` Nullable(Int16), `princess_memo` Nullable(Int16), `princess_oeuvre` Nullable(Int16), `princess_fortnight` Nullable(Int16), `emerald` Nullable(Float32), `cannon_crate` Nullable(String), `thinking` String, `SectorMen` String, `rage_name` Nullable(String), `DevelopmentalLigandName` String, `chard_heavy_quadrant` UInt64, `poster_effective` Nullable(String), PROJECTION chrysalis_trapezium_ham (SELECT empowerment_turnstile, toStartOfInterval(coverage, toIntervalMonth(1)), toStartOfWeek(coverage, 10), toStartOfInterval(coverage, toIntervalDay(1)), NAME_toe, NAME_cockroach, situation_name, memo, oeuvre, crew_memo, crew_oeuvre, bun, sum(multiIf(crew_memo IS NULL, 0, 1)), sum(multiIf(crew_oeuvre IS NULL, 0, 1)), sum(multiIf(crew_fortnight IS NULL, 0, 1)), max(toStartOfInterval(coverage, toIntervalDay(1))), max(CAST(CAST(toStartOfInterval(coverage, toIntervalDay(1)), 'Nullable(DATE)'), 'Nullable(TIMESTAMP)')), min(toStartOfInterval(coverage, toIntervalDay(1))), min(CAST(CAST(toStartOfInterval(coverage, toIntervalDay(1)), 'Nullable(DATE)'), 'Nullable(TIMESTAMP)')), count(), sum(1) GROUP BY empowerment_turnstile, toStartOfInterval(coverage, toIntervalMonth(1)), toStartOfWeek(coverage, 10), toStartOfInterval(coverage, toIntervalDay(1)), empowerment_turnstile, toStartOfInterval(coverage, toIntervalMonth(1)), toStartOfWeek(coverage, 10), toStartOfInterval(coverage, toIntervalDay(1)), NAME_toe, NAME_cockroach, situation_name, memo, oeuvre, crew_memo, crew_oeuvre, bun)) ENGINE = MergeTree PARTITION BY toYYYYMM(coverage) ORDER BY (coverage, situation_name, NAME_toe, NAME_cockroach) SETTINGS index_granularity = 16241, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 20429, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 9480705782, index_granularity_bytes = 10442240, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 44906, primary_key_compress_block_size = 8204), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000001a8d8946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000001a8255d3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a82365c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a824848 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:06.564227 [ 1143 ] {d062dbee-6914-4418-ab3a-7c5079c9cf73} TCPHandler: Code: 36. DB::Exception: Primary key or secondary index contains a duplicate expression. To suppress this exception, rerun the command with setting 'allow_suspicious_indices = 1'. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [154]) @ 0x000000001a8d8946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:200: DB::checkSuspiciousIndices(DB::ASTFunction const*) @ 0x000000001a8255d3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a82365c in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a824848 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:06.564299 [ 2834 ] {4adf649b-545c-42f1-a357-ec863ad3553b} executeQuery: Code: 48. DB::Exception: first element of the key tuple is not UInt64: While processing sipHash128ReferenceKeyed((0, 0), '1'). (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33600) (comment: 02552_siphash128_reference.sql) (in query: select sipHash128ReferenceKeyed((0, 0), '1');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. DB::impl::parseSipHashKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x0000000008542a84 in /usr/bin/clickhouse 4. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000867160e in /usr/bin/clickhouse 5. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000853268b in /usr/bin/clickhouse 6. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000867131e in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:44:06.565309 [ 2834 ] {4adf649b-545c-42f1-a357-ec863ad3553b} TCPHandler: Code: 48. DB::Exception: first element of the key tuple is not UInt64: While processing sipHash128ReferenceKeyed((0, 0), '1'). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. DB::impl::parseSipHashKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x0000000008542a84 in /usr/bin/clickhouse 4. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000867160e in /usr/bin/clickhouse 5. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000853268b in /usr/bin/clickhouse 6. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000867131e in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:44:06.752797 [ 2834 ] {605e11df-598a-4bc2-bbdc-e16de8a2c730} executeQuery: Code: 48. DB::Exception: key must be a tuple: While processing sipHash128ReferenceKeyed(toUInt64(0), '1'). (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33600) (comment: 02552_siphash128_reference.sql) (in query: select sipHash128ReferenceKeyed(toUInt64(0), '1');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. DB::impl::parseSipHashKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x0000000008542a0e in /usr/bin/clickhouse 4. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000867160e in /usr/bin/clickhouse 5. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000853268b in /usr/bin/clickhouse 6. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000867131e in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:44:06.754927 [ 2834 ] {605e11df-598a-4bc2-bbdc-e16de8a2c730} TCPHandler: Code: 48. DB::Exception: key must be a tuple: While processing sipHash128ReferenceKeyed(toUInt64(0), '1'). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. DB::impl::parseSipHashKeyColumns(DB::ColumnWithTypeAndName const&) @ 0x0000000008542a0e in /usr/bin/clickhouse 4. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000867160e in /usr/bin/clickhouse 5. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000853268b in /usr/bin/clickhouse 6. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000867131e in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:44:07.347259 [ 3058 ] {a958e9e8-bcc3-4223-9b83-f5f5178d772a} executeQuery: Code: 60. DB::Exception: Table test_7q784tsy.underlying does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33888) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: INSERT INTO test_7q784tsy.underlying (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:07.348013 [ 3058 ] {a958e9e8-bcc3-4223-9b83-f5f5178d772a} TCPHandler: Code: 60. DB::Exception: Table test_7q784tsy.underlying does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:07.499764 [ 7302 ] {984ee819-5118-498a-b1e6-0161b84477d2} executeQuery: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_7q784tsy.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? : While sending /var/lib/clickhouse/store/cb6/cb60788c-50c4-41d8-b28e-483a0712e74b/shard1_replica1/1.bin. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33884) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: SYSTEM FLUSH DISTRIBUTED dist;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000001a6ea8ba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000001a6dd164 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:414: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d7047 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:1071: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000019626055 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000019618e38 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:07.500646 [ 7302 ] {984ee819-5118-498a-b1e6-0161b84477d2} TCPHandler: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_7q784tsy.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? : While sending /var/lib/clickhouse/store/cb6/cb60788c-50c4-41d8-b28e-483a0712e74b/shard1_replica1/1.bin. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000001a6ea8ba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000001a6dd164 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:414: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d7047 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:1071: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000019626055 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000019618e38 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:07.511150 [ 3058 ] {59f59e96-3fc1-4cc8-9a09-879103318955} executeQuery: Code: 60. DB::Exception: Table test_7q784tsy.underlying does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33888) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: INSERT INTO test_7q784tsy.underlying (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:07.512005 [ 3058 ] {59f59e96-3fc1-4cc8-9a09-879103318955} TCPHandler: Code: 60. DB::Exception: Table test_7q784tsy.underlying does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:07.642755 [ 7302 ] {69a95b77-36fa-4c4e-80e8-3e4ae09b3eb6} executeQuery: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_7q784tsy.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? : While sending /var/lib/clickhouse/store/cb6/cb60788c-50c4-41d8-b28e-483a0712e74b/shard1_replica1/1.bin. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33884) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: -- check the second since after using queue it may got lost from it SYSTEM FLUSH DISTRIBUTED dist;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000001a6ea8ba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000001a6dd164 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d6fe6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:1071: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000019626055 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000019618e38 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:07.643590 [ 7302 ] {69a95b77-36fa-4c4e-80e8-3e4ae09b3eb6} TCPHandler: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_7q784tsy.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? : While sending /var/lib/clickhouse/store/cb6/cb60788c-50c4-41d8-b28e-483a0712e74b/shard1_replica1/1.bin. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000001a6ea8ba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/variant:797: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000001a6dd164 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d6fe6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:1071: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000019626055 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000019618e38 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:07.870821 [ 3058 ] {949d804f-ba49-4dbf-896e-b54453457312} executeQuery: Code: 60. DB::Exception: Table test_7q784tsy.underlying does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33888) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: INSERT INTO test_7q784tsy.underlying (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:07.871736 [ 3058 ] {949d804f-ba49-4dbf-896e-b54453457312} TCPHandler: Code: 60. DB::Exception: Table test_7q784tsy.underlying does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:08.000903 [ 7302 ] {15d8338e-5081-4d86-a3f4-c4fc6975f52f} executeQuery: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_7q784tsy.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? : While sending a batch of 1 files, files: /var/lib/clickhouse/store/a00/a00f750d-0e3a-47f9-8c73-7666d65aca91/shard1_replica1/2.bin. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33884) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: SYSTEM FLUSH DISTRIBUTED dist;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000001a6ea8ba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::DistributedAsyncInsertBatch::sendBatch() @ 0x000000001a6e7eec in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertBatch.cpp:117: DB::DistributedAsyncInsertBatch::send() @ 0x000000001a6e5660 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:340: DB::DistributedAsyncInsertDirectoryQueue::processFilesWithBatching() @ 0x000000001a6dbfac in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:417: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d6f3e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:1071: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000019626055 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000019618e38 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:08.001989 [ 7302 ] {15d8338e-5081-4d86-a3f4-c4fc6975f52f} TCPHandler: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_7q784tsy.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? : While sending a batch of 1 files, files: /var/lib/clickhouse/store/a00/a00f750d-0e3a-47f9-8c73-7666d65aca91/shard1_replica1/2.bin. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000001a6ea8ba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::DistributedAsyncInsertBatch::sendBatch() @ 0x000000001a6e7eec in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertBatch.cpp:117: DB::DistributedAsyncInsertBatch::send() @ 0x000000001a6e5660 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:340: DB::DistributedAsyncInsertDirectoryQueue::processFilesWithBatching() @ 0x000000001a6dbfac in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:417: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d6f3e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:1071: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000019626055 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000019618e38 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:08.013873 [ 3058 ] {c1251f5b-fd8b-4cf1-997d-cba4a5d00796} executeQuery: Code: 60. DB::Exception: Table test_7q784tsy.underlying does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33888) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: INSERT INTO test_7q784tsy.underlying (key) VALUES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:08.014885 [ 3058 ] {c1251f5b-fd8b-4cf1-997d-cba4a5d00796} TCPHandler: Code: 60. DB::Exception: Table test_7q784tsy.underlying does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:08.152895 [ 7302 ] {53f07d11-1b78-4f2c-a23c-5fdc3b121387} executeQuery: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_7q784tsy.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? : While sending a batch of 1 files, files: /var/lib/clickhouse/store/a00/a00f750d-0e3a-47f9-8c73-7666d65aca91/shard1_replica1//2.bin. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33884) (comment: 02537_distributed_loosing_files_after_exception.gen.sql) (in query: -- check the second since after using queue it may got lost from it SYSTEM FLUSH DISTRIBUTED dist;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000001a6ea8ba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::DistributedAsyncInsertBatch::sendBatch() @ 0x000000001a6e7eec in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertBatch.cpp:117: DB::DistributedAsyncInsertBatch::send() @ 0x000000001a6e5660 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFilesWithBatching() @ 0x000000001a6d9858 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:417: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d6f3e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:1071: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000019626055 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000019618e38 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:08.153886 [ 7302 ] {53f07d11-1b78-4f2c-a23c-5fdc3b121387} TCPHandler: Code: 60. DB::Exception: Received from localhost:9000. DB::Exception: Table test_7q784tsy.underlying does not exist. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? : While sending a batch of 1 files, files: /var/lib/clickhouse/store/a00/a00f750d-0e3a-47f9-8c73-7666d65aca91/shard1_replica1//2.bin. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/RemoteInserter.cpp:61: DB::RemoteInserter::RemoteInserter(DB::Connection&, DB::ConnectionTimeouts const&, String const&, DB::Settings const&, DB::ClientInfo const&) @ 0x000000001a6ea8ba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::DistributedAsyncInsertBatch::sendBatch() @ 0x000000001a6e7eec in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertBatch.cpp:117: DB::DistributedAsyncInsertBatch::send() @ 0x000000001a6e5660 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFilesWithBatching() @ 0x000000001a6d9858 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:417: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d6f3e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:1071: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000019626055 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000019618e38 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:08.192983 [ 7302 ] {e3f526b5-c3f1-4522-955f-b47f9fa76fbe} test_7q784tsy.dist.DirectoryMonitor.default: File /var/lib/clickhouse/store/a00/a00f750d-0e3a-47f9-8c73-7666d65aca91/shard1_replica1/2.bin does not exists, likely due to current_batch.txt processing 2024.05.01 14:44:09.343320 [ 3035 ] {7379973e-465f-4665-80e9-5091d7989294} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceAll must be greater than 0.: while executing 'FUNCTION replaceAll(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceAll(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33920) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: -- needle: non-const, replacement: const SELECT replaceAll(haystack, needle, 'x') FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e46cf7a in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:09.344673 [ 3035 ] {7379973e-465f-4665-80e9-5091d7989294} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceAll must be greater than 0.: while executing 'FUNCTION replaceAll(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceAll(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e46cf7a in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:09.455755 [ 3035 ] {f7f9dbaf-3b63-49f0-a291-67eba5bcad10} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceOne must be greater than 0.: while executing 'FUNCTION replaceOne(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceOne(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33920) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceOne(haystack, needle, 'x') FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e4712fa in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:09.456820 [ 3035 ] {f7f9dbaf-3b63-49f0-a291-67eba5bcad10} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceOne must be greater than 0.: while executing 'FUNCTION replaceOne(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceOne(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e4712fa in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:09.557881 [ 3035 ] {e1b59644-7630-430a-b1eb-8e6d4eeb3cb8} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpAll must be greater than 0.: while executing 'FUNCTION replaceRegexpAll(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceRegexpAll(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33920) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceRegexpAll(haystack, needle, 'x') FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e474b3f in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:09.559007 [ 3035 ] {e1b59644-7630-430a-b1eb-8e6d4eeb3cb8} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpAll must be greater than 0.: while executing 'FUNCTION replaceRegexpAll(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceRegexpAll(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e474b3f in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:09.669267 [ 3035 ] {b24d3da5-21d2-4bdc-9cda-5e53ba4d4bba} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpOne must be greater than 0.: while executing 'FUNCTION replaceRegexpOne(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceRegexpOne(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33920) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceRegexpOne(haystack, needle, 'x') FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e4798df in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:09.670428 [ 3035 ] {b24d3da5-21d2-4bdc-9cda-5e53ba4d4bba} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpOne must be greater than 0.: while executing 'FUNCTION replaceRegexpOne(haystack :: 0, needle :: 1, 'x' :: 2) -> replaceRegexpOne(haystack, needle, 'x') String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e4798df in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:09.865257 [ 3035 ] {a75acd20-cd3a-4c62-856e-30e747c7253a} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceAll must be greater than 0. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33920) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: -- needle: const, replacement: non-const SELECT replaceAll(haystack, '', replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e46d25a in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:09.866884 [ 3035 ] {a75acd20-cd3a-4c62-856e-30e747c7253a} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceAll must be greater than 0. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e46d25a in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.032427 [ 3035 ] {aa613076-8610-4290-a9e2-266e46eca5a2} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceOne must be greater than 0. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33920) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceOne(haystack, '', replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e471524 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.033531 [ 3035 ] {aa613076-8610-4290-a9e2-266e46eca5a2} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceOne must be greater than 0. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e471524 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.200888 [ 3035 ] {45523a81-c6b0-4bd5-9e43-d00b2c35cf92} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpAll must be greater than 0. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33920) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceRegexpAll(haystack, '', replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e474e6c in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.201956 [ 3035 ] {45523a81-c6b0-4bd5-9e43-d00b2c35cf92} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpAll must be greater than 0. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e474e6c in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.380287 [ 3035 ] {70592251-4542-4908-a816-230aabbe53dd} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpOne must be greater than 0. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33920) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceRegexpOne(haystack, '', replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e479c0c in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.381401 [ 3035 ] {70592251-4542-4908-a816-230aabbe53dd} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpOne must be greater than 0. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e479c0c in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.504432 [ 3035 ] {c3b38826-02bd-4052-bb7b-4ad5b1d45cbf} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceAll must be greater than 0.: while executing 'FUNCTION replaceAll(haystack :: 0, needle :: 1, replacement :: 2) -> replaceAll(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33920) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: -- needle: non-const, replacement: non-const SELECT replaceAll(haystack, needle, replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e46d0e2 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.505803 [ 3035 ] {c3b38826-02bd-4052-bb7b-4ad5b1d45cbf} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceAll must be greater than 0.: while executing 'FUNCTION replaceAll(haystack :: 0, needle :: 1, replacement :: 2) -> replaceAll(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e46d0e2 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.621708 [ 3035 ] {4f2bf20c-3ac4-4fe4-913a-e02b4c7be600} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceOne must be greater than 0.: while executing 'FUNCTION replaceOne(haystack :: 0, needle :: 1, replacement :: 2) -> replaceOne(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33920) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceOne(haystack, needle, replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e4713ac in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.622939 [ 3035 ] {4f2bf20c-3ac4-4fe4-913a-e02b4c7be600} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceOne must be greater than 0.: while executing 'FUNCTION replaceOne(haystack :: 0, needle :: 1, replacement :: 2) -> replaceOne(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e4713ac in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.777296 [ 3035 ] {f1188886-baab-47d5-b5c8-cda5b52b6f47} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpAll must be greater than 0.: while executing 'FUNCTION replaceRegexpAll(haystack :: 0, needle :: 1, replacement :: 2) -> replaceRegexpAll(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33920) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceRegexpAll(haystack, needle, replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e474c40 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.778754 [ 3035 ] {f1188886-baab-47d5-b5c8-cda5b52b6f47} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpAll must be greater than 0.: while executing 'FUNCTION replaceRegexpAll(haystack :: 0, needle :: 1, replacement :: 2) -> replaceRegexpAll(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpAll>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e474c40 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.880220 [ 3035 ] {1c4d48ef-f0c6-47e0-841b-b2b696f3afeb} executeQuery: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpOne must be greater than 0.: while executing 'FUNCTION replaceRegexpOne(haystack :: 0, needle :: 1, replacement :: 2) -> replaceRegexpOne(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33920) (comment: 02536_replace_with_nonconst_needle_and_replacement.sql) (in query: SELECT replaceRegexpOne(haystack, needle, replacement) FROM test_tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e4799e0 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:10.881529 [ 3035 ] {1c4d48ef-f0c6-47e0-841b-b2b696f3afeb} TCPHandler: Code: 69. DB::Exception: Length of the pattern argument in function replaceRegexpOne must be greater than 0.: while executing 'FUNCTION replaceRegexpOne(haystack :: 0, needle :: 1, replacement :: 2) -> replaceRegexpOne(haystack, needle, replacement) String : 3'. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionStringReplace, DB::(anonymous namespace)::NameReplaceRegexpOne>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e4799e0 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:11.622792 [ 1524 ] {842b8e5f-c71f-4253-9f6a-87b68a12d5b8} executeQuery: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for Val. (ILLEGAL_PREWHERE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47808) (comment: 02527_storage_merge_prewhere_different_type.sql) (in query: SELECT Val FROM merge1 PREWHERE Val = 65536 OR Val = 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x000000001953ea18 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:854: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195353ef in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:11.623855 [ 1524 ] {842b8e5f-c71f-4253-9f6a-87b68a12d5b8} TCPHandler: Code: 182. DB::Exception: Storage Merge doesn't support PREWHERE for Val. (ILLEGAL_PREWHERE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::addPrewhereAliasActions() @ 0x000000001953ea18 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:854: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195353ef in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:12.945178 [ 2837 ] {d8706298-da0d-4839-a92c-22ff5a64fb38} executeQuery: Code: 36. DB::Exception: StorageExecutable argument "foobar" is invalid query. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47852) (comment: 02517_executable_pool_bad_input_query.sql) (in query: CREATE TABLE test_table (value String) ENGINE=ExecutablePool('nonexist.py', 'TabSeparated', (foobar));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:0: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x000000001a128477 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a128c80 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:12.947788 [ 2837 ] {d8706298-da0d-4839-a92c-22ff5a64fb38} TCPHandler: Code: 36. DB::Exception: StorageExecutable argument "foobar" is invalid query. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:0: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x000000001a128477 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a128c80 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:12.958607 [ 2837 ] {b9bb4f45-a702-4767-b512-84e2294a080e} executeQuery: Code: 36. DB::Exception: StorageExecutable argument "'(SELECT 1)'" is invalid query. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47852) (comment: 02517_executable_pool_bad_input_query.sql) (in query: CREATE TABLE test_table (value String) ENGINE=ExecutablePool('nonexist.py', 'TabSeparated', '(SELECT 1)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:0: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x000000001a128477 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a128c80 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:12.959661 [ 2837 ] {b9bb4f45-a702-4767-b512-84e2294a080e} TCPHandler: Code: 36. DB::Exception: StorageExecutable argument "'(SELECT 1)'" is invalid query. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:0: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x000000001a128477 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a128c80 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:12.967225 [ 2837 ] {826e2fbb-4cbc-4a2b-99dc-48108d1e0a8c} executeQuery: Code: 36. DB::Exception: StorageExecutable argument "[1, 2, 3]" is invalid query. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47852) (comment: 02517_executable_pool_bad_input_query.sql) (in query: CREATE TABLE test_table (value String) ENGINE=ExecutablePool('nonexist.py', 'TabSeparated', [1,2,3]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:0: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x000000001a128477 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a128c80 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:12.969556 [ 2837 ] {826e2fbb-4cbc-4a2b-99dc-48108d1e0a8c} TCPHandler: Code: 36. DB::Exception: StorageExecutable argument "[1, 2, 3]" is invalid query. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageExecutable.cpp:0: DB::registerStorageExecutable(DB::StorageFactory&)::$_1::operator()(DB::StorageFactory::Arguments const&, bool) const @ 0x000000001a128477 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a128c80 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:16.389623 [ 3035 ] {17641949-4d24-43dd-bf33-6d3242d7ed2c} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected ')' at end of stream.: Cannot extract table structure from Values format file. You can specify the structure manually. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47974) (comment: 02502_bad_values_schema_inference.sql) (in query: desc format(Values, '(\'abc)');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000000fa711b9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000000fa57af3 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:73: DB::ValuesSchemaReader::readRowAndGetDataTypes() @ 0x000000001b2a4d3a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowSchemaReader::readSchema() @ 0x000000001b04f92f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001778dff3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:16.391536 [ 3035 ] {17641949-4d24-43dd-bf33-6d3242d7ed2c} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected ')' at end of stream.: Cannot extract table structure from Values format file. You can specify the structure manually. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000000fa711b9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000000fa57af3 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:73: DB::ValuesSchemaReader::readRowAndGetDataTypes() @ 0x000000001b2a4d3a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowSchemaReader::readSchema() @ 0x000000001b04f92f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFormat::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001778dff3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:16.586603 [ 1524 ] {4f86e06b-6820-4861-aad6-7ad6d9c1608c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 4.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47980) (comment: 02501_limits_on_result_for_view.sql) (in query: -- test SELECT * from 02501_view settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:16.592287 [ 1524 ] {4f86e06b-6820-4861-aad6-7ad6d9c1608c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 4.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:16.657217 [ 1435 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:52902). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:44:16.771474 [ 7302 ] {0b89dcd9-fd8d-4ba7-ba70-642326d35c77} executeQuery: Code: 80. DB::Exception: It's not allowed to specify explicit zookeeper_path and replica_name for ReplicatedMergeTree arguments in Replicated database. If you really want to specify them explicitly, enable setting database_replicated_allow_replicated_engine_arguments. (INCORRECT_QUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47990) (comment: 02514_database_replicated_no_arguments_for_rmt.sh) (in query: CREATE TABLE test_6djw8k5p_db.tab_rmt_fail (`x` UInt32) ENGINE = ReplicatedMergeTree('/clickhouse/tables/02514_database_replicated_no_arguments_for_rmt_test_6djw8k5p/root/{shard}', '{replica}') ORDER BY x SETTINGS index_granularity = 26444, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 22648, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 373472, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 7518128747, index_granularity_bytes = 26009014, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30793, primary_key_compress_block_size = 32980), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [244]) @ 0x000000001868bee6 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000018672ab7 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:698: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000018672fb8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a603c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:16.772966 [ 7302 ] {0b89dcd9-fd8d-4ba7-ba70-642326d35c77} TCPHandler: Code: 80. DB::Exception: It's not allowed to specify explicit zookeeper_path and replica_name for ReplicatedMergeTree arguments in Replicated database. If you really want to specify them explicitly, enable setting database_replicated_allow_replicated_engine_arguments. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [244]) @ 0x000000001868bee6 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseReplicated.cpp:0: DB::DatabaseReplicated::checkQueryValid(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000018672ab7 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseReplicated.cpp:698: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000018672fb8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a603c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:20.148047 [ 2900 ] {4c1218cd-8497-4345-b3dc-8f7aa3a70200} executeQuery: Code: 36. DB::Exception: Using storage_file_read_method=mmap is not safe in server mode. Consider using pread.: While executing File. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48130) (comment: 02497_storage_file_reader_selection.sh) (in query: SELECT * FROM file('/dev/null', 'LineAsString') FORMAT Null -- { serverError BAD_ARGUMENTS }), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:321: DB::(anonymous namespace)::createReadBuffer(String const&, stat const&, bool, int, String const&, std::shared_ptr) @ 0x000000001a12e678 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFile.cpp:1264: DB::StorageFileSource::generate() @ 0x000000001a148bcb in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:20.149712 [ 2900 ] {4c1218cd-8497-4345-b3dc-8f7aa3a70200} TCPHandler: Code: 36. DB::Exception: Using storage_file_read_method=mmap is not safe in server mode. Consider using pread.: While executing File. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:321: DB::(anonymous namespace)::createReadBuffer(String const&, stat const&, bool, int, String const&, std::shared_ptr) @ 0x000000001a12e678 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFile.cpp:1264: DB::StorageFileSource::generate() @ 0x000000001a148bcb in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 11. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:23.784526 [ 2834 ] {63023a3a-2784-4e70-803c-88bd5720e9aa} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 't2.value'. In scope SELECT toTypeName(t2_value), t2.value AS t2_value FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 USING (id). Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47696) (comment: 02481_analyzer_join_alias_unknown_identifier_crash.sql) (in query: SELECT toTypeName(t2_value), t2.value AS t2_value FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 USING (id);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String const&, String&&, String&&) @ 0x000000001943ae38 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f9c17 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e52c0 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:23.788557 [ 2834 ] {63023a3a-2784-4e70-803c-88bd5720e9aa} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 't2.value'. In scope SELECT toTypeName(t2_value), t2.value AS t2_value FROM test_table_join_1 AS t1 INNER JOIN test_table_join_2 USING (id). Maybe you meant: ['t1.value']. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String const&, String&&, String&&) @ 0x000000001943ae38 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f9c17 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e52c0 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:24.369425 [ 2837 ] {cbe3b7d5-de25-4521-aa2f-e54c3f109135} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(b :: 0, c :: 1) -> intDiv(b, c) Int32 : 2'. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47730) (comment: 02481_prewhere_filtered_rows_div_by_zero.sql) (in query: -- Check that division by zero occurs on some rows SELECT intDiv(b, c) FROM test_filter;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)0>(int const*, int const*, int*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d97f3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b819c9e in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b813e82 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a801c in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:24.372295 [ 2837 ] {cbe3b7d5-de25-4521-aa2f-e54c3f109135} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(b :: 0, c :: 1) -> intDiv(b, c) Int32 : 2'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)0>(int const*, int const*, int*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d97f3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b819c9e in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b813e82 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a801c in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:28.593406 [ 2900 ] {3f21e709-6695-4d4a-afde-dbff378bccd7} executeQuery: Code: 36. DB::Exception: The maximum value for the input argument of function factorial is 20: While processing factorial(100). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47902) (comment: 02478_factorial.sql) (in query: select factorial(100);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [69]) @ 0x00000000097d3a86 in /usr/bin/clickhouse 3. DB::UnaryOperationImpl>::vectorImplAVX2(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x000000000a3bf532 in /usr/bin/clickhouse 4. DB::UnaryOperationImpl>::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x000000000a3bf1c5 in /usr/bin/clickhouse 5. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000a3be433 in /usr/bin/clickhouse 6. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3bd44f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:44:28.596277 [ 2900 ] {3f21e709-6695-4d4a-afde-dbff378bccd7} TCPHandler: Code: 36. DB::Exception: The maximum value for the input argument of function factorial is 20: While processing factorial(100). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [69]) @ 0x00000000097d3a86 in /usr/bin/clickhouse 3. DB::UnaryOperationImpl>::vectorImplAVX2(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x000000000a3bf532 in /usr/bin/clickhouse 4. DB::UnaryOperationImpl>::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x000000000a3bf1c5 in /usr/bin/clickhouse 5. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000a3be433 in /usr/bin/clickhouse 6. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3bd44f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:44:28.856769 [ 2900 ] {8aeb911c-2e08-43cc-a7f7-3501c3eb5312} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function factorial: While processing factorial('100'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47902) (comment: 02478_factorial.sql) (in query: select factorial('100');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionUnaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a3c4ea0 in /usr/bin/clickhouse 4. DB::FunctionUnaryArithmetic::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a3bd7b6 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:44:28.874223 [ 2900 ] {8aeb911c-2e08-43cc-a7f7-3501c3eb5312} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function factorial: While processing factorial('100'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionUnaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a3c4ea0 in /usr/bin/clickhouse 4. DB::FunctionUnaryArithmetic::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a3bd7b6 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:44:29.085766 [ 2900 ] {b1107b01-980a-4b0b-aa75-878db65e985a} executeQuery: Code: 43. DB::Exception: Illegal type of argument of function factorial, should not be floating point or big int: While processing factorial(100.1234). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47902) (comment: 02478_factorial.sql) (in query: select factorial(100.1234);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [88]) @ 0x0000000008013826 in /usr/bin/clickhouse 3. DB::UnaryOperationImpl>::vectorImplAVX2(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x000000000a3c3a20 in /usr/bin/clickhouse 4. DB::UnaryOperationImpl>::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x000000000a3c3825 in /usr/bin/clickhouse 5. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000a3bef97 in /usr/bin/clickhouse 6. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3bd44f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:44:29.087284 [ 2900 ] {b1107b01-980a-4b0b-aa75-878db65e985a} TCPHandler: Code: 43. DB::Exception: Illegal type of argument of function factorial, should not be floating point or big int: While processing factorial(100.1234). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [88]) @ 0x0000000008013826 in /usr/bin/clickhouse 3. DB::UnaryOperationImpl>::vectorImplAVX2(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x000000000a3c3a20 in /usr/bin/clickhouse 4. DB::UnaryOperationImpl>::vector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&) @ 0x000000000a3c3825 in /usr/bin/clickhouse 5. bool DB::FunctionUnaryArithmetic::castType::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)>(DB::IDataType const*, auto&&) @ 0x000000000a3bef97 in /usr/bin/clickhouse 6. DB::FunctionUnaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3bd44f in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:44:35.405052 [ 1524 ] {54b9333d-7c8f-40dd-807c-f1e3788b07b2} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36888) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1) FINAL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193b125a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7f8c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193aae82 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7fac in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x00000000193a7c11 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959cf4c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:35.412150 [ 1524 ] {54b9333d-7c8f-40dd-807c-f1e3788b07b2} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193b125a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7f8c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193aae82 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7fac in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x00000000193a7c11 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959cf4c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:35.442660 [ 1524 ] {27800449-8607-426c-b0e8-0c61b826b013} executeQuery: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36888) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1) SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193b125a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7f8c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193aae82 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7fac in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x00000000193a7c11 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959cf4c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:35.448238 [ 1524 ] {27800449-8607-426c-b0e8-0c61b826b013} TCPHandler: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193b125a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7f8c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193aae82 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7fac in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x00000000193a7c11 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959cf4c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:35.478319 [ 1524 ] {d75d9289-758d-42e9-98f9-d3a3d1c45dd6} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36888) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1) FINAL SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193b125a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7f8c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193aae82 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7fac in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x00000000193a7c11 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959cf4c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:35.491793 [ 1524 ] {d75d9289-758d-42e9-98f9-d3a3d1c45dd6} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193b125a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7f8c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193aae82 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7fac in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x00000000193a7c11 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959cf4c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:35.634621 [ 1524 ] {35522db9-6d1f-467c-8c45-789f804f583d} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36888) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1) SELECT * FROM cte_subquery FINAL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de2ba in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:35.654105 [ 1524 ] {35522db9-6d1f-467c-8c45-789f804f583d} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de2ba in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:35.693399 [ 1524 ] {a27df766-d9a2-461a-a5b7-2726649fe2c1} executeQuery: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36888) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1) SELECT * FROM cte_subquery SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de2ba in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:35.705110 [ 1524 ] {a27df766-d9a2-461a-a5b7-2726649fe2c1} TCPHandler: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de2ba in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:35.734561 [ 1524 ] {e16c9e9a-4750-4bb2-8178-030b2fa01a09} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36888) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1) SELECT * FROM cte_subquery FINAL SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de2ba in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:35.740942 [ 1524 ] {e16c9e9a-4750-4bb2-8178-030b2fa01a09} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de2ba in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:35.777180 [ 1524 ] {7a95e284-52f6-4ad9-8322-e96a2c45fa9a} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36888) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1 UNION ALL SELECT 1) FINAL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193b125a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7f8c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193aae82 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7fac in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x00000000193a7c11 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959cf4c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:36.294618 [ 1524 ] {7a95e284-52f6-4ad9-8322-e96a2c45fa9a} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193b125a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7f8c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193aae82 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7fac in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x00000000193a7c11 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959cf4c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:36.307945 [ 1524 ] {3f5b4cec-10bc-4029-959a-869c9fe4cfe0} executeQuery: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36888) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1 UNION ALL SELECT 1) SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193b125a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7f8c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193aae82 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7fac in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x00000000193a7c11 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959cf4c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:36.311618 [ 1524 ] {3f5b4cec-10bc-4029-959a-869c9fe4cfe0} TCPHandler: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193b125a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7f8c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193aae82 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7fac in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x00000000193a7c11 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959cf4c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:36.334710 [ 1524 ] {8d897f83-a487-4617-bdf3-3e11f7d20569} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36888) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: SELECT * FROM (SELECT 1 UNION ALL SELECT 1) FINAL SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193b125a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7f8c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193aae82 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7fac in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x00000000193a7c11 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959cf4c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:36.340618 [ 1524 ] {8d897f83-a487-4617-bdf3-3e11f7d20569} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery SELECT 1 UNION ALL SELECT 1. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193b125a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7f8c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:164: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectWithUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193aae82 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::(anonymous namespace)::QueryTreeBuilder::buildSelectOrUnionExpression(std::shared_ptr const&, bool, String const&, std::shared_ptr const&) const @ 0x00000000193a7fac in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreeBuilder.cpp:0: DB::buildQueryTree(std::shared_ptr, std::shared_ptr) @ 0x00000000193a7c11 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:133: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959cf4c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:36.379561 [ 1524 ] {48a43a16-bdb7-4ddb-8c94-1fd83ec4fe13} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36888) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1 UNION ALL SELECT 1) SELECT * FROM cte_subquery FINAL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de2ba in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:36.384170 [ 1524 ] {48a43a16-bdb7-4ddb-8c94-1fd83ec4fe13} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de2ba in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:36.401281 [ 1524 ] {c285f7eb-667e-40fb-b0bf-c11d33c7c9ad} executeQuery: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36888) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1 UNION ALL SELECT 1) SELECT * FROM cte_subquery SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de2ba in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:36.407179 [ 1524 ] {c285f7eb-667e-40fb-b0bf-c11d33c7c9ad} TCPHandler: Code: 1. DB::Exception: Table expression modifiers SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de2ba in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:36.435835 [ 1524 ] {4aff9275-ae6a-4365-b396-e6a5a7251b3d} executeQuery: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36888) (comment: 02474_analyzer_subqueries_table_expression_modifiers.sql) (in query: WITH cte_subquery AS (SELECT 1 UNION ALL SELECT 1) SELECT * FROM cte_subquery FINAL SAMPLE 1/2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de2ba in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:36.437707 [ 1524 ] {4aff9275-ae6a-4365-b396-e6a5a7251b3d} TCPHandler: Code: 1. DB::Exception: Table expression modifiers FINAL SAMPLE 1 / 2 are not supported for subquery cte_subquery. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de2ba in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:38.386697 [ 1435 ] {6aa7d1db-a004-4929-be60-455097029e5f} executeQuery: Code: 59. DB::Exception: Illegal type Int128 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37370) (comment: 02473_prewhere_with_bigint.sql) (in query: SELECT a FROM prewhere_int128 PREWHERE a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000001aa7e9d5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000001aa8503c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001b576bd2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001a973d39 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001a95ae5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001a94bbb6 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001ac6f429 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:38.387994 [ 1435 ] {6aa7d1db-a004-4929-be60-455097029e5f} TCPHandler: Code: 59. DB::Exception: Illegal type Int128 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000001aa7e9d5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000001aa8503c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001b576bd2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001a973d39 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001a95ae5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001a94bbb6 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001ac6f429 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:38.550834 [ 1435 ] {35a3ae62-db33-41fb-8708-7ed9d7a3f65f} executeQuery: Code: 59. DB::Exception: Illegal type Int256 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37370) (comment: 02473_prewhere_with_bigint.sql) (in query: SELECT a FROM prewhere_int256 PREWHERE a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000001aa7e9d5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000001aa8503c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001b576bd2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001a973d39 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001a95ae5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001a94bbb6 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001ac6f429 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:38.552004 [ 1435 ] {35a3ae62-db33-41fb-8708-7ed9d7a3f65f} TCPHandler: Code: 59. DB::Exception: Illegal type Int256 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000001aa7e9d5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000001aa8503c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001b576bd2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001a973d39 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001a95ae5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001a94bbb6 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001ac6f429 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:38.606281 [ 1435 ] {2f49974a-36e4-4ce9-8b6c-8db3d0f86a6b} executeQuery: Code: 59. DB::Exception: Illegal type UInt128 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37370) (comment: 02473_prewhere_with_bigint.sql) (in query: SELECT a FROM prewhere_uint128 PREWHERE a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000001aa7e9d5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000001aa8503c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001b576bd2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001a973d39 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001a95ae5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001a94bbb6 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001ac6f429 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:38.607276 [ 1435 ] {2f49974a-36e4-4ce9-8b6c-8db3d0f86a6b} TCPHandler: Code: 59. DB::Exception: Illegal type UInt128 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000001aa7e9d5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000001aa8503c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001b576bd2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001a973d39 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001a95ae5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001a94bbb6 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001ac6f429 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:38.672050 [ 1435 ] {e7be149f-9106-48d9-9b39-ca20f3b8f101} executeQuery: Code: 59. DB::Exception: Illegal type UInt256 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37370) (comment: 02473_prewhere_with_bigint.sql) (in query: SELECT a FROM prewhere_uint256 PREWHERE a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000001aa7e9d5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000001aa8503c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001b576bd2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001a973d39 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001a95ae5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001a94bbb6 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001ac6f429 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:38.673938 [ 1435 ] {e7be149f-9106-48d9-9b39-ca20f3b8f101} TCPHandler: Code: 59. DB::Exception: Illegal type UInt256 of column for filter. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::applyPrewhereActions(DB::Block, std::shared_ptr const&) @ 0x000000001aa7e9d5 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::transformHeader(DB::Block, std::shared_ptr const&, std::shared_ptr const&, std::vector> const&) @ 0x000000001aa8503c in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:254: DB::ReadFromMergeTree::ReadFromMergeTree(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector>, std::vector>, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr, std::shared_ptr, unsigned long, unsigned long, bool, std::shared_ptr, std::equal_to, std::allocator>>>, Poco::Logger*, std::shared_ptr, bool) @ 0x000000001b576bd2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000], std::allocator>>, std::vector, std::allocator>>, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&>(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::vector>&, std::vector>&, DB::MergeTreeData const&, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr&, unsigned long const&, unsigned long const&, bool&, std::shared_ptr, std::equal_to, std::allocator>>>&, Poco::Logger* const&, std::shared_ptr&, bool&) @ 0x000000001a973d39 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1304: DB::MergeTreeDataSelectExecutor::readFromParts(std::vector, std::allocator>>, std::vector, std::allocator>>, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, std::shared_ptr, bool) const @ 0x000000001a95ae5d in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, unsigned long, DB::QueryProcessingStage::Enum, std::shared_ptr, std::equal_to, std::allocator>>>, bool) const @ 0x000000001a94bbb6 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001ac6f429 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:39.216150 [ 8754 ] {6290b87e-f596-4c29-9480-56641fa2fd73} executeQuery: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(CAST('9223372036854775807', 'Int64')). (CANNOT_FORMAT_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37496) (comment: 02463_julian_day_ubsan.sql) (in query: SELECT fromModifiedJulianDay(9223372036854775807 :: Int64);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x00000000084eaae6 in /usr/bin/clickhouse 3. DB::OrdinalDate::init(long) @ 0x0000000008dfe975 in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(long) @ 0x0000000008dfdd45 in /usr/bin/clickhouse 5. DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a465310 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:44:39.217695 [ 8754 ] {6290b87e-f596-4c29-9480-56641fa2fd73} TCPHandler: Code: 490. DB::Exception: Value cannot be represented as date because it's out of range: While processing fromModifiedJulianDay(CAST('9223372036854775807', 'Int64')). (CANNOT_FORMAT_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x00000000084eaae6 in /usr/bin/clickhouse 3. DB::OrdinalDate::init(long) @ 0x0000000008dfe975 in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(long) @ 0x0000000008dfdd45 in /usr/bin/clickhouse 5. DB::ExecutableFunctionFromModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a465310 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:44:39.810122 [ 1524 ] {05d26fa7-cde4-45d5-8f96-0df3e202928b} executeQuery: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37620) (comment: 02473_functions_in_readonly_mode.sh) (in query: SELECT * from format('TSV', '123')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017dd3530 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000017dd1e7d in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:695: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x0000000017da83d2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x00000000188ea5ec in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:34: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a76f16 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:39.811516 [ 1524 ] {05d26fa7-cde4-45d5-8f96-0df3e202928b} TCPHandler: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017dd3530 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000017dd1e7d in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:695: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x0000000017da83d2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x00000000188ea5ec in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:34: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a76f16 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:40.351587 [ 1524 ] {9f6c8c1b-fb6a-464e-b5c1-97b4baf65715} executeQuery: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37664) (comment: 02473_functions_in_readonly_mode.sh) (in query: INSERT INTO FUNCTION null('x String') (x) FORMAT TSV ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017dd3530 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000017dd1e7d in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:695: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x0000000017da83d2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x00000000188ea5ec in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:34: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a76f16 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:105: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019503154 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:40.353054 [ 1524 ] {9f6c8c1b-fb6a-464e-b5c1-97b4baf65715} TCPHandler: Code: 164. DB::Exception: default: Cannot execute query in readonly mode. (READONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017dd3530 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000017dd1e7d in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:695: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x0000000017da83d2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x00000000188ea5ec in /usr/bin/clickhouse 7. ./build_docker/./src/TableFunctions/ITableFunction.cpp:34: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a76f16 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:105: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019503154 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:41.748674 [ 8776 ] {bec8ca01-10f0-4bcf-b534-3fa18a2fe1e7} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46890) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:41.749882 [ 8776 ] {bec8ca01-10f0-4bcf-b534-3fa18a2fe1e7} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:44.224910 [ 763 ] {} ViewDeps: Found table test_1qe2tl2f.test_race_condition_mv_ (a6f872fe-30f6-46d7-bd0d-7a018015df05) in the graph with unexpected UUID b76caa32-ef46-466a-b843-e38733e100a5 2024.05.01 14:44:46.765872 [ 8754 ] {ad2956c4-9edc-4cfa-982c-49d6087964f7} executeQuery: Code: 60. DB::Exception: Table db_test_h3csov64.test does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47624) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_h3csov64.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:46.767847 [ 8754 ] {ad2956c4-9edc-4cfa-982c-49d6087964f7} TCPHandler: Code: 60. DB::Exception: Table db_test_h3csov64.test does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:48.803856 [ 742 ] {} test_cev9x6bi.rmt2 (66e2eb53-6eb1-4458-934f-1bdbe74d9bfb): Metadata version (2) on replica is not up to date with metadata (1) on source replica 1 2024.05.01 14:44:48.985937 [ 961 ] {} test_cev9x6bi.rmt2 (66e2eb53-6eb1-4458-934f-1bdbe74d9bfb): Attempt to update metadata of version 2 to older version 1 when processing log entry queue-0000000000: format version: 4 create_time: 2024-05-01 14:44:48 source replica: 1 block_id: alter alter_version 1 have_mutation 0 columns_str_size: 69 columns format version: 1 3 columns: `n` Int32 `m` Int32 `k` UInt128 metadata_str_size: 190 metadata format version: 1 date column: sampling expression: index granularity: 8714 mode: 0 sign column: primary key: data format version: 1 partition key: granularity bytes: 22306009 2024.05.01 14:44:49.228465 [ 1140 ] {d51d3606-6cc6-42f1-8435-e79979199499} executeQuery: Code: 218. DB::Exception: Table db_test_h3csov64..inner_id.b9af69d3-afcc-42c8-b465-db21c27d1ebe is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48018) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_h3csov64.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000000e4beffc in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000001a07b3e5 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:0: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3e4d25 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x00000000195049c8 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3e792f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1595: DB::InterpreterInsertQuery::execute() @ 0x0000000019508e20 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:49.232943 [ 1140 ] {d51d3606-6cc6-42f1-8435-e79979199499} TCPHandler: Code: 218. DB::Exception: Table db_test_h3csov64..inner_id.b9af69d3-afcc-42c8-b465-db21c27d1ebe is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000000e4beffc in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000001a07b3e5 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:0: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3e4d25 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x00000000195049c8 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3e792f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1595: DB::InterpreterInsertQuery::execute() @ 0x0000000019508e20 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:49.740034 [ 764 ] {} ViewDeps: Found table test_1qe2tl2f.test_race_condition_mv_ (cbdb30c0-d45b-49b8-83d7-f613e5698b1c) in the graph with unexpected UUID 988932c3-6537-472b-bb7b-e2e7d322a223 2024.05.01 14:44:50.726915 [ 1524 ] {2df2f67a-e542-40df-bdcc-32ee73e9406c} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/db_test_h3csov64/test_02124/.inner_id.b9af69d3-afcc-42c8-b465-db21c27d1ebe/replicas/1: while pushing to view db_test_h3csov64.test_mv_c (b9af69d3-afcc-42c8-b465-db21c27d1ebe). (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48184) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_h3csov64.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac2964a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:50.742796 [ 1524 ] {2df2f67a-e542-40df-bdcc-32ee73e9406c} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/db_test_h3csov64/test_02124/.inner_id.b9af69d3-afcc-42c8-b465-db21c27d1ebe/replicas/1: while pushing to view db_test_h3csov64.test_mv_c (b9af69d3-afcc-42c8-b465-db21c27d1ebe). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac2964a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:51.692037 [ 9652 ] {40f2da3b-4197-4ed6-b255-f2a615bbcb17} executeQuery: Code: 60. DB::Exception: Table db_test_h3csov64.test does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42270) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_h3csov64.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:51.862813 [ 9652 ] {40f2da3b-4197-4ed6-b255-f2a615bbcb17} TCPHandler: Code: 60. DB::Exception: Table db_test_h3csov64.test does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:51.863139 [ 9616 ] {5b805ae9-4d82-4cc3-a425-d5184e72ae1d} executeQuery: Code: 44. DB::Exception: Cannot create table with column 's' which type is 'FixedString(257)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it. (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42262) (comment: 02426_create_suspicious_fixed_string.sql) (in query: CREATE TABLE suspicious_fixed_string (`id` UInt64, `s` FixedString(257)) ENGINE = MergeTree ORDER BY id SETTINGS index_granularity = 35609, min_bytes_for_wide_part = 424460821, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 22908, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 5463885178, index_granularity_bytes = 3915031, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 20056, primary_key_compress_block_size = 99914), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, int&&) @ 0x00000000192b71e9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::validateTableStructure(DB::ASTCreateQuery const&, DB::InterpreterCreateQuery::TableProperties const&) const @ 0x00000000192a23c5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:808: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929e8d7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:51.864692 [ 9616 ] {5b805ae9-4d82-4cc3-a425-d5184e72ae1d} TCPHandler: Code: 44. DB::Exception: Cannot create table with column 's' which type is 'FixedString(257)' because fixed string with size > 256 is suspicious. Set setting allow_suspicious_fixed_string_types = 1 in order to allow it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&&, int&&) @ 0x00000000192b71e9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::validateTableStructure(DB::ASTCreateQuery const&, DB::InterpreterCreateQuery::TableProperties const&) const @ 0x00000000192a23c5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:808: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929e8d7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:53.048681 [ 9611 ] {174e491b-4251-478c-948d-c31b41d3fb12} executeQuery: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42430) (comment: 02425_categorical_information_value_properties.sql) (in query: SELECT categoricalInformationValue(c1, c2) FROM VALUES((NULL, 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013dd0b02 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000fe243de in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6da9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:53.052802 [ 9611 ] {174e491b-4251-478c-948d-c31b41d3fb12} TCPHandler: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013dd0b02 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000fe243de in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6da9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:53.358989 [ 9611 ] {4bd23787-17ec-456d-914b-6a2e211ade60} executeQuery: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42430) (comment: 02425_categorical_information_value_properties.sql) (in query: SELECT categoricalInformationValue(c1, c2) FROM VALUES((NULL, NULL));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013dd0b02 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000fe243de in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6da9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:53.360147 [ 9611 ] {4bd23787-17ec-456d-914b-6a2e211ade60} TCPHandler: Code: 43. DB::Exception: All the arguments of aggregate function categoricalInformationValue should be UInt8. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp:172: DB::(anonymous namespace)::createAggregateFunctionCategoricalIV(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x0000000013dd0b02 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000fe243de in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:101: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6da9a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:54.949229 [ 9611 ] {06e060ce-8881-423a-8191-7f18968341df} executeQuery: Code: 81. DB::Exception: Database db_test_h3csov64 does not exist. Maybe you meant test_h3csov64?. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42782) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_h3csov64.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c39d9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x000000001890befd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a53a05 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:54.951084 [ 9611 ] {06e060ce-8881-423a-8191-7f18968341df} TCPHandler: Code: 81. DB::Exception: Database db_test_h3csov64 does not exist. Maybe you meant test_h3csov64?. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c39d9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x000000001890befd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a53a05 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:55.317037 [ 791 ] {} ViewDeps: Found table test_1qe2tl2f.test_race_condition_mv_ (c252b0a3-2207-4f7e-9c2a-8a72025a18f2) in the graph with unexpected UUID 343d9023-8167-45eb-9cbb-904d3e90a84e 2024.05.01 14:44:55.600970 [ 9616 ] {35065a3e-ddea-41ec-9806-0ebb3e7bc0ec} executeQuery: Code: 60. DB::Exception: Table db_test_h3csov64.test does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42940) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_h3csov64.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:55.603461 [ 9616 ] {35065a3e-ddea-41ec-9806-0ebb3e7bc0ec} TCPHandler: Code: 60. DB::Exception: Table db_test_h3csov64.test does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:56.924163 [ 9616 ] {bbaf245d-ec48-499e-8ccd-24a8cd20a77e} executeQuery: Code: 218. DB::Exception: Table db_test_h3csov64.test is dropped or detached. (TABLE_IS_DROPPED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:43110) (comment: 02437_drop_mv_restart_replicas.sh) (in query: CREATE MATERIALIZED VIEW IF NOT EXISTS db_test_h3csov64.test_mv_b ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_02124/{table}', '1') PARTITION BY A ORDER BY tuple() SETTINGS index_granularity = 36976, min_bytes_for_wide_part = 365631881, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 8153, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 6348205954, index_granularity_bytes = 17888768, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 72580, primary_key_compress_block_size = 97205 AS SELECT test, A, count() AS c FROM db_test_h3csov64.test GROUP BY test, A), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000000e4beffc in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000001a07b3e5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:437: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530125 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929dc54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:56.926740 [ 9616 ] {bbaf245d-ec48-499e-8ccd-24a8cd20a77e} TCPHandler: Code: 218. DB::Exception: Table db_test_h3csov64.test is dropped or detached. (TABLE_IS_DROPPED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&) @ 0x000000000e4beffc in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:56: DB::IStorage::lockForShare(String const&, std::chrono::duration> const&) @ 0x000000001a07b3e5 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:437: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530125 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929dc54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:58.512703 [ 5065 ] {test_b0t5xz90_test_02585_query_to_kill_id_1} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60980) (comment: 02585_query_status_deadlock.sh) (in query: select * from remote('127.0.0.2', 'system.numbers_mt') where number in (select * from tmp);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:891: DB::Connection::sendExternalTablesData(std::vector>, std::allocator>>>&) @ 0x000000001adcc9f7 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendExternalTablesData(std::vector>, std::allocator>>>, std::allocator>, std::allocator>>>>>&) @ 0x000000001adf11f8 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:730: DB::RemoteQueryExecutor::sendExternalTables() @ 0x00000000183ee246 in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQueryUnlocked(DB::ClientInfo::QueryKind, std::function) @ 0x00000000183ecc9e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x000000001840064b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 14:44:58.618674 [ 9611 ] {413b9f6f-86ed-4c34-a9c4-df921159bdfc} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56106) (comment: 02585_query_status_deadlock.sh) (in query: SELECT `number` FROM `system`.`numbers_mt` WHERE `number` IN ((SELECT * FROM `tmp`) AS `_subquery29`)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000001af189f8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x000000001890abd4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a53036 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:58.618689 [ 5065 ] {test_b0t5xz90_test_02585_query_to_kill_id_1} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:891: DB::Connection::sendExternalTablesData(std::vector>, std::allocator>>>&) @ 0x000000001adcc9f7 in /usr/bin/clickhouse 7. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::sendExternalTablesData(std::vector>, std::allocator>>>, std::allocator>, std::allocator>>>>>&) @ 0x000000001adf11f8 in /usr/bin/clickhouse 8. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:730: DB::RemoteQueryExecutor::sendExternalTables() @ 0x00000000183ee246 in /usr/bin/clickhouse 9. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::sendQueryUnlocked(DB::ClientInfo::QueryKind, std::function) @ 0x00000000183ecc9e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x000000001840064b in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 14:44:58.753699 [ 9611 ] {413b9f6f-86ed-4c34-a9c4-df921159bdfc} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000001af189f8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x000000001890abd4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a53036 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:58.754938 [ 9611 ] {413b9f6f-86ed-4c34-a9c4-df921159bdfc} TCPHandler: Client has gone away. 2024.05.01 14:44:58.755382 [ 7349 ] {3154fd16-8c31-46aa-a308-f7bf9a69088b} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/db_test_h3csov64/test_02124/.inner_id.0d685bff-a6c6-4ff5-844a-2a936136b73d/replicas/1: while pushing to view db_test_h3csov64.test_mv_c (0d685bff-a6c6-4ff5-844a-2a936136b73d). (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:43466) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_h3csov64.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac2964a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:58.760335 [ 7349 ] {3154fd16-8c31-46aa-a308-f7bf9a69088b} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/db_test_h3csov64/test_02124/.inner_id.0d685bff-a6c6-4ff5-844a-2a936136b73d/replicas/1: while pushing to view db_test_h3csov64.test_mv_c (0d685bff-a6c6-4ff5-844a-2a936136b73d). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac2964a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:59.229407 [ 1524 ] {07970225-d041-436a-9333-7249d38d3d34} executeQuery: Code: 81. DB::Exception: Database db_test_h3csov64 does not exist. Maybe you meant test_h3csov64?. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:43566) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_h3csov64.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c39d9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x000000001890befd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a53a05 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:44:59.230927 [ 1524 ] {07970225-d041-436a-9333-7249d38d3d34} TCPHandler: Code: 81. DB::Exception: Database db_test_h3csov64 does not exist. Maybe you meant test_h3csov64?. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c39d9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x000000001890befd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a53a05 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:01.333104 [ 8754 ] {27a8d9f1-1cc5-4ebd-8bc3-6fa8638f15d0} executeQuery: Code: 667. DB::Exception: Table is not initialized yet. (NOT_INITIALIZED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36744) (comment: 02437_drop_mv_restart_replicas.sh) (in query: INSERT INTO db_test_h3csov64.test SELECT 'case1', number%3, rand() FROM numbers(5)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [29]) @ 0x000000000851d3c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001a2f75ed in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3ea151 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x00000000195049c8 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3e792f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1595: DB::InterpreterInsertQuery::execute() @ 0x0000000019508e20 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:01.335397 [ 8754 ] {27a8d9f1-1cc5-4ebd-8bc3-6fa8638f15d0} TCPHandler: Code: 667. DB::Exception: Table is not initialized yet. (NOT_INITIALIZED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [29]) @ 0x000000000851d3c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001a2f75ed in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3ea151 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildChain(std::shared_ptr const&, std::shared_ptr const&, std::vector> const&, std::shared_ptr, std::atomic*) @ 0x00000000195049c8 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/Chain.h:21: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3e792f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1595: DB::InterpreterInsertQuery::execute() @ 0x0000000019508e20 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:01.484711 [ 8754 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:36744). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:45:03.666635 [ 1435 ] {fe6b033e-80a1-444a-a91b-781e355c4248} executeQuery: Code: 48. DB::Exception: Method getDataAt is not supported for Array(Nullable(UInt8)): While executing AggregatingTransform. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37102) (comment: 02419_contingency_array_nullable.sql) (in query: SELECT contingency(1, [1, NULL]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/ColumnArray.cpp:0: DB::ColumnArray::getDataAt(unsigned long) const @ 0x0000000019b574e1 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/UniqVariadicHash.h:50: DB::AggregateFunctionCrossTab::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000013a0660c in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000013a06f73 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:1381: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x0000000018bbf6dc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1e7d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:03.670717 [ 1435 ] {fe6b033e-80a1-444a-a91b-781e355c4248} TCPHandler: Code: 48. DB::Exception: Method getDataAt is not supported for Array(Nullable(UInt8)): While executing AggregatingTransform. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Columns/ColumnArray.cpp:0: DB::ColumnArray::getDataAt(unsigned long) const @ 0x0000000019b574e1 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/UniqVariadicHash.h:50: DB::AggregateFunctionCrossTab::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x0000000013a0660c in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:541: DB::IAggregateFunctionHelper>::addBatchSinglePlace(unsigned long, unsigned long, char*, DB::IColumn const**, DB::Arena*, long) const @ 0x0000000013a06f73 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Aggregator.cpp:1381: void DB::Aggregator::executeWithoutKeyImpl(char*&, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, DB::Arena*) const @ 0x0000000018bbf6dc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Aggregator.cpp:1586: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1e7d in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 14. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:07.551199 [ 9605 ] {0e69ba00-6594-4542-8f84-12bcd247d42d} executeQuery: Poco::Exception. Code: 1000, e.code() = 0, Exception: Unsupported language for region name. Supported languages are: 'ru', 'en', 'ua', 'uk', 'by', 'kz', 'tr', 'de', 'uz', 'lv', 'lt', 'et', 'pt', 'he', 'vi'. (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37622) (comment: 02411_legacy_geobase.sql) (in query: SELECT regionToName(number::UInt32, 'xy') FROM numbers(13);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String&&, int) @ 0x000000001f5fa043 in /usr/bin/clickhouse 1. RegionsNames::getLanguageEnum(String const&) @ 0x00000000084daab7 in /usr/bin/clickhouse 2. DB::FunctionRegionToName::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084d9541 in /usr/bin/clickhouse 3. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:07.552914 [ 9605 ] {0e69ba00-6594-4542-8f84-12bcd247d42d} TCPHandler: Code: 1000. DB::Exception: Exception: Unsupported language for region name. Supported languages are: 'ru', 'en', 'ua', 'uk', 'by', 'kz', 'tr', 'de', 'uz', 'lv', 'lt', 'et', 'pt', 'he', 'vi'. (POCO_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String&&, int) @ 0x000000001f5fa043 in /usr/bin/clickhouse 1. RegionsNames::getLanguageEnum(String const&) @ 0x00000000084daab7 in /usr/bin/clickhouse 2. DB::FunctionRegionToName::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084d9541 in /usr/bin/clickhouse 3. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:10.940302 [ 7302 ] {4fa72767-e0fc-4146-829d-3eb5d11156c4} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22+01:02:03' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22+01:02:03'). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37984) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22+01:02:03');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f4030d in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:10.941602 [ 7302 ] {4fa72767-e0fc-4146-829d-3eb5d11156c4} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22+01:02:03' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22+01:02:03'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f4030d in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.127921 [ 7302 ] {fa13a0ea-bec6-4759-9245-cf08fd3fa6fa} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22+01:02:03' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22+01:02:03'). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37984) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22+01:02:03');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f67229 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f5726e in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55f46 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55180 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.129113 [ 7302 ] {fa13a0ea-bec6-4759-9245-cf08fd3fa6fa} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22+01:02:03' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22+01:02:03'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f67229 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f5726e in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55f46 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55180 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.138878 [ 7302 ] {3f8f537e-fa11-49bd-818a-91f0c8bfe923} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:0' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22 01:02:0'). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37984) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22 01:02:0');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f4030d in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.139906 [ 7302 ] {3f8f537e-fa11-49bd-818a-91f0c8bfe923} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:0' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22 01:02:0'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f4030d in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.147580 [ 7302 ] {0cc87c6c-456d-4c42-8971-c7bffcdc7996} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:0' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22 01:02:0'). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37984) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22 01:02:0');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f67229 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f5726e in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55f46 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55180 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.148594 [ 7302 ] {0cc87c6c-456d-4c42-8971-c7bffcdc7996} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:0' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22 01:02:0'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f67229 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f5726e in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55f46 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55180 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.158136 [ 7302 ] {2b88fd4e-c18b-49de-b7f6-e93f85416ccc} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22 01:02:03.'). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37984) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22 01:02:03.');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f4030d in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.159179 [ 7302 ] {2b88fd4e-c18b-49de-b7f6-e93f85416ccc} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.' as Date: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate('2022-08-22 01:02:03.'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f4030d in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.167384 [ 7302 ] {4f2db9fc-0c86-41fc-9aed-79c912f845e5} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22 01:02:03.'). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37984) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22 01:02:03.');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f67229 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f5726e in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55f46 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55180 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.168393 [ 7302 ] {4f2db9fc-0c86-41fc-9aed-79c912f845e5} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.' as Date32: syntax error at position 10 (parsed just '2022-08-22'): While processing toDate32('2022-08-22 01:02:03.'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f67229 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f5726e in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55f46 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55180 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.178778 [ 7302 ] {19fc1add-525c-43fb-bcf2-012c9615fc1c} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.111a' as Date: syntax error at position 23 (parsed just '2022-08-22 01:02:03.111'): While processing toDate('2022-08-22 01:02:03.111a'). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37984) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22 01:02:03.111a');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f4030d in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.180037 [ 7302 ] {19fc1add-525c-43fb-bcf2-012c9615fc1c} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.111a' as Date: syntax error at position 23 (parsed just '2022-08-22 01:02:03.111'): While processing toDate('2022-08-22 01:02:03.111a'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f4030d in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.189610 [ 7302 ] {0cdd4052-1891-4337-b1ba-c6b496156580} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.2b' as Date32: syntax error at position 21 (parsed just '2022-08-22 01:02:03.2'): While processing toDate32('2022-08-22 01:02:03.2b'). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37984) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22 01:02:03.2b');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f67229 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f5726e in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55f46 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55180 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.190882 [ 7302 ] {0cdd4052-1891-4337-b1ba-c6b496156580} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.2b' as Date32: syntax error at position 21 (parsed just '2022-08-22 01:02:03.2'): While processing toDate32('2022-08-22 01:02:03.2b'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f67229 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f5726e in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55f46 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55180 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.200103 [ 7302 ] {359094e0-f45c-4887-83cd-a98e6ab529d1} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.a' as Date: syntax error at position 20 (parsed just '2022-08-22 01:02:03.'): While processing toDate('2022-08-22 01:02:03.a'). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37984) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate('2022-08-22 01:02:03.a');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f4030d in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.201604 [ 7302 ] {359094e0-f45c-4887-83cd-a98e6ab529d1} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.a' as Date: syntax error at position 20 (parsed just '2022-08-22 01:02:03.'): While processing toDate('2022-08-22 01:02:03.a'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f4030d in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.213950 [ 7302 ] {de06b236-8d5a-492d-9d00-1a52f73eeecc} executeQuery: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.b' as Date32: syntax error at position 20 (parsed just '2022-08-22 01:02:03.'): While processing toDate32('2022-08-22 01:02:03.b'). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37984) (comment: 02388_conversion_from_string_with_datetime64_to_date_and_date32.sql) (in query: SELECT toDate32('2022-08-22 01:02:03.b');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f67229 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f5726e in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55f46 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55180 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.215221 [ 7302 ] {de06b236-8d5a-492d-9d00-1a52f73eeecc} TCPHandler: Code: 6. DB::Exception: Cannot parse string '2022-08-22 01:02:03.b' as Date32: syntax error at position 20 (parsed just '2022-08-22 01:02:03.'): While processing toDate32('2022-08-22 01:02:03.b'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f67229 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f5726e in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55f46 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f55180 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:45:11.832604 [ 9611 ] {1c7e899d-9ae1-4aa5-b6b3-0bc95b0aeb11} executeQuery: Code: 162. DB::Exception: Too deep subqueries. Maximum: 1. (TOO_DEEP_SUBQUERIES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35392) (comment: 02379_analyzer_subquery_depth.sql) (in query: SELECT (SELECT a FROM (SELECT 1 AS a)) SETTINGS max_subquery_depth = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:6798: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de34f in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5579: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e5a2e in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000193ee0f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db237 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5579: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e5a2e in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:11.833696 [ 9611 ] {1c7e899d-9ae1-4aa5-b6b3-0bc95b0aeb11} TCPHandler: Code: 162. DB::Exception: Too deep subqueries. Maximum: 1. (TOO_DEEP_SUBQUERIES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:6798: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de34f in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5579: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e5a2e in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000193ee0f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db237 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5579: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e5a2e in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:17.229260 [ 9616 ] {3b2e6247-f59c-400c-b04a-7f818f617357} executeQuery: Code: 456. DB::Exception: Substitution `n` is not set. (UNKNOWN_QUERY_PARAMETER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36252) (comment: 02377_extend_protocol_with_query_parameters.sh) (in query: select {n: UInt8} -- { serverError 456 }), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x0000000019a36bb9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x0000000019a35496 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x0000000019a37741 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x0000000019a35576 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x0000000019a37741 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x0000000019a35576 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x0000000019a37741 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x0000000019a35576 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x0000000019a37741 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x0000000019a35576 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:732: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a52358 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:17.230477 [ 9616 ] {3b2e6247-f59c-400c-b04a-7f818f617357} TCPHandler: Code: 456. DB::Exception: Substitution `n` is not set. (UNKNOWN_QUERY_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:0: DB::ReplaceQueryParameterVisitor::visitQueryParameter(std::shared_ptr&) @ 0x0000000019a36bb9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:38: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x0000000019a35496 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x0000000019a37741 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x0000000019a35576 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x0000000019a37741 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x0000000019a35576 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x0000000019a37741 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x0000000019a35576 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::ReplaceQueryParameterVisitor::visitChildren(std::shared_ptr&) @ 0x0000000019a37741 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ReplaceQueryParameterVisitor.cpp:48: DB::ReplaceQueryParameterVisitor::visit(std::shared_ptr&) @ 0x0000000019a35576 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:732: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a52358 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:24.343399 [ 1140 ] {2ae0a25f-3d36-4693-8e5b-cf4ce3a5c0b8} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexistent.txt, errno: 2, strerror: No such file or directory: While processing file('nonexistent.txt'). (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50140) (comment: 02357_file_default_value.sql) (in query: SELECT file('nonexistent.txt');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000000f9d05a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000000f9cb588 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000000fa51b79 in /usr/bin/clickhouse 5. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008267f85 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:45:24.354815 [ 1140 ] {2ae0a25f-3d36-4693-8e5b-cf4ce3a5c0b8} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexistent.txt, errno: 2, strerror: No such file or directory: While processing file('nonexistent.txt'). (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000000f9d05a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000000f9cb588 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000000fa51b79 in /usr/bin/clickhouse 5. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008267f85 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:45:26.483962 [ 9611 ] {7a4b26c1-efd9-429b-8119-2bb70abb201f} executeQuery: Code: 80. DB::Exception: USearch index must not have more than one parameters. (INCORRECT_QUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50170) (comment: 02354_usearch_index.sql) (in query: -- must have at most 1 arguments CREATE TABLE tab(id Int32, vector Array(Float32), INDEX usearch_index vector TYPE usearch('too', 'many')) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [53]) @ 0x000000000a553946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:324: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bbd8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:26.501657 [ 9611 ] {7a4b26c1-efd9-429b-8119-2bb70abb201f} TCPHandler: Code: 80. DB::Exception: USearch index must not have more than one parameters. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [53]) @ 0x000000000a553946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:324: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bbd8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:26.753282 [ 9611 ] {b4ffc286-8b8d-4ce3-a7bc-373ef0b86d06} executeQuery: Code: 80. DB::Exception: Distance function argument of USearch index must be of type String. (INCORRECT_QUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50170) (comment: 02354_usearch_index.sql) (in query: -- first argument (distance_function) must be String CREATE TABLE tab(id Int32, vector Array(Float32), INDEX usearch_index vector TYPE usearch(3)) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000000e50a1e6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:327: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bc90 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:26.763778 [ 9611 ] {b4ffc286-8b8d-4ce3-a7bc-373ef0b86d06} TCPHandler: Code: 80. DB::Exception: Distance function argument of USearch index must be of type String. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000000e50a1e6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:327: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bc90 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:26.988944 [ 9611 ] {77dfd4ae-7475-429f-a873-03267ef60d57} executeQuery: Code: 7. DB::Exception: USearch indexes must be created on a single column. (INCORRECT_NUMBER_OF_COLUMNS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50170) (comment: 02354_usearch_index.sql) (in query: -- must be created on single column CREATE TABLE tab(id Int32, vector Array(Float32), INDEX usearch_index (vector, id) TYPE usearch()) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0x0000000007c84186 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:332: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bb62 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:26.990160 [ 9611 ] {77dfd4ae-7475-429f-a873-03267ef60d57} TCPHandler: Code: 7. DB::Exception: USearch indexes must be created on a single column. (INCORRECT_NUMBER_OF_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0x0000000007c84186 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:332: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bb62 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:27.172626 [ 9611 ] {5d160d07-aeb9-417e-8e0a-0f76de1ec30c} executeQuery: Code: 117. DB::Exception: USearch index only supports distance functions 'L2Distance' and 'cosineDistance'. (INCORRECT_DATA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50170) (comment: 02354_usearch_index.sql) (in query: -- reject unsupported distance functions CREATE TABLE tab(id Int32, vector Array(Float32), INDEX usearch_index vector TYPE usearch('wormholeDistance')) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, char const* const&) @ 0x000000000e481166 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:340: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bc55 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:27.180833 [ 9611 ] {5d160d07-aeb9-417e-8e0a-0f76de1ec30c} TCPHandler: Code: 117. DB::Exception: USearch index only supports distance functions 'L2Distance' and 'cosineDistance'. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, char const* const&, char const* const&) @ 0x000000000e481166 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:340: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bc55 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:27.481634 [ 9611 ] {52ccc577-62fb-40d3-a76e-98c1eaa32b1c} executeQuery: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50170) (comment: 02354_usearch_index.sql) (in query: CREATE TABLE tab(id Int32, vector Float32, INDEX usearch_index vector TYPE usearch()) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000017e2ec86 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bb9d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:27.483087 [ 9611 ] {52ccc577-62fb-40d3-a76e-98c1eaa32b1c} TCPHandler: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000017e2ec86 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bb9d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:27.663346 [ 9611 ] {5da51d3f-6b2e-4975-abd3-ac1dd20be92e} executeQuery: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50170) (comment: 02354_usearch_index.sql) (in query: CREATE TABLE tab(id Int32, vector Array(Float64), INDEX usearch_index vector TYPE usearch()) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000017e2ec86 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bccb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:27.676604 [ 9611 ] {5da51d3f-6b2e-4975-abd3-ac1dd20be92e} TCPHandler: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000017e2ec86 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bccb in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:27.898755 [ 9611 ] {faef338b-8169-49b9-abbc-0f7d233a498d} executeQuery: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50170) (comment: 02354_usearch_index.sql) (in query: CREATE TABLE tab(id Int32, vector Tuple(Float64), INDEX usearch_index vector TYPE usearch()) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000017e2ec86 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bb27 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:27.910023 [ 9611 ] {faef338b-8169-49b9-abbc-0f7d233a498d} TCPHandler: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000017e2ec86 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bb27 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:27.954888 [ 9611 ] {23f87c6b-8854-4a20-8654-62a656d37325} executeQuery: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50170) (comment: 02354_usearch_index.sql) (in query: CREATE TABLE tab(id Int32, vector LowCardinality(Float32), INDEX usearch_index vector TYPE usearch()) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000017e2ec86 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bb9d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:27.997369 [ 9611 ] {23f87c6b-8854-4a20-8654-62a656d37325} TCPHandler: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000017e2ec86 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bb9d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:28.050004 [ 9611 ] {32f5296d-c869-4f44-9189-590dff2d303e} executeQuery: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50170) (comment: 02354_usearch_index.sql) (in query: CREATE TABLE tab(id Int32, vector Nullable(Float32), INDEX usearch_index vector TYPE usearch()) ENGINE = MergeTree ORDER BY id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000017e2ec86 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bb9d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:28.050877 [ 9611 ] {32f5296d-c869-4f44-9189-590dff2d303e} TCPHandler: Code: 44. DB::Exception: USearch indexes can only be created on columns of type Array(Float32) and Tuple(Float32). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000017e2ec86 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:347: DB::usearchIndexValidator(DB::IndexDescription const&, bool) @ 0x000000001aa0bb9d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::IndexDescription const&, bool) @ 0x000000001a99c78b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeIndices.cpp:108: DB::MergeTreeIndexFactory::validate(DB::IndexDescription const&, bool) const @ 0x000000001a99712a in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/unordered_set:785: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8246aa in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:29.662428 [ 9611 ] {5bce716c-75d1-4f68-9152-8d418b89213d} executeQuery: Code: 80. DB::Exception: The dimension of the space in the request (2) does not match the dimension in the index (3). (INCORRECT_QUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50170) (comment: 02354_usearch_index.sql) (in query: SELECT * FROM tab ORDER BY L2Distance(vector, [0.0, 0.0]) LIMIT 3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x000000000f96b5a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:255: std::vector> DB::MergeTreeIndexConditionUSearch::getUsefulRangesImpl<(unum::usearch::metric_kind_t)101>(std::shared_ptr) const @ 0x000000001aa0c8f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:228: DB::MergeTreeIndexConditionUSearch::getUsefulRanges(std::shared_ptr) const @ 0x000000001aa0af2e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterMarksUsingIndex(std::shared_ptr, std::shared_ptr, std::shared_ptr, DB::MarkRanges const&, DB::Settings const&, DB::MergeTreeReaderSettings const&, DB::MarkCache*, DB::UncompressedCache*, Poco::Logger*) @ 0x000000001a96dcda in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool)::$_0::operator()(unsigned long) const @ 0x000000001a969f16 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1038: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a96706b in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:29.664017 [ 9611 ] {5bce716c-75d1-4f68-9152-8d418b89213d} TCPHandler: Code: 80. DB::Exception: The dimension of the space in the request (2) does not match the dimension in the index (3). (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&&, unsigned long&&) @ 0x000000000f96b5a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:255: std::vector> DB::MergeTreeIndexConditionUSearch::getUsefulRangesImpl<(unum::usearch::metric_kind_t)101>(std::shared_ptr) const @ 0x000000001aa0c8f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:228: DB::MergeTreeIndexConditionUSearch::getUsefulRanges(std::shared_ptr) const @ 0x000000001aa0af2e in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterMarksUsingIndex(std::shared_ptr, std::shared_ptr, std::shared_ptr, DB::MarkRanges const&, DB::Settings const&, DB::MergeTreeReaderSettings const&, DB::MarkCache*, DB::UncompressedCache*, Poco::Logger*) @ 0x000000001a96dcda in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:987: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool)::$_0::operator()(unsigned long) const @ 0x000000001a969f16 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:1038: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a96706b in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:30.064331 [ 9611 ] {d477ae2c-ae70-40d0-8067-3e0a0c6542e7} executeQuery: Code: 80. DB::Exception: Distance can't be negative. Got -1. (INCORRECT_QUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50170) (comment: 02354_usearch_index.sql) (in query: SELECT * FROM tab WHERE L2Distance(vector, [0.0, 0.0, 10.0]) < -1.0 LIMIT 3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, float&) @ 0x00000000082a262d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ApproximateNearestNeighborIndexesCommon.cpp:354: DB::ApproximateNearestNeighborCondition::matchRPNWhere(std::vector>&, DB::ApproximateNearestNeighborInformation&) @ 0x000000001aa06cd1 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ApproximateNearestNeighborIndexesCommon.cpp:0: DB::ApproximateNearestNeighborCondition::checkQueryStructure(DB::SelectQueryInfo const&) @ 0x000000001aa04b41 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ApproximateNearestNeighborIndexesCommon.cpp:58: DB::ApproximateNearestNeighborCondition::ApproximateNearestNeighborCondition(DB::SelectQueryInfo const&, std::shared_ptr) @ 0x000000001aa0437d in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:211: DB::MergeTreeIndexConditionUSearch::MergeTreeIndexConditionUSearch(DB::IndexDescription const&, DB::SelectQueryInfo const&, String const&, std::shared_ptr) @ 0x000000001aa0a9fb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeTreeIndexUSearch::createIndexCondition(DB::SelectQueryInfo const&, std::shared_ptr) const @ 0x000000001aa0b47f in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1336: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001b589a90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ReadFromMergeTree::applyFilters() @ 0x000000001b588317 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:208: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001b600d3a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:486: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001b56a271 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b568dad in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:30.079404 [ 9611 ] {d477ae2c-ae70-40d0-8067-3e0a0c6542e7} TCPHandler: Code: 80. DB::Exception: Distance can't be negative. Got -1. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, float&) @ 0x00000000082a262d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ApproximateNearestNeighborIndexesCommon.cpp:354: DB::ApproximateNearestNeighborCondition::matchRPNWhere(std::vector>&, DB::ApproximateNearestNeighborInformation&) @ 0x000000001aa06cd1 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ApproximateNearestNeighborIndexesCommon.cpp:0: DB::ApproximateNearestNeighborCondition::checkQueryStructure(DB::SelectQueryInfo const&) @ 0x000000001aa04b41 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ApproximateNearestNeighborIndexesCommon.cpp:58: DB::ApproximateNearestNeighborCondition::ApproximateNearestNeighborCondition(DB::SelectQueryInfo const&, std::shared_ptr) @ 0x000000001aa0437d in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeIndexUSearch.cpp:211: DB::MergeTreeIndexConditionUSearch::MergeTreeIndexConditionUSearch(DB::IndexDescription const&, DB::SelectQueryInfo const&, String const&, std::shared_ptr) @ 0x000000001aa0a9fb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::MergeTreeIndexUSearch::createIndexCondition(DB::SelectQueryInfo const&, std::shared_ptr) const @ 0x000000001aa0b47f in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1336: DB::buildIndexes(std::optional&, std::shared_ptr, DB::MergeTreeData const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr const&) @ 0x000000001b589a90 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ReadFromMergeTree::applyFilters() @ 0x000000001b588317 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:208: DB::QueryPlanOptimizations::optimizeTreeThirdPass(DB::QueryPlan&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001b600d3a in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:486: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001b56a271 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b568dad in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:38.746105 [ 2834 ] {a776ad1a-7d5c-4f16-8df6-58cc06560165} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:48162). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48162) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 890, 500), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:39.008604 [ 1140 ] {282f4104-b27b-40e9-8481-20d4531e28ab} executeQuery: Code: 1. DB::Exception: Lambda as function argument resolved as list node with size 2. Expected 1. In scope x -> _CAST(1, 'UInt64'), _CAST(1, 'UInt64'). (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40340) (comment: 02343_analyzer_lambdas.sql) (in query: WITH cast(tuple(1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT arrayMap(x -> compound_value.*, [1,2,3]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x0000000007fbb2d0 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940590e in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:39.082508 [ 1140 ] {282f4104-b27b-40e9-8481-20d4531e28ab} TCPHandler: Code: 1. DB::Exception: Lambda as function argument resolved as list node with size 2. Expected 1. In scope x -> _CAST(1, 'UInt64'), _CAST(1, 'UInt64'). (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, String&&) @ 0x0000000007fbb2d0 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940590e in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:39.082600 [ 2834 ] {a776ad1a-7d5c-4f16-8df6-58cc06560165} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:48162). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:45:39.083079 [ 2834 ] {a776ad1a-7d5c-4f16-8df6-58cc06560165} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:48162). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:39.084006 [ 2834 ] {a776ad1a-7d5c-4f16-8df6-58cc06560165} TCPHandler: Client has gone away. 2024.05.01 14:45:39.496032 [ 1140 ] {0c497894-6043-4fbe-b888-7dca0626dce0} executeQuery: Code: 1. DB::Exception: APPLY transformer APPLY x -> compound_value.* resolved as list node with size 2. Expected 1. In scope WITH CAST((1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT id, test_table.* APPLY x -> compound_value.* FROM test_table. (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40340) (comment: 02343_analyzer_lambdas.sql) (in query: WITH cast(tuple(1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT id, test_table.* APPLY x -> compound_value.* FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, unsigned long&, String&&) @ 0x0000000019443282 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001942499e in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e45b8 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:39.559966 [ 1140 ] {0c497894-6043-4fbe-b888-7dca0626dce0} TCPHandler: Code: 1. DB::Exception: APPLY transformer APPLY x -> compound_value.* resolved as list node with size 2. Expected 1. In scope WITH CAST((1, 1), 'Tuple (value_1 UInt64, value_2 UInt64)') AS compound_value SELECT id, test_table.* APPLY x -> compound_value.* FROM test_table. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, unsigned long&, String&&) @ 0x0000000019443282 in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveMatcher(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001942499e in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e45b8 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:39.560023 [ 1435 ] {02366_7} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36438) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_7.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:39.587317 [ 8775 ] {17af89cb-e62a-4946-b2ff-361815a97a33} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:48136). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48136) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 891, 500), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:39.611541 [ 8775 ] {17af89cb-e62a-4946-b2ff-361815a97a33} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:48136). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:45:39.611825 [ 8775 ] {17af89cb-e62a-4946-b2ff-361815a97a33} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:48136). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:39.617947 [ 8775 ] {17af89cb-e62a-4946-b2ff-361815a97a33} TCPHandler: Client has gone away. 2024.05.01 14:45:39.720935 [ 1435 ] {02366_7} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:39.765784 [ 2900 ] {fe3e3054-7ca5-414d-bea9-2467cf867757} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:48160). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48160) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 975, 500), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:39.767745 [ 2900 ] {fe3e3054-7ca5-414d-bea9-2467cf867757} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:48160). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:45:39.768049 [ 2900 ] {fe3e3054-7ca5-414d-bea9-2467cf867757} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:48160). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:39.772704 [ 2900 ] {fe3e3054-7ca5-414d-bea9-2467cf867757} TCPHandler: Client has gone away. 2024.05.01 14:45:40.661352 [ 8758 ] {e7941ee1-a477-414c-a1ff-2ffb8aa9bd7b} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:48152). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48152) (comment: 02479_race_condition_between_insert_and_droppin_mv.sh) (in query: INSERT INTO test_race_condition_landing SELECT number, toString(number), toString(number) from system.numbers limit 956, 500), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:40.664320 [ 8758 ] {e7941ee1-a477-414c-a1ff-2ffb8aa9bd7b} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:48152). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:45:40.664609 [ 8758 ] {e7941ee1-a477-414c-a1ff-2ffb8aa9bd7b} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:48152). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:40.666875 [ 8758 ] {e7941ee1-a477-414c-a1ff-2ffb8aa9bd7b} TCPHandler: Client has gone away. 2024.05.01 14:45:42.790504 [ 9610 ] {02366_6} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36504) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_6.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:42.790850 [ 9609 ] {02366_5} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36486) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_5.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:42.863895 [ 9603 ] {02366_3} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36500) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_3.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:43.049528 [ 9609 ] {02366_5} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:43.050503 [ 9610 ] {02366_6} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:43.168975 [ 9603 ] {02366_3} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:44.116428 [ 1435 ] {88ad9e57-c733-4d5b-a7b1-79c3c7c5e64b} executeQuery: Code: 174. DB::Exception: Cyclic aliases for identifier 'b'. In scope SELECT a AS b, b AS a. (CYCLIC_ALIASES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34004) (comment: 02341_analyzer_aliases_basics.sql) (in query: SELECT a AS b, b AS a;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f99ce in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f8bd1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e52c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:44.118066 [ 1435 ] {88ad9e57-c733-4d5b-a7b1-79c3c7c5e64b} TCPHandler: Code: 174. DB::Exception: Cyclic aliases for identifier 'b'. In scope SELECT a AS b, b AS a. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f99ce in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f8bd1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e52c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:44.521724 [ 1435 ] {9311d360-d98f-464b-a432-d26a24d0dae6} executeQuery: Code: 174. DB::Exception: Cyclic aliases for identifier 'id'. In scope SELECT id + b AS id, id AS b FROM test_table. (CYCLIC_ALIASES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34004) (comment: 02341_analyzer_aliases_basics.sql) (in query: SELECT (id + b) AS id, id as b FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f99ce in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f8bd1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e52c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:44.529805 [ 1435 ] {9311d360-d98f-464b-a432-d26a24d0dae6} TCPHandler: Code: 174. DB::Exception: Cyclic aliases for identifier 'id'. In scope SELECT id + b AS id, id AS b FROM test_table. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f99ce in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f8bd1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e52c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:44.699489 [ 1435 ] {16d0babd-e167-4286-b1b8-63461f64806f} executeQuery: Code: 174. DB::Exception: Cyclic aliases for identifier 'id'. In scope SELECT ((1 + b) + 1) + id AS id, b AS c, id AS b FROM test_table. (CYCLIC_ALIASES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34004) (comment: 02341_analyzer_aliases_basics.sql) (in query: SELECT (1 + b + 1 + id) AS id, b as c, id as b FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f99ce in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f8bd1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e52c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 16. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 17. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 19. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 20. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 21. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 2024.05.01 14:45:44.700496 [ 1435 ] {16d0babd-e167-4286-b1b8-63461f64806f} TCPHandler: Code: 174. DB::Exception: Cyclic aliases for identifier 'id'. In scope SELECT ((1 + b) + 1) + id AS id, b AS c, id AS b FROM test_table. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f99ce in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromAliases(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f8bd1 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3536: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f6580 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e52c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 16. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 17. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 19. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 20. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 21. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 2024.05.01 14:45:45.368438 [ 9616 ] {c5b7807b-c3e1-4715-8305-7579bfa8155d} executeQuery: Code: 42. DB::Exception: Number of arguments for function base58Encode doesn't match: passed 2, should be 1: While processing base58Encode('Hold my beer...', 'Second arg'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34102) (comment: 02337_base58.sql) (in query: SELECT base58Encode('Hold my beer...', 'Second arg');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:45:45.369854 [ 9616 ] {c5b7807b-c3e1-4715-8305-7579bfa8155d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function base58Encode doesn't match: passed 2, should be 1: While processing base58Encode('Hold my beer...', 'Second arg'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:45:45.559213 [ 9616 ] {4b471167-e8d1-4214-b261-75e5155d232f} executeQuery: Code: 36. DB::Exception: Invalid Base58 value, cannot be decoded: While processing base58Decode('Hold my beer...'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34102) (comment: 02337_base58.sql) (in query: SELECT base58Decode('Hold my beer...');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [40]) @ 0x0000000007ca5d06 in /usr/bin/clickhouse 3. DB::FunctionBase58Conversion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008fab16e in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:45:45.560391 [ 9616 ] {4b471167-e8d1-4214-b261-75e5155d232f} TCPHandler: Code: 36. DB::Exception: Invalid Base58 value, cannot be decoded: While processing base58Decode('Hold my beer...'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [40]) @ 0x0000000007ca5d06 in /usr/bin/clickhouse 3. DB::FunctionBase58Conversion>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008fab16e in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:45:45.597694 [ 7302 ] {02366_8} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34092) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_8.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.616008 [ 7302 ] {02366_8} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.666085 [ 1145 ] {02366_9} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34082) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_9.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.678264 [ 1145 ] {02366_9} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.689376 [ 8754 ] {02366_3} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34006) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_3.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.708290 [ 8754 ] {02366_3} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.713992 [ 2834 ] {02366_2} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34018) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_2.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.730050 [ 1140 ] {02366_6} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34070) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_6.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.731213 [ 2834 ] {02366_2} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.746729 [ 1140 ] {02366_6} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.751771 [ 8758 ] {02366_7} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34030) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_7.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.757936 [ 2900 ] {02366_1} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34014) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_1.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.768393 [ 8758 ] {02366_7} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.778946 [ 2900 ] {02366_1} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.788279 [ 8763 ] {02366_10} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34044) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_10.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.789440 [ 8775 ] {02366_4} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34034) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_4.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.812537 [ 8763 ] {02366_10} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.813028 [ 8775 ] {02366_4} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.847105 [ 11350 ] {02366_5} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34054) (comment: 02366_cancel_write_into_file.sh) (in query: insert into function file('02366_data_5.jsonl') select range(number % 1000) from numbers(100000) settings output_format_parallel_formatting=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:45.862048 [ 11350 ] {02366_5} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:47.174328 [ 1435 ] {4f1b71c6-3d4b-4127-b6bf-6a8d94f5828e} executeQuery: Code: 42. DB::Exception: Number of arguments for function timeSlots doesn't match: passed 1, should be 2 or 3: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.23', 2, 'UTC')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34176) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.23', 2, 'UTC'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e61ddd5 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:45:47.175568 [ 1435 ] {4f1b71c6-3d4b-4127-b6bf-6a8d94f5828e} TCPHandler: Code: 42. DB::Exception: Number of arguments for function timeSlots doesn't match: passed 1, should be 2 or 3: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.23', 2, 'UTC')). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e61ddd5 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:45:47.188115 [ 1435 ] {b06bf58f-aa3e-45f6-843d-214252fbee7b} executeQuery: Code: 42. DB::Exception: Number of arguments for function timeSlots doesn't match: passed 4, should be 2 or 3: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.345', 3, 'UTC'), toDecimal64(62.3, 1), toDecimal64(12.34, 2), 'one more'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34176) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.345', 3, 'UTC'), toDecimal64(62.3, 1), toDecimal64(12.34, 2), 'one more');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e61ddd5 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:45:47.189203 [ 1435 ] {b06bf58f-aa3e-45f6-843d-214252fbee7b} TCPHandler: Code: 42. DB::Exception: Number of arguments for function timeSlots doesn't match: passed 4, should be 2 or 3: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.345', 3, 'UTC'), toDecimal64(62.3, 1), toDecimal64(12.34, 2), 'one more'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e61ddd5 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:45:47.372561 [ 1435 ] {31712528-8d12-4a93-9d5e-77ff582132d0} executeQuery: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be Decimal64 when first argument is DateTime64.: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.456', 3, 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34176) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.456', 3, 'UTC'), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e61e107 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:45:47.373827 [ 1435 ] {31712528-8d12-4a93-9d5e-77ff582132d0} TCPHandler: Code: 43. DB::Exception: Illegal type String of second argument of function timeSlots. Must be Decimal64 when first argument is DateTime64.: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.456', 3, 'UTC'), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e61e107 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:45:47.553927 [ 1435 ] {a3551f25-674c-4a09-b0bb-6eb2d43f96c4} executeQuery: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be Decimal64 when first argument is DateTime64.: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.123', 3, 'UTC'), toDecimal64(600, 0), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34176) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.123', 3, 'UTC'), toDecimal64(600, 0), 'wrong argument');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e61e290 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:45:47.555415 [ 1435 ] {a3551f25-674c-4a09-b0bb-6eb2d43f96c4} TCPHandler: Code: 43. DB::Exception: Illegal type String of third argument of function timeSlots. Must be Decimal64 when first argument is DateTime64.: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.123', 3, 'UTC'), toDecimal64(600, 0), 'wrong argument'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e61e290 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:45:47.733507 [ 1435 ] {7dd6af98-90b0-43e3-8319-b2db5013aef3} executeQuery: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.1232', 4, 'UTC'), toDecimal64(600, 0), toDecimal64(0, 0)). (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34176) (comment: 02319_timeslots_dt64.sql) (in query: SELECT timeSlots(toDateTime64('2000-01-02 03:04:05.1232', 4, 'UTC'), toDecimal64(600, 0), toDecimal64(0, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e61d0e1 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:45:47.734703 [ 1435 ] {7dd6af98-90b0-43e3-8319-b2db5013aef3} TCPHandler: Code: 44. DB::Exception: Third argument for function timeSlots must be greater than zero: While processing timeSlots(toDateTime64('2000-01-02 03:04:05.1232', 4, 'UTC'), toDecimal64(600, 0), toDecimal64(0, 0)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTimeSlots::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e61d0e1 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:45:49.817316 [ 2834 ] {d5660667-82b6-4252-a7c2-00f044a9c47d} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/format_schemas/nonexist, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34230) (comment: 02318_template_schema_inference_bug.sql) (in query: desc file('data_02318.tsv', 'Template') SETTINGS format_template_row='nonexist', format_template_resultset='nonexist';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000000f9d05a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000000f9cb588 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000000fa51b79 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsedTemplateFormatString::ParsedTemplateFormatString(DB::FormatSchemaInfo const&, std::function (String const&)> const&, bool) @ 0x000000001b2908d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/TemplateRowInputFormat.cpp:0: DB::fillRowFormat(DB::FormatSettings const&, std::function (String const&)>, bool) @ 0x000000001b299528 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: String std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::FormatSettings const&) @ 0x000000001b299a39 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::FormatFactory::getAdditionalInfoForSchemaCache(String const&, std::shared_ptr, std::optional const&) @ 0x000000001af34923 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:666: DB::getKeysForSchemaCache(std::vector> const&, String const&, std::optional const&, std::shared_ptr const&) @ 0x000000001af4e289 in /usr/bin/clickhouse 10. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::getKeyForSchemaCache(String const&, String const&, std::optional const&, std::shared_ptr const&) @ 0x000000001af4e07c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:781: DB::StorageFile::tryGetColumnsFromCache(std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x000000001a13446a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:393: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a13005b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:49.818371 [ 2834 ] {d5660667-82b6-4252-a7c2-00f044a9c47d} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/format_schemas/nonexist, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000000f9d05a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000000f9cb588 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000000fa51b79 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsedTemplateFormatString::ParsedTemplateFormatString(DB::FormatSchemaInfo const&, std::function (String const&)> const&, bool) @ 0x000000001b2908d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/Impl/TemplateRowInputFormat.cpp:0: DB::fillRowFormat(DB::FormatSettings const&, std::function (String const&)>, bool) @ 0x000000001b299528 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: String std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*, DB::FormatSettings const&) @ 0x000000001b299a39 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::FormatFactory::getAdditionalInfoForSchemaCache(String const&, std::shared_ptr, std::optional const&) @ 0x000000001af34923 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:666: DB::getKeysForSchemaCache(std::vector> const&, String const&, std::optional const&, std::shared_ptr const&) @ 0x000000001af4e289 in /usr/bin/clickhouse 10. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::getKeyForSchemaCache(String const&, String const&, std::optional const&, std::shared_ptr const&) @ 0x000000001af4e07c in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:781: DB::StorageFile::tryGetColumnsFromCache(std::vector> const&, String const&, std::optional const&, std::shared_ptr) @ 0x000000001a13446a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:393: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a13005b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:50.227275 [ 1435 ] {bf5e5efb-eb24-47b2-8d34-390ed572c027} executeQuery: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, 'pattern\\' :: 1) -> like(haystack, 'pattern\\') UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34238) (comment: 02317_like_with_trailing_escape.sql) (in query: -- const pattern SELECT haystack LIKE 'pattern\\' from tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000000bace266 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x000000000fa46b58 in /usr/bin/clickhouse 4. DB::MatchImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000c570c9d in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c56f085 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:50.228602 [ 1435 ] {bf5e5efb-eb24-47b2-8d34-390ed572c027} TCPHandler: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, 'pattern\\' :: 1) -> like(haystack, 'pattern\\') UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000000bace266 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x000000000fa46b58 in /usr/bin/clickhouse 4. DB::MatchImpl::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000c570c9d in /usr/bin/clickhouse 5. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c56f085 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:50.348371 [ 1435 ] {3710835d-103a-4ce1-b611-3168c8385c64} executeQuery: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, pattern :: 1) -> like(haystack, pattern) UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34238) (comment: 02317_like_with_trailing_escape.sql) (in query: -- non-const pattern SELECT haystack LIKE pattern from tab;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000000bace266 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x000000000fa46b58 in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x000000000c573bf5 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x000000000c572ef1 in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000c570180 in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c56f045 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:50.353144 [ 1435 ] {3710835d-103a-4ce1-b611-3168c8385c64} TCPHandler: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern 'pattern\': while executing 'FUNCTION like(haystack :: 0, pattern :: 1) -> like(haystack, pattern) UInt8 : 2'. (CANNOT_PARSE_ESCAPE_SEQUENCE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000000bace266 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x000000000fa46b58 in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x000000000c573bf5 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x000000000c572ef1 in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000c570180 in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c56f045 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:50.644099 [ 2900 ] {30a9c031-cca7-4996-a541-2708a9dd0ea4} executeQuery: Code: 36. DB::Exception: DELETE query is not supported for table test_ne43x5cb.t_proj. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34226) (comment: 02319_lightweight_delete_on_merge_tree.sql) (in query: DELETE FROM t_proj WHERE a < 100;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:0: DB::InterpreterDeleteQuery::execute() @ 0x0000000019500e67 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:50.645215 [ 2900 ] {30a9c031-cca7-4996-a541-2708a9dd0ea4} TCPHandler: Code: 36. DB::Exception: DELETE query is not supported for table test_ne43x5cb.t_proj. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:0: DB::InterpreterDeleteQuery::execute() @ 0x0000000019500e67 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:50.788691 [ 2900 ] {4f9991e0-136b-4435-aaa5-c426cbaee739} executeQuery: Code: 344. DB::Exception: Lightweight delete mutate is disabled. Set `enable_lightweight_delete` setting to enable it. (SUPPORT_IS_DISABLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34226) (comment: 02319_lightweight_delete_on_merge_tree.sql) (in query: DELETE FROM merge_table_standard_delete WHERE id = 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [92]) @ 0x0000000014244f86 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:83: DB::InterpreterDeleteQuery::execute() @ 0x0000000019500ea7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:50.789569 [ 2900 ] {4f9991e0-136b-4435-aaa5-c426cbaee739} TCPHandler: Code: 344. DB::Exception: Lightweight delete mutate is disabled. Set `enable_lightweight_delete` setting to enable it. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [92]) @ 0x0000000014244f86 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:83: DB::InterpreterDeleteQuery::execute() @ 0x0000000019500ea7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:50.800297 [ 2900 ] {89f8b750-ef91-402b-be2c-48b0b70cd8f2} executeQuery: Code: 344. DB::Exception: Lightweight delete mutate is disabled. Set `enable_lightweight_delete` setting to enable it. (SUPPORT_IS_DISABLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34226) (comment: 02319_lightweight_delete_on_merge_tree.sql) (in query: DELETE FROM merge_table_standard_delete WHERE id = 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [92]) @ 0x0000000014244f86 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:83: DB::InterpreterDeleteQuery::execute() @ 0x0000000019500ea7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:50.801047 [ 2900 ] {89f8b750-ef91-402b-be2c-48b0b70cd8f2} TCPHandler: Code: 344. DB::Exception: Lightweight delete mutate is disabled. Set `enable_lightweight_delete` setting to enable it. (SUPPORT_IS_DISABLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [92]) @ 0x0000000014244f86 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDeleteQuery.cpp:83: DB::InterpreterDeleteQuery::execute() @ 0x0000000019500ea7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:52.114808 [ 8754 ] {683bc27e-a8df-4c1b-a279-41dc5fa9a1f5} executeQuery: Code: 48. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53654) (comment: 02304_grouping_sets_with_rollup_cube.sql) (in query: SELECT number FROM numbers(10) GROUP BY GROUPING SETS ( number, number % 2 ) WITH ROLLUP;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x00000000084eaae6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1368: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001954299d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:52.116160 [ 8754 ] {683bc27e-a8df-4c1b-a279-41dc5fa9a1f5} TCPHandler: Code: 48. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x00000000084eaae6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1368: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001954299d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:52.126251 [ 8754 ] {31b5601c-d695-460c-b0ac-f83ebe51b58b} executeQuery: Code: 48. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53654) (comment: 02304_grouping_sets_with_rollup_cube.sql) (in query: SELECT number FROM numbers(10) GROUP BY GROUPING SETS ( number, number % 2 ) WITH CUBE;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x00000000084eaae6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1368: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001954299d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:52.127665 [ 8754 ] {31b5601c-d695-460c-b0ac-f83ebe51b58b} TCPHandler: Code: 48. DB::Exception: GROUPING SETS are not supported together with ROLLUP and CUBE. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x00000000084eaae6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1368: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x000000001954299d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:54.307428 [ 8763 ] {242a7121-d889-4dbb-926d-98dca2bed57e} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 8 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from JSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02305_schema_inference_with_globs_test_j3d8do2o_data2.jsonl). (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53748) (comment: 02305_schema_inference_with_globs.sh) (in query: desc file('02305_schema_inference_with_globs_test_j3d8do2o_data*.jsonl') settings input_format_max_rows_to_read_for_schema_inference=8), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x00000000138d8fb1 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:33: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000001b04e87c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b0522d3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:54.308810 [ 8763 ] {242a7121-d889-4dbb-926d-98dca2bed57e} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 8 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from JSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02305_schema_inference_with_globs_test_j3d8do2o_data2.jsonl). (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x00000000138d8fb1 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:33: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000001b04e87c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b0522d3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:54.871865 [ 8775 ] {044c5de2-fdce-484c-9d13-ab53a4adb8af} executeQuery: Code: 636. DB::Exception: All attempts to extract table structure from files failed. Errors: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 6 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) To increase the maximum number of rows/bytes to read for structure determination, use setting input_format_max_rows_to_read_for_schema_inference/input_format_max_bytes_to_read_for_schema_inference You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02305_schema_inference_with_globs_test_j3d8do2o_data3.jsonl). (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53794) (comment: 02305_schema_inference_with_globs.sh) (in query: desc file('02305_schema_inference_with_globs_test_j3d8do2o_data*.jsonl') settings input_format_max_rows_to_read_for_schema_inference=16), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:186: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4d488 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:54.873559 [ 8775 ] {044c5de2-fdce-484c-9d13-ab53a4adb8af} TCPHandler: Code: 636. DB::Exception: All attempts to extract table structure from files failed. Errors: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 6 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) To increase the maximum number of rows/bytes to read for structure determination, use setting input_format_max_rows_to_read_for_schema_inference/input_format_max_bytes_to_read_for_schema_inference You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02305_schema_inference_with_globs_test_j3d8do2o_data3.jsonl). (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:186: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4d488 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:55.130784 [ 8754 ] {ca01c9a2-1aba-471c-8ccc-d9609c570ef4} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchAny: While processing multiSearchAny(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53764) (comment: 02294_stringsearch_with_nonconst_needle.sql) (in query: select multiSearchAny(materialize('Hello World'), materialize([]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d15c8ce in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:45:55.131673 [ 8754 ] {ca01c9a2-1aba-471c-8ccc-d9609c570ef4} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchAny: While processing multiSearchAny(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d15c8ce in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:45:55.369413 [ 8754 ] {08f70be3-7620-42a9-913b-8c71456e40ff} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstIndex: While processing multiSearchFirstIndex(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53764) (comment: 02294_stringsearch_with_nonconst_needle.sql) (in query: select multiSearchFirstIndex(materialize('Hello World'), materialize([]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d16812e in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:45:55.369447 [ 8763 ] {86c48523-bbad-49b8-9064-59f0cad61788} executeQuery: Code: 636. DB::Exception: All attempts to extract table structure from files failed. Errors: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 4 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) To increase the maximum number of rows/bytes to read for structure determination, use setting input_format_max_rows_to_read_for_schema_inference/input_format_max_bytes_to_read_for_schema_inference You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02305_schema_inference_with_globs_test_j3d8do2o_data1.jsonl). (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53814) (comment: 02305_schema_inference_with_globs.sh) (in query: desc file('02305_schema_inference_with_globs_test_j3d8do2o_data*.jsonl') settings input_format_max_rows_to_read_for_schema_inference=24), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:186: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4d488 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:55.370439 [ 8754 ] {08f70be3-7620-42a9-913b-8c71456e40ff} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstIndex: While processing multiSearchFirstIndex(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d16812e in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:45:55.370775 [ 8763 ] {86c48523-bbad-49b8-9064-59f0cad61788} TCPHandler: Code: 636. DB::Exception: All attempts to extract table structure from files failed. Errors: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 10 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) Code: 652. DB::Exception: Cannot determine type for column 'x' by first 4 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings. (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) To increase the maximum number of rows/bytes to read for structure determination, use setting input_format_max_rows_to_read_for_schema_inference/input_format_max_bytes_to_read_for_schema_inference You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02305_schema_inference_with_globs_test_j3d8do2o_data1.jsonl). (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:186: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4d488 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:55.607791 [ 8754 ] {0c1da18e-e963-4ed7-b177-444461e83bb7} executeQuery: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstPosition: While processing multiSearchFirstPosition(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53764) (comment: 02294_stringsearch_with_nonconst_needle.sql) (in query: select multiSearchFirstPosition(materialize('Hello World'), materialize([]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d1757ae in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:45:55.608727 [ 8754 ] {0c1da18e-e963-4ed7-b177-444461e83bb7} TCPHandler: Code: 43. DB::Exception: Illegal type Array(Nothing) of argument of function multiSearchFirstPosition: While processing multiSearchFirstPosition(materialize('Hello World'), materialize([])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionsMultiStringSearch>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d1757ae in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:45:58.863316 [ 7302 ] {3e83a324-bd2e-40c1-9577-ec0bbad517d8} executeQuery: Code: 48. DB::Exception: Cannot support collation, please set compatibility_ignore_collation_in_create_table=true. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53998) (comment: 02269_create_table_with_collation.sql) (in query: CREATE TABLE t_02267_collation (x varchar(255) COLLATE utf8_unicode_ci NOT NULL) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000017e2ec86 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:496: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b76a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:58.864121 [ 7302 ] {3e83a324-bd2e-40c1-9577-ec0bbad517d8} TCPHandler: Code: 48. DB::Exception: Cannot support collation, please set compatibility_ignore_collation_in_create_table=true. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [89]) @ 0x0000000017e2ec86 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:496: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b76a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:45:59.354672 [ 9611 ] {67dfaf5d-4d1f-4409-874c-33e8f9453bd6} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '{' before: '1\n': Cannot extract table structure from JSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02268_data.jsonl). (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54010) (comment: 02268_json_wrong_root_type_in_schema_inference.sql) (in query: select * from file('02268_data.jsonl');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000000fa711b9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000000fa57af3 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:73: DB::JSONUtils::readRowAndGetNamesAndDataTypesForJSONEachRow(DB::ReadBuffer&, DB::FormatSettings const&, DB::JSONInferenceInfo*) @ 0x000000001b0ff2b5 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:0: DB::JSONEachRowSchemaReader::readRowAndGetNamesAndDataTypes(bool&) @ 0x000000001b12340c in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b051565 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001a1360c0 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001a136b02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001773f365 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x000000001773c4c2 in /usr/bin/clickhouse 14. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 15. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:45:59.355530 [ 9611 ] {67dfaf5d-4d1f-4409-874c-33e8f9453bd6} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '{' before: '1\n': Cannot extract table structure from JSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02268_data.jsonl). (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000000fa711b9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000000fa57af3 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:73: DB::JSONUtils::readRowAndGetNamesAndDataTypesForJSONEachRow(DB::ReadBuffer&, DB::FormatSettings const&, DB::JSONInferenceInfo*) @ 0x000000001b0ff2b5 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp:0: DB::JSONEachRowSchemaReader::readRowAndGetNamesAndDataTypes(bool&) @ 0x000000001b12340c in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b051565 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001a1360c0 in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001a136b02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001773f365 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x000000001773c4c2 in /usr/bin/clickhouse 14. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 15. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:45:59.500974 [ 9611 ] {688f9bc7-eaaf-4467-9cf6-b01075cfdfe3} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '[' before: '1\n': Cannot extract table structure from JSONCompactEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02268_data.jsonCompactEachRow). (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54010) (comment: 02268_json_wrong_root_type_in_schema_inference.sql) (in query: select * from file('02268_data.jsonCompactEachRow');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000000fa711b9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000000fa57af3 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:73: DB::JSONUtils::readRowAndGetDataTypesForJSONCompactEachRow(DB::ReadBuffer&, DB::FormatSettings const&, DB::JSONInferenceInfo*) @ 0x000000001b100088 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:0: DB::JSONCompactEachRowRowSchemaReader::readRowAndGetDataTypesImpl() @ 0x000000001b117702 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:549: DB::FormatWithNamesAndTypesSchemaReader::readRowAndGetDataTypes() @ 0x000000001b0765d9 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowSchemaReader::readSchema() @ 0x000000001b04f92f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x000000001b074e62 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001a1360c0 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001a136b02 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001773f365 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x000000001773c4c2 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:45:59.501931 [ 9611 ] {688f9bc7-eaaf-4467-9cf6-b01075cfdfe3} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '[' before: '1\n': Cannot extract table structure from JSONCompactEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02268_data.jsonCompactEachRow). (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000000fa711b9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000000fa57af3 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:73: DB::JSONUtils::readRowAndGetDataTypesForJSONCompactEachRow(DB::ReadBuffer&, DB::FormatSettings const&, DB::JSONInferenceInfo*) @ 0x000000001b100088 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp:0: DB::JSONCompactEachRowRowSchemaReader::readRowAndGetDataTypesImpl() @ 0x000000001b117702 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:549: DB::FormatWithNamesAndTypesSchemaReader::readRowAndGetDataTypes() @ 0x000000001b0765d9 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowSchemaReader::readSchema() @ 0x000000001b04f92f in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:434: DB::FormatWithNamesAndTypesSchemaReader::readSchema() @ 0x000000001b074e62 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001a1360c0 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001a136b02 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001773f365 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x000000001773c4c2 in /usr/bin/clickhouse 16. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:46:02.104820 [ 1145 ] {2b1737fe-e712-4c31-adaa-b1235fce0d45} executeQuery: Code: 582. DB::Exception: There is no projection pToDro in table. Maybe you meant: ['pToDrop']. (NO_SUCH_PROJECTION_IN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59852) (comment: 02250_hints_for_projections.sh) (in query: ALTER TABLE t DROP PROJECTION pToDro), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ProjectionsDescription.cpp:0: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000001a0aa66b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:609: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01760b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d5d2 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:02.106543 [ 1145 ] {2b1737fe-e712-4c31-adaa-b1235fce0d45} TCPHandler: Code: 582. DB::Exception: There is no projection pToDro in table. Maybe you meant: ['pToDrop']. (NO_SUCH_PROJECTION_IN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ProjectionsDescription.cpp:0: DB::ProjectionsDescription::remove(String const&, bool) @ 0x000000001a0aa66b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:609: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01760b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d5d2 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:04.081940 [ 9609 ] {6aa3a4f3-b347-47c3-a660-5043da0efeb2} test_5d1jojyt.rmt (ReplicatedMergeTreePartCheckThread): ReplicatedCheckResult DB::ReplicatedMergeTreePartCheckThread::checkPartImpl(const String &): Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/store/175/175ad1b0-dc75-46a9-994e-3956de61b769/0_0_0_0/columns.txt, errno: 2, strerror: No such file or directory. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000000f9d05a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000000f9cb588 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/OpenedFile.cpp:0: DB::OpenedFile::open() const @ 0x0000000017a942c6 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/OpenedFile.cpp:42: DB::OpenedFile::getFD() const @ 0x0000000017a94361 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/ReadBufferFromFile.h:0: DB::ReadBufferFromFilePReadWithDescriptorsCache::ReadBufferFromFilePReadWithDescriptorsCache(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x0000000017a84a40 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long)::$_0::operator()(unsigned long, unsigned long, int) const @ 0x0000000017a840a2 in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/createReadBufferFromFileBase.cpp:0: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long) @ 0x0000000017a83f30 in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/DiskLocal.cpp:335: DB::DiskLocal::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x00000000186ce18c in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/MergeTree/DataPartStorageOnDiskFull.cpp:122: DB::DataPartStorageOnDiskFull::readFile(String const&, DB::ReadSettings const&, std::optional, std::optional) const @ 0x000000001a73a7ba in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/checkDataPart.cpp:0: DB::checkDataPart(std::shared_ptr, DB::IDataPartStorage const&, DB::NamesAndTypesList const&, DB::MergeTreeDataPartType const&, std::unordered_set, std::equal_to, std::allocator> const&, DB::ReadSettings const&, bool, std::function) @ 0x000000001ac5910f in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/checkDataPart.cpp:314: DB::checkDataPart(std::shared_ptr, bool, std::function) @ 0x000000001ac58cbf in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::ReplicatedMergeTreePartCheckThread::checkPartImpl(String const&) @ 0x000000001abc2c8b in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp:433: DB::ReplicatedMergeTreePartCheckThread::checkPartAndFix(String const&, std::optional*) @ 0x000000001abc4c36 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1562: DB::StorageReplicatedMergeTree::checkData(std::shared_ptr const&, std::shared_ptr) @ 0x000000001a3507d3 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCheckQuery.cpp:0: DB::InterpreterCheckQuery::execute() @ 0x00000000194ef16e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:46:04.082515 [ 9609 ] {6aa3a4f3-b347-47c3-a660-5043da0efeb2} test_5d1jojyt.rmt (ReplicatedMergeTreePartCheckThread): Part 0_0_0_0 looks broken. Removing it and will try to fetch. 2024.05.01 14:46:04.082767 [ 9609 ] {6aa3a4f3-b347-47c3-a660-5043da0efeb2} test_5d1jojyt.rmt (ReplicatedMergeTreePartCheckThread): Part 0_0_0_0 exists in ZooKeeper and the local part was broken. Detaching it, removing from ZooKeeper and queueing a fetch. 2024.05.01 14:46:04.083542 [ 9609 ] {6aa3a4f3-b347-47c3-a660-5043da0efeb2} test_5d1jojyt.rmt (175ad1b0-dc75-46a9-994e-3956de61b769): Detached 1 parts covered by broken part 0_0_0_0: 0_0_0_0 2024.05.01 14:46:04.111199 [ 781 ] {} test_5d1jojyt.rmt (175ad1b0-dc75-46a9-994e-3956de61b769): Directory /var/lib/clickhouse/store/175/175ad1b0-dc75-46a9-994e-3956de61b769/0_0_0_0 (part to remove) doesn't exist or one of nested files has gone. Most likely this is due to manual removing. This should be discouraged. Ignoring. 2024.05.01 14:46:04.272606 [ 11350 ] {5d0c3bd5-71c8-4192-a4f0-0d8916bb9502} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date: While processing makeDate(CAST(1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as Date), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.273581 [ 11350 ] {5d0c3bd5-71c8-4192-a4f0-0d8916bb9502} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date: While processing makeDate(CAST(1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.282412 [ 11350 ] {e383c545-3342-4f8e-a7a7-7aed19894a8b} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date: While processing makeDate(CAST(-1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as Date), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.283437 [ 11350 ] {e383c545-3342-4f8e-a7a7-7aed19894a8b} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date: While processing makeDate(CAST(-1980, 'Date'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.291763 [ 11350 ] {c2ced65d-a391-4029-a19f-1a7a60945301} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date32: While processing makeDate(CAST(1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as Date32), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.292699 [ 11350 ] {c2ced65d-a391-4029-a19f-1a7a60945301} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date32: While processing makeDate(CAST(1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.299680 [ 11350 ] {4c25d345-5cb3-4008-8a57-a49a04254bd9} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date32: While processing makeDate(CAST(-1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as Date32), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.300537 [ 11350 ] {4c25d345-5cb3-4008-8a57-a49a04254bd9} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got Date32: While processing makeDate(CAST(-1980, 'Date32'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.310541 [ 11350 ] {b11dde08-1b4f-458d-be41-5de62b03c756} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime: While processing makeDate(CAST(1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as DateTime), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.311489 [ 11350 ] {b11dde08-1b4f-458d-be41-5de62b03c756} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime: While processing makeDate(CAST(1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.320671 [ 11350 ] {512fc1ac-f4d2-4674-b838-e4bdd35d7701} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime: While processing makeDate(CAST(-1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as DateTime), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.321681 [ 11350 ] {512fc1ac-f4d2-4674-b838-e4bdd35d7701} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime: While processing makeDate(CAST(-1980, 'DateTime'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.332893 [ 11350 ] {2968ce26-cfa7-4c9f-b01a-da91c7a5b06b} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime64(3): While processing makeDate(CAST(1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate(cast(1980 as DateTime64), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.333868 [ 11350 ] {2968ce26-cfa7-4c9f-b01a-da91c7a5b06b} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime64(3): While processing makeDate(CAST(1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.343634 [ 11350 ] {9ba30108-52a4-4b86-ac3a-3722a3be60af} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime64(3): While processing makeDate(CAST(-1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate(cast(-1980 as DateTime64), 10, 30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.344771 [ 11350 ] {9ba30108-52a4-4b86-ac3a-3722a3be60af} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got DateTime64(3): While processing makeDate(CAST(-1980, 'DateTime64'), 10, 30). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.424343 [ 783 ] {} test_5d1jojyt.rmt (ReplicatedMergeTreePartCheckThread): No replica has part covering 0_0_0_0 and a merge is impossible: we didn't find smaller parts with either the same min block or the same max block. 2024.05.01 14:46:04.462774 [ 783 ] {} test_5d1jojyt.rmt (ReplicatedMergeTreePartCheckThread): Part 0_0_0_0 is lost forever. 2024.05.01 14:46:04.720504 [ 11350 ] {bc929e08-20ea-44a7-9c51-31e13b2b9800} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('1980', '10', '20'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate('1980', '10', '20');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.721822 [ 11350 ] {bc929e08-20ea-44a7-9c51-31e13b2b9800} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('1980', '10', '20'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.730547 [ 11350 ] {ca54737f-6284-4325-8ece-c20b7f5f008d} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('-1980', 3, 17). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate('-1980', 3, 17);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.731968 [ 11350 ] {ca54737f-6284-4325-8ece-c20b7f5f008d} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('-1980', 3, 17). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.740053 [ 11350 ] {b4459548-3db2-44e0-99d8-3e0b05c33883} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('aa', 3, 24). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate('aa', 3, 24);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.741034 [ 11350 ] {b4459548-3db2-44e0-99d8-3e0b05c33883} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'year' of function makeDate, expected Number, got String: While processing makeDate('aa', 3, 24). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.750187 [ 11350 ] {21f326dc-c323-4460-bff2-e326a583819b} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'month' of function makeDate, expected Number, got String: While processing makeDate(1994, 'aa', 24). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate(1994, 'aa', 24);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.751364 [ 11350 ] {21f326dc-c323-4460-bff2-e326a583819b} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'month' of function makeDate, expected Number, got String: While processing makeDate(1994, 'aa', 24). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.758908 [ 11350 ] {4ca469ad-fd74-40c1-a6cb-1b1b058a4be0} executeQuery: Code: 43. DB::Exception: Illegal type of argument #3 'day' of function makeDate, expected Number, got String: While processing makeDate(1984, 3, 'aa'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate(1984, 3, 'aa');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:04.759814 [ 11350 ] {4ca469ad-fd74-40c1-a6cb-1b1b058a4be0} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #3 'day' of function makeDate, expected Number, got String: While processing makeDate(1984, 3, 'aa'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d1b6 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:05.012466 [ 11350 ] {50046512-361d-4079-9f23-bf4212d026c4} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function makeDate provided 1 (UInt16), expected 2 ('year' : Number, 'dayofyear' : Number): While processing makeDate(1980). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate(1980);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x0000000017a6b209 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a6820e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d424 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:05.013491 [ 11350 ] {50046512-361d-4079-9f23-bf4212d026c4} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function makeDate provided 1 (UInt16), expected 2 ('year' : Number, 'dayofyear' : Number): While processing makeDate(1980). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x0000000017a6b209 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a6820e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d424 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:05.021811 [ 11350 ] {8a149b36-8ce2-4808-8d94-1b776acc9772} executeQuery: Code: 42. DB::Exception: Incorrect number of arguments for function makeDate provided 4 (UInt16, UInt8, UInt8, UInt8), expected 2 ('year' : Number, 'dayofyear' : Number): While processing makeDate(1980, 1, 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59964) (comment: 02242_make_date.sql) (in query: select makeDate(1980, 1, 1, 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x0000000017a6b209 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a6820e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d424 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:05.022664 [ 11350 ] {8a149b36-8ce2-4808-8d94-1b776acc9772} TCPHandler: Code: 42. DB::Exception: Incorrect number of arguments for function makeDate provided 4 (UInt16, UInt8, UInt8, UInt8), expected 2 ('year' : Number, 'dayofyear' : Number): While processing makeDate(1980, 1, 1, 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, String&&, unsigned long&&, String&&, String&&, String&&) @ 0x0000000017a6b209 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a6820e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMakeDate::getReturnTypeImpl(std::vector> const&) const @ 0x000000000c58d424 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:14.550487 [ 690 ] {86da0da8-6e06-400e-93aa-c5c1cb230d78} executeQuery: Code: 56. DB::Exception: Only tables with a Replicated engine or tables which do not store data on disk are allowed in a Replicated database. (UNKNOWN_STORAGE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02232_allow_only_replicated_engine.sh) (in query: /* ddl_entry=query-0000000003 */ CREATE TABLE test_swzzxfd0_db.tab_mt UUID '2bf94c64-47ab-4fd5-9b0b-ed681972d91b' (`x` UInt32) ENGINE = MergeTree ORDER BY x SETTINGS index_granularity = 52618, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 3752, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 91, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 3228940, allow_vertical_merges_from_compact_to_wide_parts = 0, marks_compress_block_size = 97888, primary_key_compress_block_size = 50418), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [116]) @ 0x00000000192b80c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1432: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192aeb62 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 10. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000186a2917 in /usr/bin/clickhouse 11. ./build_docker/./src/Databases/DatabaseReplicated.cpp:707: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000018673561 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a603c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:14.556315 [ 690 ] {86da0da8-6e06-400e-93aa-c5c1cb230d78} executeQuery: Code: 56. DB::Exception: Only tables with a Replicated engine or tables which do not store data on disk are allowed in a Replicated database. (UNKNOWN_STORAGE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58250) (comment: 02232_allow_only_replicated_engine.sh) (in query: CREATE TABLE test_swzzxfd0_db.tab_mt (`x` UInt32) ENGINE = MergeTree ORDER BY x SETTINGS index_granularity = 52618, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 3752, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 91, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 3228940, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 97888, primary_key_compress_block_size = 50418), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [116]) @ 0x00000000192b80c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1432: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192aeb62 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 10. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000186a2917 in /usr/bin/clickhouse 11. ./build_docker/./src/Databases/DatabaseReplicated.cpp:707: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000018673561 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a603c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:14.558632 [ 690 ] {86da0da8-6e06-400e-93aa-c5c1cb230d78} TCPHandler: Code: 56. DB::Exception: Only tables with a Replicated engine or tables which do not store data on disk are allowed in a Replicated database. (UNKNOWN_STORAGE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [116]) @ 0x00000000192b80c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1432: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192aeb62 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 10. ./build_docker/./src/Databases/DatabaseReplicatedWorker.cpp:288: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr) @ 0x00000000186a2917 in /usr/bin/clickhouse 11. ./build_docker/./src/Databases/DatabaseReplicated.cpp:707: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr const&, std::shared_ptr, bool) @ 0x0000000018673561 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a603c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:16.254217 [ 7349 ] {52d499bc-b518-4a45-90aa-70e480e88b15} executeQuery: Code: 42. DB::Exception: Number of arguments for function h3GetRes0Indexes doesn't match: passed 1, should be 0: While processing h3GetRes0Indexes(3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58374) (comment: 02212_h3_get_res0_indexes.sql) (in query: SELECT h3GetRes0Indexes(3);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:46:16.255140 [ 7349 ] {52d499bc-b518-4a45-90aa-70e480e88b15} TCPHandler: Code: 42. DB::Exception: Number of arguments for function h3GetRes0Indexes doesn't match: passed 1, should be 0: While processing h3GetRes0Indexes(3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:46:17.586651 [ 690 ] {16922d62-eadb-4fb6-93e5-5b293c44e6f1} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58456) (comment: 02200_use_skip_indexes.sql) (in query: SELECT * FROM data_02200 WHERE value = 1 SETTINGS use_skip_indexes=0, max_rows_to_read=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591e2b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:17.587651 [ 690 ] {16922d62-eadb-4fb6-93e5-5b293c44e6f1} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591e2b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:18.885682 [ 690 ] {caf76027-b7cd-4519-b252-8e0bb0eb3ebb} executeQuery: Code: 119. DB::Exception: Table engine is not specified in CREATE query. (ENGINE_REQUIRED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58520) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE table_02184 (x UInt8);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000827e626 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:898: DB::(anonymous namespace)::setDefaultTableEngine(DB::ASTStorage&, DB::DefaultTableEngine) @ 0x00000000192a2a37 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x00000000192a044d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929be3a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:18.886630 [ 690 ] {caf76027-b7cd-4519-b252-8e0bb0eb3ebb} TCPHandler: Code: 119. DB::Exception: Table engine is not specified in CREATE query. (ENGINE_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000827e626 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:898: DB::(anonymous namespace)::setDefaultTableEngine(DB::ASTStorage&, DB::DefaultTableEngine) @ 0x00000000192a2a37 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x00000000192a044d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929be3a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:19.130633 [ 690 ] {bf897112-a2d3-4f0e-b72a-2dd8bafebb8f} executeQuery: Code: 42. DB::Exception: ORDER BY or PRIMARY KEY clause is missing. Consider using extended storage definition syntax with ORDER BY or PRIMARY KEY clause. With deprecated old syntax (highly not recommended) storage MergeTree requires 3 to 4 parameters: name of column with date, [sampling element of primary key], primary key expression, index granularity Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) [GRANULARITY value1], INDEX index_name2 expr2 TYPE type2(...) [GRANULARITY value2] ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58520) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE table_02184 (x UInt8);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x000000001ac6af29 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68f5b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:19.131714 [ 690 ] {bf897112-a2d3-4f0e-b72a-2dd8bafebb8f} TCPHandler: Code: 42. DB::Exception: ORDER BY or PRIMARY KEY clause is missing. Consider using extended storage definition syntax with ORDER BY or PRIMARY KEY clause. With deprecated old syntax (highly not recommended) storage MergeTree requires 3 to 4 parameters: name of column with date, [sampling element of primary key], primary key expression, index granularity Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) [GRANULARITY value1], INDEX index_name2 expr2 TYPE type2(...) [GRANULARITY value2] ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x000000001ac6af29 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68f5b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:19.343029 [ 690 ] {124ba151-bbea-45d6-a572-a6d95403f779} executeQuery: Code: 36. DB::Exception: You must provide an ORDER BY or PRIMARY KEY expression in the table definition. If you don't want this table to be sorted, use ORDER BY/PRIMARY KEY (). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58520) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE table_02184 (x UInt8) PARTITION BY x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [151]) @ 0x00000000192b4fa6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:537: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68ce2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:19.344020 [ 690 ] {124ba151-bbea-45d6-a572-a6d95403f779} TCPHandler: Code: 36. DB::Exception: You must provide an ORDER BY or PRIMARY KEY expression in the table definition. If you don't want this table to be sorted, use ORDER BY/PRIMARY KEY (). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [151]) @ 0x00000000192b4fa6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:537: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68ce2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:19.735979 [ 9606 ] {4edbcdfb-eb83-4616-bbab-c84c9d395fdc} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58586) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:19.736872 [ 9606 ] {4edbcdfb-eb83-4616-bbab-c84c9d395fdc} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:20.242616 [ 8758 ] {e6162c89-8cba-410a-a91d-b75f20afc83d} executeQuery: Code: 6. DB::Exception: Cannot parse string 'Test' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: While processing map(1, 'Test') AS value, CAST(value, 'Array(Tuple(UInt64, UInt64))' AS type), CAST(materialize(value), type). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58610) (comment: 02179_map_cast_to_array.sql) (in query: WITH map(1, 'Test') AS value, 'Array(Tuple(UInt64, UInt64))' AS type SELECT value, cast(value, type), cast(materialize(value), type);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000810c77f in /usr/bin/clickhouse 14. DB::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x0000000008253767 in /usr/bin/clickhouse 15. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x00000000082531ea in /usr/bin/clickhouse 16. DB::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x0000000008252673 in /usr/bin/clickhouse 17. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000825238a in /usr/bin/clickhouse 18. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 19. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 21. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 23. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 24. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 2024.05.01 14:46:20.412427 [ 8754 ] {088cd9c3-ac81-4e07-b828-c93e82c16d49} executeQuery: Code: 636. DB::Exception: Cannot extract table structure from ORC format file. Error: std::exception. Code: 1001, type: orc::ParseError, e.what() = Footer is corrupt: STRUCT type 0 has 3 subTypes, but has 2 fieldNames (version 23.8.11.29.altinitystable (altinity build)). You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/corrupted.orc). (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58624) (comment: 02185_orc_corrupted_file.sh) (in query: select * from file('corrupted.orc')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x000000000fad523c in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:169: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4d697 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001a1360c0 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001a136b02 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001773f365 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x000000001773c4c2 in /usr/bin/clickhouse 10. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 11. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 30. ? @ 0x00007f5975bcaac3 in ? 31. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:20.504125 [ 8754 ] {088cd9c3-ac81-4e07-b828-c93e82c16d49} TCPHandler: Code: 636. DB::Exception: Cannot extract table structure from ORC format file. Error: std::exception. Code: 1001, type: orc::ParseError, e.what() = Footer is corrupt: STRUCT type 0 has 3 subTypes, but has 2 fieldNames (version 23.8.11.29.altinitystable (altinity build)). You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/corrupted.orc). (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x000000000fad523c in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:169: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4d697 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001a1360c0 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001a136b02 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001773f365 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x000000001773c4c2 in /usr/bin/clickhouse 10. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 11. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 30. ? @ 0x00007f5975bcaac3 in ? 31. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:20.504128 [ 8758 ] {e6162c89-8cba-410a-a91d-b75f20afc83d} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'Test' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: While processing map(1, 'Test') AS value, CAST(value, 'Array(Tuple(UInt64, UInt64))' AS type), CAST(materialize(value), type). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000810c77f in /usr/bin/clickhouse 14. DB::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x0000000008253767 in /usr/bin/clickhouse 15. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x00000000082531ea in /usr/bin/clickhouse 16. DB::FunctionCast::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x0000000008252673 in /usr/bin/clickhouse 17. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createArrayWrapper(std::shared_ptr const&, DB::DataTypeArray const&) const::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000825238a in /usr/bin/clickhouse 18. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 19. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 21. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 22. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 23. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 24. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 2024.05.01 14:46:20.504138 [ 690 ] {13986b3b-48dc-4322-ba51-5947760a2b21} executeQuery: Code: 80. DB::Exception: Database engine must be specified. (INCORRECT_QUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58520) (comment: 02184_default_table_engine.sql) (in query: CREATE DATABASE test_02184 ORDER BY kek;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x0000000008285e06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000019295125 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1698: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a88 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:20.505384 [ 690 ] {13986b3b-48dc-4322-ba51-5947760a2b21} TCPHandler: Code: 80. DB::Exception: Database engine must be specified. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x0000000008285e06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000019295125 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1698: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a88 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:20.625394 [ 690 ] {879c166e-f03a-40dd-b876-a8f03f69b758} executeQuery: Code: 115. DB::Exception: Setting x is neither a builtin setting nor started with the prefix 'SQL_' or 'custom_' registered for user-defined settings. (UNKNOWN_SETTING) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58520) (comment: 02184_default_table_engine.sql) (in query: CREATE DATABASE test_02184 SETTINGS x=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000017d6d3d8 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:632: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000017d6befa in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:263: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000017ed37e8 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000017ed3b83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x00000000188ebb1a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::executeForCurrentContext(bool) @ 0x000000001960d878 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSetQuery.cpp:0: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x000000001960dccc in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a528ed in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:20.626139 [ 690 ] {879c166e-f03a-40dd-b876-a8f03f69b758} TCPHandler: Code: 115. DB::Exception: Setting x is neither a builtin setting nor started with the prefix 'SQL_' or 'custom_' registered for user-defined settings. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000017d6d3d8 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:632: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000017d6befa in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:263: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000017ed37e8 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000017ed3b83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x00000000188ebb1a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::executeForCurrentContext(bool) @ 0x000000001960d878 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSetQuery.cpp:0: DB::InterpreterSetQuery::applySettingsFromQuery(std::shared_ptr const&, std::shared_ptr) @ 0x000000001960dccc in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a528ed in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:21.019734 [ 690 ] {4ccd85ce-7488-4148-9f76-4558180fc5d3} executeQuery: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [AzureBlobStorage, KeeperMap, S3Queue, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, Redis, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58520) (comment: 02184_default_table_engine.sql) (in query: CREATE TEMPORARY TABLE tmp2 (n int) ORDER BY n;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000000fad392d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000001a12b378 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a12a5ef in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1274: std::shared_ptr std::__function::__policy_invoker (DB::StorageID const&)>::__call_impl>&)::$_0, std::shared_ptr (DB::StorageID const&)>>(std::__function::__policy_storage const*, DB::StorageID const&) @ 0x00000000192b47a6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:110: DB::TemporaryTableHolder::TemporaryTableHolder(std::shared_ptr, std::function (DB::StorageID const&)> const&, std::shared_ptr const&) @ 0x00000000189b9598 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ac9ea in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:21.021143 [ 690 ] {4ccd85ce-7488-4148-9f76-4558180fc5d3} TCPHandler: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [AzureBlobStorage, KeeperMap, S3Queue, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, Redis, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000000fad392d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000001a12b378 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a12a5ef in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1274: std::shared_ptr std::__function::__policy_invoker (DB::StorageID const&)>::__call_impl>&)::$_0, std::shared_ptr (DB::StorageID const&)>>(std::__function::__policy_storage const*, DB::StorageID const&) @ 0x00000000192b47a6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:110: DB::TemporaryTableHolder::TemporaryTableHolder(std::shared_ptr, std::function (DB::StorageID const&)> const&, std::shared_ptr const&) @ 0x00000000189b9598 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ac9ea in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:21.029743 [ 690 ] {ca5c5da5-1071-43c6-8179-7b3720ecc438} executeQuery: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [AzureBlobStorage, KeeperMap, S3Queue, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, Redis, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58520) (comment: 02184_default_table_engine.sql) (in query: CREATE TEMPORARY TABLE tmp2 (n int, PRIMARY KEY (n));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000000fad392d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000001a12b378 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a12a5ef in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1274: std::shared_ptr std::__function::__policy_invoker (DB::StorageID const&)>::__call_impl>&)::$_0, std::shared_ptr (DB::StorageID const&)>>(std::__function::__policy_storage const*, DB::StorageID const&) @ 0x00000000192b47a6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:110: DB::TemporaryTableHolder::TemporaryTableHolder(std::shared_ptr, std::function (DB::StorageID const&)> const&, std::shared_ptr const&) @ 0x00000000189b9598 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ac9ea in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:21.030684 [ 690 ] {ca5c5da5-1071-43c6-8179-7b3720ecc438} TCPHandler: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [AzureBlobStorage, KeeperMap, S3Queue, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, Redis, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000000fad392d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000001a12b378 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a12a5ef in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1274: std::shared_ptr std::__function::__policy_invoker (DB::StorageID const&)>::__call_impl>&)::$_0, std::shared_ptr (DB::StorageID const&)>>(std::__function::__policy_storage const*, DB::StorageID const&) @ 0x00000000192b47a6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:110: DB::TemporaryTableHolder::TemporaryTableHolder(std::shared_ptr, std::function (DB::StorageID const&)> const&, std::shared_ptr const&) @ 0x00000000189b9598 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ac9ea in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:21.098251 [ 690 ] {8abec305-84a6-4daa-9fc6-fe1beddba307} executeQuery: Code: 119. DB::Exception: Table engine is not specified in CREATE query. (ENGINE_REQUIRED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58520) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE mem AS SELECT 1 as n;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000827e626 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:898: DB::(anonymous namespace)::setDefaultTableEngine(DB::ASTStorage&, DB::DefaultTableEngine) @ 0x00000000192a2a37 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x00000000192a044d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929be3a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:21.098912 [ 690 ] {8abec305-84a6-4daa-9fc6-fe1beddba307} TCPHandler: Code: 119. DB::Exception: Table engine is not specified in CREATE query. (ENGINE_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000827e626 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:898: DB::(anonymous namespace)::setDefaultTableEngine(DB::ASTStorage&, DB::DefaultTableEngine) @ 0x00000000192a2a37 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::setEngine(DB::ASTCreateQuery&) const @ 0x00000000192a044d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929be3a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:21.202212 [ 690 ] {1f12bb17-2377-4714-8ca5-ef9c5ddba4d9} executeQuery: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [AzureBlobStorage, KeeperMap, S3Queue, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, Redis, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58520) (comment: 02184_default_table_engine.sql) (in query: CREATE TABLE mem ORDER BY n AS SELECT 1 as n;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000000fad392d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000001a12b378 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a12a5ef in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:21.203064 [ 690 ] {1f12bb17-2377-4714-8ca5-ef9c5ddba4d9} TCPHandler: Code: 36. DB::Exception: Engine Memory doesn't support PARTITION_BY, PRIMARY_KEY, ORDER_BY or SAMPLE_BY clauses. Currently only the following engines have support for the feature: [AzureBlobStorage, KeeperMap, S3Queue, HDFS, MaterializedPostgreSQL, S3, ReplicatedVersionedCollapsingMergeTree, OSS, ReplicatedSummingMergeTree, COSN, Redis, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, Hive, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000000fad392d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000001a12b378 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a12a5ef in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:21.601870 [ 8758 ] {7d25ba88-7e10-48ee-8fe3-5af62ce5d3ac} executeQuery: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(Tuple(UInt64)): While processing mapApply((k, v) -> tuple(v + 9223372036854775806), col). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((k, v) -> tuple(v + 9223372036854775806), col) FROM table_map;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x00000000184f0f59 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000000e85f0e2 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8f2f69 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:21.602914 [ 8758 ] {7d25ba88-7e10-48ee-8fe3-5af62ce5d3ac} TCPHandler: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(Tuple(UInt64)): While processing mapApply((k, v) -> tuple(v + 9223372036854775806), col). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x00000000184f0f59 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000000e85f0e2 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8f2f69 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:22.602321 [ 8775 ] {2b4a57f8-9801-45ba-9a92-a36f868ad411} executeQuery: Code: 47. DB::Exception: Missing columns: '_shard_num' while processing query: 'SELECT _shard_num FROM system.one', required columns: '_shard_num'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38228) (comment: 02163_shard_num.sql) (in query: SELECT _shard_num FROM remote('127.1', system.one) AS a INNER JOIN (SELECT _shard_num FROM system.one) AS b USING (dummy);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x0000000019a6f119 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000019658050 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530551 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:22.744405 [ 8775 ] {2b4a57f8-9801-45ba-9a92-a36f868ad411} TCPHandler: Code: 47. DB::Exception: Missing columns: '_shard_num' while processing query: 'SELECT _shard_num FROM system.one', required columns: '_shard_num'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x0000000019a6f119 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000019658050 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530551 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:22.744638 [ 8758 ] {ddb4ff87-fc85-4696-a3e2-4c0784ae49f2} executeQuery: Code: 42. DB::Exception: Function mapApply requires at least one argument, passed 0: While processing mapApply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapApply();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8f31e5 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:46:22.745602 [ 8758 ] {ddb4ff87-fc85-4696-a3e2-4c0784ae49f2} TCPHandler: Code: 42. DB::Exception: Function mapApply requires at least one argument, passed 0: While processing mapApply(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8f31e5 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:46:22.904035 [ 8758 ] {174a95ac-5118-461e-87a4-28db3b9576ac} executeQuery: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(UInt8): While processing mapApply((x, y) -> x, map(1, 0, 2, 0)). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x00000000184f0efc in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000000e85f0e2 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8f2f69 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:22.905053 [ 8758 ] {174a95ac-5118-461e-87a4-28db3b9576ac} TCPHandler: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(UInt8): While processing mapApply((x, y) -> x, map(1, 0, 2, 0)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x00000000184f0efc in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000000e85f0e2 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8f2f69 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:22.914514 [ 8758 ] {7192a9c1-fc27-4f42-856d-95ef0093dafd} executeQuery: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(String): While processing mapApply((x, y) -> 'x', map(1, 0, 2, 0)). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> ('x'), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x00000000184f0efc in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000000e85f0e2 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8f2f69 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:22.915455 [ 8758 ] {7192a9c1-fc27-4f42-856d-95ef0093dafd} TCPHandler: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(String): While processing mapApply((x, y) -> 'x', map(1, 0, 2, 0)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x00000000184f0efc in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000000e85f0e2 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8f2f69 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:23.075492 [ 8758 ] {85ff46ee-5997-42d4-bbb5-4357902a04c1} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Tuple(UInt8, UInt8) given: While processing mapApply(x -> (x, x), map(1, 0, 2, 0)). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x) -> (x, x), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x00000000184f1111 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeMap.cpp:45: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x00000000184f0c96 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000000e85f0e2 in /usr/bin/clickhouse 6. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8f2f69 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:46:23.076557 [ 8758 ] {85ff46ee-5997-42d4-bbb5-4357902a04c1} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Tuple(UInt8, UInt8) given: While processing mapApply(x -> (x, x), map(1, 0, 2, 0)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x00000000184f1111 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeMap.cpp:45: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x00000000184f0c96 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000000e85f0e2 in /usr/bin/clickhouse 6. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8f2f69 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:46:23.085464 [ 8758 ] {9ba00278-b8ab-4118-abdd-b460f0c20fe2} executeQuery: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(Tuple(UInt8, UInt8, UInt8)): While processing mapApply((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x, 1, 2), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x00000000184f0f59 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000000e85f0e2 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8f2f69 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:23.086271 [ 8758 ] {9ba00278-b8ab-4118-abdd-b460f0c20fe2} TCPHandler: Code: 36. DB::Exception: Expected Array(Tuple(key, value)) type, got Array(Tuple(UInt8, UInt8, UInt8)): While processing mapApply((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::DataTypeMap(std::shared_ptr const&) @ 0x00000000184f0f59 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr, void>(std::allocator const&, std::shared_ptr&&) @ 0x000000000e85f0e2 in /usr/bin/clickhouse 5. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8f2f69 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:46:23.263515 [ 8758 ] {14413fa5-13ca-4472-b427-f16a99523e5e} executeQuery: Code: 43. DB::Exception: Function mapApply requires at least one argument of type Map: While processing mapApply((x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x, x + 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::MapAdapterBase, DB::NameMapApply>::extractNestedTypes(std::vector, std::allocator>>&) @ 0x000000000e8f744b in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8f32fe in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x0000000007c81e3a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000017a5ba54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa5099 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:46:23.264440 [ 8758 ] {14413fa5-13ca-4472-b427-f16a99523e5e} TCPHandler: Code: 43. DB::Exception: Function mapApply requires at least one argument of type Map: While processing mapApply((x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::MapAdapterBase, DB::NameMapApply>::extractNestedTypes(std::vector, std::allocator>>&) @ 0x000000000e8f744b in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8f32fe in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x0000000007c81e3a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000017a5ba54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa5099 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:46:23.443805 [ 8758 ] {0c00f1cf-56d7-4e53-803d-d0e640e5cb4f} executeQuery: Code: 43. DB::Exception: Argument 2 of function arrayMap must be Array. Found Function((?, ?) -> ?) instead: While processing mapApply(map(1, 0, 2, 0), (x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapApply(map(1, 0, 2, 0), (x, y) -> (x, x + 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x0000000008d632d3 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8f67c8 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8f330d in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x0000000007c81e3a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000017a5ba54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa5099 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:46:23.444707 [ 8758 ] {0c00f1cf-56d7-4e53-803d-d0e640e5cb4f} TCPHandler: Code: 43. DB::Exception: Argument 2 of function arrayMap must be Array. Found Function((?, ?) -> ?) instead: While processing mapApply(map(1, 0, 2, 0), (x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x0000000008d632d3 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8f67c8 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapApply>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8f330d in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x0000000007c81e3a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000017a5ba54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa5099 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:46:23.604545 [ 8758 ] {655f1190-1f67-4c6b-8313-e64033c8be5e} executeQuery: Code: 43. DB::Exception: Illegal types Tuple(UInt8, UInt8) and UInt8 of arguments of function plus: While processing mapApply((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapApply((x, y) -> (x, x+1), map(1, 0, 2, 0), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000db6452f in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d8ea53c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa541a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:46:23.605648 [ 8758 ] {655f1190-1f67-4c6b-8313-e64033c8be5e} TCPHandler: Code: 43. DB::Exception: Illegal types Tuple(UInt8, UInt8) and UInt8 of arguments of function plus: While processing mapApply((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000db6452f in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d8ea53c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa541a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:46:23.753341 [ 8758 ] {e4414f5c-1dc6-4277-a159-86cbbcc426d1} executeQuery: Code: 42. DB::Exception: Function mapFilter requires at least one argument, passed 0: While processing mapFilter(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eaf45 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:46:23.754334 [ 8758 ] {e4414f5c-1dc6-4277-a159-86cbbcc426d1} TCPHandler: Code: 42. DB::Exception: Function mapFilter requires at least one argument, passed 0: While processing mapFilter(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eaf45 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:46:23.900096 [ 8758 ] {4c12ff2c-9450-4b2d-a483-b612ac296eec} executeQuery: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Int32: While processing mapFilter((x, y) -> toInt32(x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (toInt32(x)), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eef80 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eaca3 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:23.901134 [ 8758 ] {4c12ff2c-9450-4b2d-a483-b612ac296eec} TCPHandler: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Int32: While processing mapFilter((x, y) -> toInt32(x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eef80 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eaca3 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:23.909315 [ 8758 ] {8ad15aee-5d4c-4340-8297-c32f5c54e538} executeQuery: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found String: While processing mapFilter((x, y) -> 'x', map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> ('x'), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eef80 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eaca3 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:23.910025 [ 8758 ] {8ad15aee-5d4c-4340-8297-c32f5c54e538} TCPHandler: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found String: While processing mapFilter((x, y) -> 'x', map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eef80 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eaca3 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:23.917317 [ 8758 ] {45e2419e-48f6-4185-a130-9657c9e51934} executeQuery: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)): While processing mapFilter(x -> (x, x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x) -> (x, x), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eef80 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eaca3 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:23.918111 [ 8758 ] {45e2419e-48f6-4185-a130-9657c9e51934} TCPHandler: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Tuple(Tuple(UInt8, UInt8), Tuple(UInt8, UInt8)): While processing mapFilter(x -> (x, x), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eef80 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eaca3 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:23.925137 [ 8758 ] {9378fe6f-25bb-4a57-bd10-84ac155337b3} executeQuery: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Tuple(UInt8, UInt8, UInt8): While processing mapFilter((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (x, 1, 2), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eef80 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eaca3 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:23.925841 [ 8758 ] {9378fe6f-25bb-4a57-bd10-84ac155337b3} TCPHandler: Code: 43. DB::Exception: Expression for function arrayFilter must return UInt8 or Nullable(UInt8), found Tuple(UInt8, UInt8, UInt8): While processing mapFilter((x, y) -> (x, 1, 2), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eef80 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e8eaca3 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:24.076427 [ 8758 ] {9b9c3c19-2440-4fc7-b28f-9dd1b8b29e9b} executeQuery: Code: 43. DB::Exception: Function mapFilter requires at least one argument of type Map: While processing mapFilter((x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (x, x + 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::MapAdapterBase, DB::NameMapFilter>::extractNestedTypes(std::vector, std::allocator>>&) @ 0x000000000e8f218b in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8eb05e in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x0000000007c81e3a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000017a5ba54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa5099 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:46:24.077494 [ 8758 ] {9b9c3c19-2440-4fc7-b28f-9dd1b8b29e9b} TCPHandler: Code: 43. DB::Exception: Function mapFilter requires at least one argument of type Map: While processing mapFilter((x, y) -> (x, x + 1)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::MapAdapterBase, DB::NameMapFilter>::extractNestedTypes(std::vector, std::allocator>>&) @ 0x000000000e8f218b in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8eb05e in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x0000000007c81e3a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000017a5ba54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa5099 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:46:24.231407 [ 8758 ] {0c239d6f-4f4d-4716-b545-ad1355edaf5b} executeQuery: Code: 43. DB::Exception: Argument 2 of function arrayFilter must be Array. Found Function((?, ?) -> ?) instead: While processing mapFilter(map(1, 0, 2, 0), (x, y) -> (x > 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter(map(1, 0, 2, 0), (x, y) -> (x > 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x0000000008d632d3 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8efac8 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8eb06d in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x0000000007c81e3a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000017a5ba54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa5099 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:46:24.232650 [ 8758 ] {0c239d6f-4f4d-4716-b545-ad1355edaf5b} TCPHandler: Code: 43. DB::Exception: Argument 2 of function arrayFilter must be Array. Found Function((?, ?) -> ?) instead: While processing mapFilter(map(1, 0, 2, 0), (x, y) -> (x > 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&) @ 0x0000000008d632d3 in /usr/bin/clickhouse 3. DB::FunctionArrayMapped::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8efac8 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::MapToNestedAdapter, DB::NameMapFilter>::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x000000000e8eb06d in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getLambdaArgumentTypesImpl(std::vector, std::allocator>>&) const @ 0x0000000007c81e3a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:457: DB::IFunctionOverloadResolver::getLambdaArgumentTypes(std::vector, std::allocator>>&) const @ 0x0000000017a5ba54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa5099 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:46:24.241987 [ 8758 ] {7d237abd-3d12-4e3b-810d-cd7052d5da25} executeQuery: Code: 43. DB::Exception: Illegal types Tuple(UInt8, UInt8) and UInt8 of arguments of function plus: While processing mapFilter((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapFilter((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000db6452f in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d8ea53c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa541a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:46:24.242744 [ 8758 ] {7d237abd-3d12-4e3b-810d-cd7052d5da25} TCPHandler: Code: 43. DB::Exception: Illegal types Tuple(UInt8, UInt8) and UInt8 of arguments of function plus: While processing mapFilter((x, y) -> (x, x + 1), map(1, 0, 2, 0), map(1, 0, 2, 0)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000db6452f in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d8ea53c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa541a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:46:24.395155 [ 8758 ] {c4e0bd03-9a86-4a3f-84bc-d4c9f465d69f} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, Tuple(UInt8, UInt8) because some of them are Tuple and some of them are not: While processing mapConcat([1, 2], map(1, 2)). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapConcat([1, 2], map(1, 2));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:354: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018561150 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001855f4df in /usr/bin/clickhouse 6. DB::FunctionArrayConcat::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e97b75f in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionMapToArrayAdapter, DB::NameMapConcat>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e85e7c3 in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:46:24.396275 [ 8758 ] {c4e0bd03-9a86-4a3f-84bc-d4c9f465d69f} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, Tuple(UInt8, UInt8) because some of them are Tuple and some of them are not: While processing mapConcat([1, 2], map(1, 2)). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:354: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018561150 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001855f4df in /usr/bin/clickhouse 6. DB::FunctionArrayConcat::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e97b75f in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionMapToArrayAdapter, DB::NameMapConcat>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e85e7c3 in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:46:24.559667 [ 8758 ] {c2deff57-8344-4f5c-87c5-ffc14d8658e7} executeQuery: Code: 43. DB::Exception: First argument for function arraySort must be a function. Actual Array(Tuple(UInt8, UInt8)): While processing mapSort(map(1, 2), map(3, 4)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapSort(map(1, 2), map(3, 4));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionArrayMapped, DB::NameArraySort>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e908e40 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::NameArraySort>, DB::MapToNestedAdapter, DB::NameMapSort>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e905e83 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:24.560689 [ 8758 ] {c2deff57-8344-4f5c-87c5-ffc14d8658e7} TCPHandler: Code: 43. DB::Exception: First argument for function arraySort must be a function. Actual Array(Tuple(UInt8, UInt8)): While processing mapSort(map(1, 2), map(3, 4)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionArrayMapped, DB::NameArraySort>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e908e40 in /usr/bin/clickhouse 4. DB::FunctionMapToArrayAdapter, DB::NameArraySort>, DB::MapToNestedAdapter, DB::NameMapSort>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e905e83 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:46:24.566960 [ 8758 ] {6a0c790a-a89e-4abe-98cd-9c4ff9bb1f4f} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 0, should be 2: While processing mapUpdate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapUpdate();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:46:24.567974 [ 8758 ] {6a0c790a-a89e-4abe-98cd-9c4ff9bb1f4f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 0, should be 2: While processing mapUpdate(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:46:24.575914 [ 8758 ] {1ccb5083-e842-457e-929d-b7cbf9a4c5ab} executeQuery: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 3, should be 2: While processing mapUpdate(map(1, 3, 3, 2), map(1, 0, 2, 0), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38158) (comment: 02169_map_functions.sql) (in query: SELECT mapUpdate(map(1, 3, 3, 2), map(1, 0, 2, 0), map(1, 0, 2, 0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:46:24.576764 [ 8758 ] {1ccb5083-e842-457e-929d-b7cbf9a4c5ab} TCPHandler: Code: 42. DB::Exception: Number of arguments for function mapUpdate doesn't match: passed 3, should be 2: While processing mapUpdate(map(1, 3, 3, 2), map(1, 0, 2, 0), map(1, 0, 2, 0)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:46:28.373847 [ 8775 ] {} DynamicQueryHandler: Code: 115. DB::Exception: Setting input_format_with_names_use_headers is neither a builtin setting nor started with the prefix 'SQL_' or 'custom_' registered for user-defined settings: Maybe you meant ['input_format_with_names_use_header','input_format_with_types_use_header']. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000017d6d3d8 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:632: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000017d6befa in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:263: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000017ed37e8 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__algorithm/remove_if.h:32: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges&, DB::SettingSource) const @ 0x0000000017ed3ca6 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges&, DB::SettingSource) const @ 0x00000000188f2e3a in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:0: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8ee73 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:46:47.913909 [ 2837 ] {88fda1d6-c46a-4479-93e2-50e680c5e856} executeQuery: Code: 36. DB::Exception: Cannot turn rows into a ORC format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42974) (comment: 02113_format_row_bug.sql) (in query: select formatRow('ORC', number, toDate(number)) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a4545a9 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:47.915225 [ 2837 ] {88fda1d6-c46a-4479-93e2-50e680c5e856} TCPHandler: Code: 36. DB::Exception: Cannot turn rows into a ORC format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a4545a9 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:47.926559 [ 2837 ] {320ee01a-dd25-4f4a-9cab-c8bcc9b6a45d} executeQuery: Code: 36. DB::Exception: Cannot turn rows into a Parquet format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42974) (comment: 02113_format_row_bug.sql) (in query: select formatRow('Parquet', number, toDate(number)) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a4545a9 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:47.927489 [ 2837 ] {320ee01a-dd25-4f4a-9cab-c8bcc9b6a45d} TCPHandler: Code: 36. DB::Exception: Cannot turn rows into a Parquet format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a4545a9 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:47.936585 [ 2837 ] {77ff24e7-76e3-44ab-8d8a-66b6a27b0985} executeQuery: Code: 36. DB::Exception: Cannot turn rows into a Arrow format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42974) (comment: 02113_format_row_bug.sql) (in query: select formatRow('Arrow', number, toDate(number)) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a4545a9 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:47.937323 [ 2837 ] {77ff24e7-76e3-44ab-8d8a-66b6a27b0985} TCPHandler: Code: 36. DB::Exception: Cannot turn rows into a Arrow format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a4545a9 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:47.944866 [ 2837 ] {6b16dc22-799d-4315-873a-644317e68566} executeQuery: Code: 36. DB::Exception: Cannot turn rows into a Native format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42974) (comment: 02113_format_row_bug.sql) (in query: select formatRow('Native', number, toDate(number)) from numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a4545a9 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:47.945741 [ 2837 ] {6b16dc22-799d-4315-873a-644317e68566} TCPHandler: Code: 36. DB::Exception: Cannot turn rows into a Native format strings. formatRow function supports only row output formats. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFormatRow::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a4545a9 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:48.449695 [ 690 ] {4ed2b9c7-8677-4aac-84bb-05e7abcde067} executeQuery: Code: 475. DB::Exception: Value of step is to low (3600 seconds). Must be >= 1 day. (INVALID_WITH_FILL_EXPRESSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42988) (comment: 02112_with_fill_interval.sql) (in query: SELECT d, count() FROM with_fill_date GROUP BY d ORDER BY d WITH FILL STEP INTERVAL 1 HOUR LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000001a10bf0d in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:143: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001b53292b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001b52c88e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000183b9fcd in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183b9c7d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183d486d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b52bbc0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544ed1 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:48.450566 [ 690 ] {4ed2b9c7-8677-4aac-84bb-05e7abcde067} TCPHandler: Code: 475. DB::Exception: Value of step is to low (3600 seconds). Must be >= 1 day. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000001a10bf0d in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:143: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001b53292b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001b52c88e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000183b9fcd in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183b9c7d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183d486d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b52bbc0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544ed1 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:48.685558 [ 690 ] {78c5b92b-e53b-47cc-aad9-17ffd5310c38} executeQuery: Code: 475. DB::Exception: Value of step is to low (3600 seconds). Must be >= 1 day. (INVALID_WITH_FILL_EXPRESSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42988) (comment: 02112_with_fill_interval.sql) (in query: SELECT d, count() FROM with_fill_date GROUP BY d ORDER BY d WITH FILL STEP INTERVAL 1 HOUR LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000001a10bf0d in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:143: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001b53292b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001b52c88e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000183b9fcd in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183b9c7d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183d486d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b52bbc0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544ed1 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:48.686411 [ 690 ] {78c5b92b-e53b-47cc-aad9-17ffd5310c38} TCPHandler: Code: 475. DB::Exception: Value of step is to low (3600 seconds). Must be >= 1 day. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000001a10bf0d in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:143: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001b53292b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001b52c88e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000183b9fcd in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183b9c7d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183d486d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b52bbc0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544ed1 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:49.134207 [ 690 ] {589b2c5e-27b9-44ac-862d-4a029a351e59} executeQuery: Code: 475. DB::Exception: STEP of Interval type can be used only with Date/DateTime types, but got UInt64. (INVALID_WITH_FILL_EXPRESSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42988) (comment: 02112_with_fill_interval.sql) (in query: SELECT number FROM numbers(100) ORDER BY number WITH FILL STEP INTERVAL 1 HOUR;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:0: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001b532992 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001b52c88e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000183b9fcd in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183b9c7d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183d486d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b52bbc0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544ed1 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:49.135323 [ 690 ] {589b2c5e-27b9-44ac-862d-4a029a351e59} TCPHandler: Code: 475. DB::Exception: STEP of Interval type can be used only with Date/DateTime types, but got UInt64. (INVALID_WITH_FILL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/FillingTransform.cpp:0: DB::FillingTransform::FillingTransform(DB::Block const&, DB::SortDescription const&, DB::SortDescription const&, std::shared_ptr, bool) @ 0x000000001b532992 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: std::shared_ptr std::__function::__policy_invoker (DB::Block const&, DB::Pipe::StreamType)>::__call_impl (DB::Block const&, DB::Pipe::StreamType)>>(std::__function::__policy_storage const*, DB::Block const&, DB::Pipe::StreamType) @ 0x000000001b52c88e in /usr/bin/clickhouse 5. ./build_docker/./src/QueryPipeline/Pipe.cpp:618: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&)::$_0::operator()(DB::OutputPort*&, DB::Pipe::StreamType) const @ 0x00000000183b9fcd in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::Pipe::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183b9c7d in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/QueryPipelineBuilder.cpp:134: DB::QueryPipelineBuilder::addSimpleTransform(std::function (DB::Block const&, DB::Pipe::StreamType)> const&) @ 0x00000000183d486d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::FillingStep::transformPipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b52bbc0 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ITransformingStep.cpp:0: DB::ITransformingStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544ed1 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:57.801315 [ 8758 ] {fc2e07e5-d84c-40b7-a81c-c2744460a8bf} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Tuple(Date, String), Tuple(String)) of function equals: In scope SELECT * FROM test_tuple_filter WHERE (log_date, value) = tuple('2021-01-01'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44570) (comment: 02030_tuple_filter.sql) (in query: SELECT * FROM test_tuple_filter WHERE (log_date, value) = tuple('2021-01-01');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5247: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940364d in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db496 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:57.802135 [ 8758 ] {fc2e07e5-d84c-40b7-a81c-c2744460a8bf} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Tuple(Date, String), Tuple(String)) of function equals: In scope SELECT * FROM test_tuple_filter WHERE (log_date, value) = tuple('2021-01-01'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5247: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940364d in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db496 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:57.809561 [ 8758 ] {ee27df64-5096-4a85-ac4a-953a7b401020} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Tuple(UInt32, String), Tuple(UInt8)) of function equals: In scope SELECT * FROM test_tuple_filter WHERE (id, value) = tuple(1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44570) (comment: 02030_tuple_filter.sql) (in query: SELECT * FROM test_tuple_filter WHERE (id, value) = tuple(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5247: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940364d in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db496 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:57.810156 [ 8758 ] {ee27df64-5096-4a85-ac4a-953a7b401020} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Tuple(UInt32, String), Tuple(UInt8)) of function equals: In scope SELECT * FROM test_tuple_filter WHERE (id, value) = tuple(1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5247: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940364d in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db496 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:57.930921 [ 8758 ] {79c69643-bbc2-4fe9-9900-5b32bc30f2f8} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt32, String because some of them are String/FixedString and some of them are not. (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44570) (comment: 02030_tuple_filter.sql) (in query: SELECT * FROM test_tuple_filter WHERE tuple(id, value) = tuple(value, id);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:473: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018561192 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeGeneric(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000009f4ebf1 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f365c1 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001b30ce7a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/FilterStep.cpp:0: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001b54012e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x00000000195a4552 in /usr/bin/clickhouse 16. ./build_docker/./src/Planner/Planner.cpp:1090: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001959f442 in /usr/bin/clickhouse 17. ./build_docker/./src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001959e49b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1041: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55319 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:57.931802 [ 8758 ] {79c69643-bbc2-4fe9-9900-5b32bc30f2f8} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt32, String because some of them are String/FixedString and some of them are not. (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:473: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018561192 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeGeneric(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000009f4ebf1 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f365c1 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::transformHeader(DB::Block, DB::ActionsDAG const*, String const&, bool) @ 0x000000001b30ce7a in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/FilterStep.cpp:0: DB::FilterStep::FilterStep(DB::DataStream const&, std::shared_ptr const&, String, bool) @ 0x000000001b54012e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Planner::buildPlanForQueryNode() @ 0x00000000195a4552 in /usr/bin/clickhouse 16. ./build_docker/./src/Planner/Planner.cpp:1090: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001959f442 in /usr/bin/clickhouse 17. ./build_docker/./src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001959e49b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1041: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55319 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:58.146320 [ 8758 ] {461e504b-4033-4ab3-a111-a502773be0d8} executeQuery: Code: 42. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope SELECT * FROM test_tuple_filter WHERE equals((id, value)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44570) (comment: 02030_tuple_filter.sql) (in query: SELECT * FROM test_tuple_filter WHERE equals((id, value));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5247: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940364d in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db496 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:58.147104 [ 8758 ] {461e504b-4033-4ab3-a111-a502773be0d8} TCPHandler: Code: 42. DB::Exception: Number of arguments for function equals doesn't match: passed 1, should be 2: In scope SELECT * FROM test_tuple_filter WHERE equals((id, value)). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5247: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940364d in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db496 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:46:59.025469 [ 2837 ] {} HTTPServerRequest: Got an HTTP request with no content length and no chunked/multipart encoding, it may be impossible to distinguish graceful EOF from abnormal connection loss 2024.05.01 14:46:59.123705 [ 2837 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000017e46655 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e46303 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTPHandler.cpp:527: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001ae89fd7 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8b8fc in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:46:59.188960 [ 2837 ] {} DynamicQueryHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/HTTPHandler.cpp:527: DB::HTTPHandler::authenticateUser(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&) @ 0x000000001ae89fd7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:543: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8b8fc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:46:59.599845 [ 9606 ] {80423577-ed7a-4014-8da5-1aac519c19fb} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.02 MiB (attempt to allocate chunk of 1068903 bytes), maximum: 1.00 B. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44708) (comment: 02028_create_select_settings.sql) (in query: CREATE TABLE test_table ENGINE = MergeTree ORDER BY a SETTINGS index_granularity = 37627, min_bytes_for_wide_part = 641494168, ratio_of_defaults_for_sparse_serialization = 0.059795673936605453, merge_max_block_size = 17722, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 21183297, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 90024, primary_key_compress_block_size = 48072 AS SELECT a_table.a, b_table.b_arr FROM (SELECT arrayJoin(range(10000)) AS a) AS a_table CROSS JOIN (SELECT range(10000) AS b_arr) AS b_table SETTINGS max_memory_usage = 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000000fa7d0fd in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:0: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000000fa7c18f in /usr/bin/clickhouse 10. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x000000000fb68f6d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x00000000186d7466 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x00000000186ce5cd in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000001a81dde2 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/StorageMergeTree.cpp:116: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c806 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 14:46:59.600895 [ 9606 ] {80423577-ed7a-4014-8da5-1aac519c19fb} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.02 MiB (attempt to allocate chunk of 1068903 bytes), maximum: 1.00 B. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:0: DB::WriteBufferFromFileBase::WriteBufferFromFileBase(unsigned long, char*, unsigned long) @ 0x000000000fa7d0fd in /usr/bin/clickhouse 9. ./build_docker/./src/IO/WriteBufferFromFileDescriptor.cpp:0: DB::WriteBufferFromFileDescriptor::WriteBufferFromFileDescriptor(int, unsigned long, char*, std::shared_ptr, unsigned long, String) @ 0x000000000fa7c18f in /usr/bin/clickhouse 10. ./build_docker/./src/IO/WriteBufferFromFile.cpp:36: DB::WriteBufferFromFile::WriteBufferFromFile(String const&, unsigned long, int, std::shared_ptr, unsigned int, char*, unsigned long) @ 0x000000000fb68f6d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&>(std::__fs::filesystem::path&&, unsigned long&, int&, std::shared_ptr const&) @ 0x00000000186d7466 in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/DiskLocal.cpp:342: DB::DiskLocal::writeFile(String const&, unsigned long, DB::WriteMode, DB::WriteSettings const&) @ 0x00000000186ce5cd in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::initializeDirectoriesAndFormatVersion(String const&, bool, String const&, bool) @ 0x000000001a81dde2 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/StorageMergeTree.cpp:116: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c806 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 14:47:08.996737 [ 7302 ] {a5ce7e62-3231-471f-bf0c-8784d9d84bea} executeQuery: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, 1.3)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46324) (comment: 02008_tuple_to_name_value_pairs.sql) (in query: SELECT tupleToNameValuePairs(tuple(1, 1.3));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e75fece in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:08.997874 [ 7302 ] {a5ce7e62-3231-471f-bf0c-8784d9d84bea} TCPHandler: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, 1.3)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e75fece in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:09.005386 [ 7302 ] {94bc8105-2f8b-4fb3-9f02-5382250b2216} executeQuery: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, [1, 2])). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46324) (comment: 02008_tuple_to_name_value_pairs.sql) (in query: SELECT tupleToNameValuePairs(tuple(1, [1,2]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e75fece in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:09.006227 [ 7302 ] {94bc8105-2f8b-4fb3-9f02-5382250b2216} TCPHandler: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, [1, 2])). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e75fece in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:09.013026 [ 7302 ] {6f00c488-48e6-4a39-a12d-083dc7ed5e40} executeQuery: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, 'a')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46324) (comment: 02008_tuple_to_name_value_pairs.sql) (in query: SELECT tupleToNameValuePairs(tuple(1, 'a'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e75fece in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:09.013768 [ 7302 ] {6f00c488-48e6-4a39-a12d-083dc7ed5e40} TCPHandler: Code: 43. DB::Exception: The argument tuple for function tupleToNameValuePairs must contain just one type.: While processing tupleToNameValuePairs((1, 'a')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e75fece in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:09.173224 [ 7302 ] {cc341cca-fd6d-4527-a738-ab70e9d4e3a3} executeQuery: Code: 43. DB::Exception: First argument for function tupleToNameValuePairs must be a tuple.: While processing tupleToNameValuePairs(33). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46324) (comment: 02008_tuple_to_name_value_pairs.sql) (in query: SELECT tupleToNameValuePairs(33);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e75fab7 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:09.181026 [ 7302 ] {cc341cca-fd6d-4527-a738-ab70e9d4e3a3} TCPHandler: Code: 43. DB::Exception: First argument for function tupleToNameValuePairs must be a tuple.: While processing tupleToNameValuePairs(33). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTupleToNameValuePairs::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e75fab7 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:11.404967 [ 19121 ] {36c5fecf-5c20-4e30-8f6f-0a2fab936eed} executeQuery: Code: 248. DB::Exception: Invalid partition format: NO_SUCH_PART. (INVALID_PARTITION_VALUE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46646) (comment: 02004_invalid_partition_mutation_stuck.sql) (in query: ALTER TABLE rep_data MATERIALIZE INDEX idx IN PARTITION ID 'NO_SUCH_PART';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000001aa33a9a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001a85b212 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIdsAffectedByCommands(DB::MutationCommands const&, std::shared_ptr) const @ 0x000000001a8830d6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5654: DB::StorageReplicatedMergeTree::allocateBlockNumbersInAffectedPartitions(DB::MutationCommands const&, std::shared_ptr, std::shared_ptr const&) const @ 0x000000001a2fcd1a in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1124: DB::StorageReplicatedMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001a32b433 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:11.753651 [ 19121 ] {36c5fecf-5c20-4e30-8f6f-0a2fab936eed} TCPHandler: Code: 248. DB::Exception: Invalid partition format: NO_SUCH_PART. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000001aa33a9a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001a85b212 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIdsAffectedByCommands(DB::MutationCommands const&, std::shared_ptr) const @ 0x000000001a8830d6 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5654: DB::StorageReplicatedMergeTree::allocateBlockNumbersInAffectedPartitions(DB::MutationCommands const&, std::shared_ptr, std::shared_ptr const&) const @ 0x000000001a2fcd1a in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1124: DB::StorageReplicatedMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001a32b433 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:11.764619 [ 1435 ] {6b50ed74-232e-477e-912b-cf15665d5b6f} executeQuery: Code: 284. DB::Exception: Global subquery requires subquery or table name: While processing (NULL, cityHash64(0., 65536, NULL, NULL, 10000000000., NULL), 0) GLOBAL IN (some_identifier). (WRONG_GLOBAL_SUBQUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60922) (comment: 02002_global_subqueries_subquery_or_table_name.sql) (in query: SELECT cityHash64(number GLOBAL IN (NULL, -2147483648, -9223372036854775808), nan, 1024, NULL, NULL, 1.000100016593933, NULL), (NULL, cityHash64(inf, -2147483648, NULL, NULL, 10.000100135803223), cityHash64(1.1754943508222875e-38, NULL, NULL, NULL), 2147483647) FROM cluster(test_cluster_two_shards_localhost, numbers((NULL, cityHash64(0., 65536, NULL, NULL, 10000000000., NULL), 0) GLOBAL IN (some_identifier), 65536)) WHERE number GLOBAL IN [1025] --{serverError 36, 284} ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0x0000000008282066 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:100: DB::GlobalSubqueriesMatcher::Data::addExternalStorage(std::shared_ptr&, std::vector> const&, bool) @ 0x0000000018a90f98 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:0: DB::GlobalSubqueriesMatcher::visit(DB::ASTFunction&, std::shared_ptr&, DB::GlobalSubqueriesMatcher::Data&) @ 0x0000000018a8e277 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000018a8dc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fce in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::initGlobalSubqueriesAndExternalTables(bool, bool) @ 0x0000000018a6137b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60c68 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:47:11.776832 [ 1435 ] {6b50ed74-232e-477e-912b-cf15665d5b6f} TCPHandler: Code: 284. DB::Exception: Global subquery requires subquery or table name: While processing (NULL, cityHash64(0., 65536, NULL, NULL, 10000000000., NULL), 0) GLOBAL IN (some_identifier). (WRONG_GLOBAL_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0x0000000008282066 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:100: DB::GlobalSubqueriesMatcher::Data::addExternalStorage(std::shared_ptr&, std::vector> const&, bool) @ 0x0000000018a90f98 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:0: DB::GlobalSubqueriesMatcher::visit(DB::ASTFunction&, std::shared_ptr&, DB::GlobalSubqueriesMatcher::Data&) @ 0x0000000018a8e277 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000018a8dc7d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fce in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::initGlobalSubqueriesAndExternalTables(bool, bool) @ 0x0000000018a6137b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60c68 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:47:12.777445 [ 19121 ] {308ed62f-7b98-452b-8464-a9f872792388} executeQuery: Code: 248. DB::Exception: Invalid partition format: NO_SUCH_PART. (INVALID_PARTITION_VALUE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46646) (comment: 02004_invalid_partition_mutation_stuck.sql) (in query: ALTER TABLE data MATERIALIZE INDEX idx IN PARTITION ID 'NO_SUCH_PART';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000001aa33a9a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001a85b212 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIdsAffectedByCommands(DB::MutationCommands const&, std::shared_ptr) const @ 0x000000001a8830d6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001ac7580e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:12.786447 [ 19121 ] {308ed62f-7b98-452b-8464-a9f872792388} TCPHandler: Code: 248. DB::Exception: Invalid partition format: NO_SUCH_PART. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000001aa33a9a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001a85b212 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::getPartitionIdsAffectedByCommands(DB::MutationCommands const&, std::shared_ptr) const @ 0x000000001a8830d6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001ac7580e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:13.179057 [ 8754 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x000000001f411f2a in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f423021 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x000000001f426910 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x000000001f3fa09a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000001af25c71 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001af24af5 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.179621 [ 2834 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x000000001f411f2a in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f423021 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x000000001f426910 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x000000001f3fa09a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000001af25c71 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001af24af5 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.180016 [ 8758 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x000000001f411f2a in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f423021 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x000000001f426910 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x000000001f3fa09a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000001af25c71 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001af24af5 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.294031 [ 17927 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f4239cd in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000001f425212 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x000000001f42cdae in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x000000001f42ace8 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000001f3fabed in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x000000001f3db90b in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000001f3dc614 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001af29b88 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x000000001af250a7 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.294432 [ 7349 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x000000001f411f2a in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f423021 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x000000001f426910 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x000000001f3fa09a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000001af25c71 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001af24af5 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.294835 [ 17929 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x000000001f411f2a in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f423021 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x000000001f426910 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x000000001f3fa09a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000001af25c71 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001af24af5 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.295089 [ 1524 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x000000001f411f2a in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f423021 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x000000001f426910 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x000000001f3fa09a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000001af25c71 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001af24af5 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.295649 [ 18285 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:32898). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.296121 [ 19101 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x000000001f411f2a in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f423021 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x000000001f426910 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x000000001f3fa09a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000001af25c71 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001af24af5 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.296462 [ 8775 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f4239cd in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000001f425212 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x000000001f42cdae in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x000000001f42ace8 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000001f3fabed in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x000000001f3db90b in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000001f3dc614 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001af29b88 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x000000001af250a7 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.296998 [ 1435 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/NetException.cpp:26: Poco::Net::NetException::NetException(String const&, int) @ 0x000000001f411f2a in /usr/bin/clickhouse 3. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:995: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f423021 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::peerAddress() @ 0x000000001f426910 in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/HTTPServerSession.cpp:60: Poco::Net::HTTPServerSession::clientAddress() @ 0x000000001f3fa09a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTP/HTTPServerRequest.cpp:0: DB::HTTPServerRequest::HTTPServerRequest(std::shared_ptr, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0x000000001af25c71 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:35: DB::HTTPServerConnection::run() @ 0x000000001af24af5 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.297506 [ 19119 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f4239cd in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000001f425212 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x000000001f42cdae in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x000000001f42ace8 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000001f3fabed in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x000000001f3db90b in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000001f3dc614 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001af29b88 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x000000001af250a7 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.297958 [ 9616 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f4239cd in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000001f425212 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x000000001f42cdae in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x000000001f42ace8 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000001f3fabed in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x000000001f3db90b in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000001f3dc614 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001af29b88 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x000000001af250a7 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.298392 [ 1145 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f4239cd in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000001f425212 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x000000001f42cdae in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x000000001f42ace8 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000001f3fabed in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x000000001f3db90b in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000001f3dc614 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001af29b88 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x000000001af250a7 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:13.298829 [ 690 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f4239cd in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000001f425212 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x000000001f42cdae in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x000000001f42ace8 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000001f3fabed in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:46: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x000000001f3db90b in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000001f3dc614 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001af29b88 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x000000001af250a7 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:15.045977 [ 3288 ] {fe3e20a9-d01f-476a-ab4e-ccf5732fa66f} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 341.00 B) in table 'test_95oy20d7.async_inserts (78315c48-7041-4d95-9779-a0f6e5223353)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02015_async_inserts_5.sh) (in query: INSERT INTO test_95oy20d7.async_inserts FORMAT JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001a8d3b5a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001a87049e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001acaa4db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30682e in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305cdd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000188ab29f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000188ad58a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:15.047245 [ 3288 ] {} AsynchronousInsertQueue: Failed insertion for query 'INSERT INTO test_95oy20d7.async_inserts FORMAT JSONEachRow': Code: 252. DB::Exception: Too many parts (1 with average size of 341.00 B) in table 'test_95oy20d7.async_inserts (78315c48-7041-4d95-9779-a0f6e5223353)'. Merges are processing significantly slower than inserts. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001a8d3b5a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001a87049e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001acaa4db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30682e in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305cdd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000188ab29f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000188ad58a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:15.050280 [ 8757 ] {ff0d55fd-4833-4466-b37d-8bf2431f1712} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 341.00 B) in table 'test_95oy20d7.async_inserts (78315c48-7041-4d95-9779-a0f6e5223353)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:37370) (comment: 02015_async_inserts_5.sh) (in query: INSERT INTO async_inserts FORMAT JSONEachRow ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001a8d3b5a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001a87049e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001acaa4db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30682e in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305cdd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000188ab29f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000188ad58a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:15.050313 [ 9611 ] {51fa2cc5-91df-4991-a35c-b45feb860eef} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 341.00 B) in table 'test_95oy20d7.async_inserts (78315c48-7041-4d95-9779-a0f6e5223353)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:37358) (comment: 02015_async_inserts_5.sh) (in query: INSERT INTO async_inserts FORMAT JSONEachRow ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001a8d3b5a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001a87049e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001acaa4db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30682e in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305cdd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000188ab29f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000188ad58a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:15.050542 [ 17919 ] {197af599-4a6d-4ba0-af35-379f7828c915} executeQuery: Code: 252. DB::Exception: Too many parts (1 with average size of 341.00 B) in table 'test_95oy20d7.async_inserts (78315c48-7041-4d95-9779-a0f6e5223353)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:37374) (comment: 02015_async_inserts_5.sh) (in query: INSERT INTO async_inserts FORMAT JSONEachRow ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001a8d3b5a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001a87049e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001acaa4db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30682e in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305cdd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000188ab29f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000188ad58a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:15.053205 [ 8757 ] {ff0d55fd-4833-4466-b37d-8bf2431f1712} DynamicQueryHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 341.00 B) in table 'test_95oy20d7.async_inserts (78315c48-7041-4d95-9779-a0f6e5223353)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001a8d3b5a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001a87049e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001acaa4db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30682e in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305cdd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000188ab29f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000188ad58a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:15.053220 [ 9611 ] {51fa2cc5-91df-4991-a35c-b45feb860eef} DynamicQueryHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 341.00 B) in table 'test_95oy20d7.async_inserts (78315c48-7041-4d95-9779-a0f6e5223353)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001a8d3b5a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001a87049e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001acaa4db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30682e in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305cdd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000188ab29f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000188ad58a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:15.053796 [ 17919 ] {197af599-4a6d-4ba0-af35-379f7828c915} DynamicQueryHandler: Code: 252. DB::Exception: Too many parts (1 with average size of 341.00 B) in table 'test_95oy20d7.async_inserts (78315c48-7041-4d95-9779-a0f6e5223353)'. Merges are processing significantly slower than inserts: While executing WaitForAsyncInsert. (TOO_MANY_PARTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long&, ReadableSize&&, String&&) @ 0x000000001a8d3b5a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::delayInsertOrThrowIfNeeded(Poco::Event*, std::shared_ptr const&, bool) const @ 0x000000001a87049e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:51: DB::MergeTreeSink::onStart() @ 0x000000001acaa4db in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30682e in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305cdd in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:0: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000188ab29f in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000188ad58a in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:16.023967 [ 9609 ] {2138e096-202e-411f-a887-043f1f2f33c4} executeQuery: Code: 42. DB::Exception: Function snowflakeToDateTime takes one or two arguments: While processing snowflakeToDateTime(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33072) (comment: 01942_snowflakeToDateTime.sql) (in query: -- -- Error cases SELECT snowflakeToDateTime();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e50ec8e in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:16.024995 [ 9609 ] {2138e096-202e-411f-a887-043f1f2f33c4} TCPHandler: Code: 42. DB::Exception: Function snowflakeToDateTime takes one or two arguments: While processing snowflakeToDateTime(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e50ec8e in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:16.196475 [ 9609 ] {c0728051-6da6-4275-acd3-c7841bf9c63c} executeQuery: Code: 42. DB::Exception: Function snowflakeToDateTime64 takes one or two arguments: While processing snowflakeToDateTime64(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33072) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime64();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e50f966 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:16.197470 [ 9609 ] {c0728051-6da6-4275-acd3-c7841bf9c63c} TCPHandler: Code: 42. DB::Exception: Function snowflakeToDateTime64 takes one or two arguments: While processing snowflakeToDateTime64(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e50f966 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:16.361177 [ 9609 ] {bcfac886-bed4-4c10-bb8c-863adac6642f} executeQuery: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime must be Int64: While processing snowflakeToDateTime('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33072) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e50ec0c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:16.362202 [ 9609 ] {bcfac886-bed4-4c10-bb8c-863adac6642f} TCPHandler: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime must be Int64: While processing snowflakeToDateTime('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e50ec0c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:16.537742 [ 9609 ] {29280b23-8fa6-46e6-a3f8-2e4eac560c36} executeQuery: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime64 must be Int64: While processing snowflakeToDateTime64('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33072) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime64('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e50f8e1 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:16.538520 [ 9609 ] {29280b23-8fa6-46e6-a3f8-2e4eac560c36} TCPHandler: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime64 must be Int64: While processing snowflakeToDateTime64('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e50f8e1 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:16.545168 [ 9609 ] {350fe48d-e2ff-4a92-967c-43bacbd21b71} executeQuery: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime must be Int64: While processing snowflakeToDateTime('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33072) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e50ec0c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:16.546013 [ 9609 ] {350fe48d-e2ff-4a92-967c-43bacbd21b71} TCPHandler: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime must be Int64: While processing snowflakeToDateTime('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e50ec0c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:16.551957 [ 9609 ] {4e549187-05e4-497f-8df7-3ad702f0ff82} executeQuery: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime64 must be Int64: While processing snowflakeToDateTime64('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33072) (comment: 01942_snowflakeToDateTime.sql) (in query: SELECT snowflakeToDateTime64('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e50f8e1 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:16.552737 [ 9609 ] {4e549187-05e4-497f-8df7-3ad702f0ff82} TCPHandler: Code: 43. DB::Exception: The first argument for function snowflakeToDateTime64 must be Int64: While processing snowflakeToDateTime64('abc', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionSnowflakeToDateTime64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e50f8e1 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:16.779340 [ 8775 ] {90e7dc3c-9691-4a5b-bfa0-a7053c56a1d0} executeQuery: Code: 36. DB::Exception: Expected dictGet function first argument identifier to contain 1 or 2 parts. Actual 't.nest.a'. In scope SELECT dictGet(t.nest.a, concat(currentDatabase(), '.dict.dict'), 's', number) FROM numbers(5). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33128) (comment: 01936_three_parts_identifiers_in_wrong_places.sql) (in query: SELECT dictGet(t.nest.a, concat(currentDatabase(), '.dict.dict'), 's', number) FROM numbers(5);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x000000000f9e106d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019405eb1 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:16.780462 [ 8775 ] {90e7dc3c-9691-4a5b-bfa0-a7053c56a1d0} TCPHandler: Code: 36. DB::Exception: Expected dictGet function first argument identifier to contain 1 or 2 parts. Actual 't.nest.a'. In scope SELECT dictGet(t.nest.a, concat(currentDatabase(), '.dict.dict'), 's', number) FROM numbers(5). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x000000000f9e106d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019405eb1 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:16.793269 [ 8775 ] {b280e392-377f-48aa-94aa-c245d5b56724} executeQuery: Code: 36. DB::Exception: Expected dictGetFloat64 function first argument identifier to contain 1 or 2 parts. Actual 't.b.s'. In scope SELECT dictGetFloat64(t.b.s, 'database_for_dict.dict1', dictGetFloat64('Ta\0', toUInt64('databas\0_for_dict.dict1databas\0_for_dict.dict1', dictGetFloat64('', '', toUInt64(1048577), toDate(NULL)), NULL), toDate(dictGetFloat64(257, 'database_for_dict.dict1database_for_dict.dict1', '', toUInt64(NULL), 2, toDate(NULL)), '2019-05-2\0')), NULL, toUInt64(dictGetFloat64('', '', toUInt64(-9223372036854775808), toDate(NULL)), NULL)). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33128) (comment: 01936_three_parts_identifiers_in_wrong_places.sql) (in query: SELECT dictGetFloat64(t.b.s, 'database_for_dict.dict1', dictGetFloat64('Ta\0', toUInt64('databas\0_for_dict.dict1databas\0_for_dict.dict1', dictGetFloat64('', '', toUInt64(1048577), toDate(NULL)), NULL), toDate(dictGetFloat64(257, 'database_for_dict.dict1database_for_dict.dict1', '', toUInt64(NULL), 2, toDate(NULL)), '2019-05-2\0')), NULL, toUInt64(dictGetFloat64('', '', toUInt64(-9223372036854775808), toDate(NULL)), NULL));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x000000000f9e106d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019405eb1 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:16.794474 [ 8775 ] {b280e392-377f-48aa-94aa-c245d5b56724} TCPHandler: Code: 36. DB::Exception: Expected dictGetFloat64 function first argument identifier to contain 1 or 2 parts. Actual 't.b.s'. In scope SELECT dictGetFloat64(t.b.s, 'database_for_dict.dict1', dictGetFloat64('Ta\0', toUInt64('databas\0_for_dict.dict1databas\0_for_dict.dict1', dictGetFloat64('', '', toUInt64(1048577), toDate(NULL)), NULL), toDate(dictGetFloat64(257, 'database_for_dict.dict1database_for_dict.dict1', '', toUInt64(NULL), 2, toDate(NULL)), '2019-05-2\0')), NULL, toUInt64(dictGetFloat64('', '', toUInt64(-9223372036854775808), toDate(NULL)), NULL)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String const&, String&&) @ 0x000000000f9e106d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019405eb1 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:17.043897 [ 8775 ] {395205c7-3176-4888-8388-d0db2a75a8af} executeQuery: Code: 36. DB::Exception: Expected identifier 'test_01103.t1_distr.id' to contain 1 or 2 parts to be resolved as table expression. In scope system.one. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33128) (comment: 01936_three_parts_identifiers_in_wrong_places.sql) (in query: SELECT NULL AND (2147483648 AND NULL) AND -2147483647, toUUID(((1048576 AND NULL) AND (2147483647 AND 257 AND NULL AND -2147483649) AND NULL) IN (test_01103.t1_distr.id), '00000000-e1fe-11e\0-bb8f\0853d60c00749'), stringToH3('89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff89184926cc3ffff');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940e4e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f8210 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f69a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e6dc4 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 16. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 17. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 31. ? @ 0x00007f5975bcaac3 in ? 2024.05.01 14:47:17.045753 [ 8775 ] {395205c7-3176-4888-8388-d0db2a75a8af} TCPHandler: Code: 36. DB::Exception: Expected identifier 'test_01103.t1_distr.id' to contain 1 or 2 parts to be resolved as table expression. In scope system.one. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTreeNode(DB::(anonymous namespace)::IdentifierLookup const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940e4e3 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifierFromJoinTree(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f8210 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:3544: DB::(anonymous namespace)::QueryAnalyzer::tryResolveIdentifier(DB::(anonymous namespace)::IdentifierLookup const&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::IdentifierResolveSettings) @ 0x00000000193f69a8 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e6dc4 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:4742: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193fec75 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 15. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 16. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 17. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 31. ? @ 0x00007f5975bcaac3 in ? 2024.05.01 14:47:17.210835 [ 9605 ] {cd25a15f-8465-4147-b6f8-8026cb14b6ab} executeQuery: Code: 6. DB::Exception: Cannot parse string '07-08-2019' as Date: syntax error at position 8 (parsed just '07-08-20'): While processing toDate('07-08-2019'). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33144) (comment: 01933_invalid_date.sql) (in query: SELECT toDate('07-08-2019');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f4030d in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:47:17.211517 [ 9605 ] {cd25a15f-8465-4147-b6f8-8026cb14b6ab} TCPHandler: Code: 6. DB::Exception: Cannot parse string '07-08-2019' as Date: syntax error at position 8 (parsed just '07-08-20'): While processing toDate('07-08-2019'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f4030d in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:47:17.367581 [ 9605 ] {4c19e7d6-7870-499a-9ce3-e40e4be297e7} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing toDate('2019-0708'). (CANNOT_PARSE_DATE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33144) (comment: 01933_invalid_date.sql) (in query: SELECT toDate('2019-0708');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000bac64e6 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000000fa6deb5 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1121: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000000fa6dd3c in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x0000000007f40adb in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f40087 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 9. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 2024.05.01 14:47:17.368555 [ 9605 ] {4c19e7d6-7870-499a-9ce3-e40e4be297e7} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing toDate('2019-0708'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000bac64e6 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000000fa6deb5 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1121: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000000fa6dd3c in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x0000000007f40adb in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f40087 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 9. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 2024.05.01 14:47:17.509726 [ 9605 ] {7f7b9bce-9e70-4853-b991-e249433ce2a7} executeQuery: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing toDate('201907-08'). (CANNOT_PARSE_DATE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33144) (comment: 01933_invalid_date.sql) (in query: SELECT toDate('201907-08');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000bac64e6 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000000fa6deb5 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1099: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000000fa6db87 in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x0000000007f40adb in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f40087 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 9. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 2024.05.01 14:47:17.510566 [ 9605 ] {7f7b9bce-9e70-4853-b991-e249433ce2a7} TCPHandler: Code: 38. DB::Exception: Cannot parse date: value is too short: Cannot parse Date from String: While processing toDate('201907-08'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000bac64e6 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1063: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&)::'lambda'()::operator()() const @ 0x000000000fa6deb5 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.cpp:1099: void DB::readDateTextFallback(LocalDate&, DB::ReadBuffer&) @ 0x000000000fa6db87 in /usr/bin/clickhouse 5. void DB::readDateTextImpl(LocalDate&, DB::ReadBuffer&) @ 0x0000000007f40adb in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f40087 in /usr/bin/clickhouse 7. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f30208 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2eee6 in /usr/bin/clickhouse 9. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f2e120 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 2024.05.01 14:47:17.782283 [ 9605 ] {5a5fdb8f-fcd9-430a-8311-b9324af99e00} executeQuery: Code: 53. DB::Exception: Cannot convert string 07-08-2019 to type Date: while executing 'FUNCTION greaterOrEquals(d : 0, '07-08-2019' : 1) -> greaterOrEquals(d, '07-08-2019') UInt8 : 2'. (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33144) (comment: 01933_invalid_date.sql) (in query: SELECT * FROM test WHERE d >= '07-08-2019';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a184aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aaabc1d in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa93452 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7c68b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 14:47:17.783167 [ 9605 ] {5a5fdb8f-fcd9-430a-8311-b9324af99e00} TCPHandler: Code: 53. DB::Exception: Cannot convert string 07-08-2019 to type Date: while executing 'FUNCTION greaterOrEquals(d : 0, '07-08-2019' : 1) -> greaterOrEquals(d, '07-08-2019') UInt8 : 2'. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a184aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aaabc1d in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000aa93452 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7c68b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 14:47:18.184971 [ 3185 ] {843844eb-25f3-41dc-805c-caf45418fcf8} executeQuery: Code: 60. DB::Exception: Table test_3f9p02x9.async_inserts (940412ef-ec9f-45b4-b416-876edc09091d) does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02015_async_inserts_stress_long.sh) (in query: INSERT INTO test_3f9p02x9.async_inserts FORMAT CSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189be028 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:517: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000188a9fa6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000188ad58a in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:18.184970 [ 3201 ] {a1aaa4ad-3f63-4329-b8c3-d45108da523a} executeQuery: Code: 60. DB::Exception: Table test_3f9p02x9.async_inserts (940412ef-ec9f-45b4-b416-876edc09091d) does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 02015_async_inserts_stress_long.sh) (in query: INSERT INTO test_3f9p02x9.async_inserts FORMAT JSONEachRow), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189be028 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:517: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000188a9fa6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000188ad58a in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:18.185918 [ 3185 ] {} AsynchronousInsertQueue: Failed insertion for query 'INSERT INTO test_3f9p02x9.async_inserts FORMAT CSV': Code: 60. DB::Exception: Table test_3f9p02x9.async_inserts (940412ef-ec9f-45b4-b416-876edc09091d) does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189be028 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:517: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000188a9fa6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000188ad58a in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:18.185920 [ 3201 ] {} AsynchronousInsertQueue: Failed insertion for query 'INSERT INTO test_3f9p02x9.async_inserts FORMAT JSONEachRow': Code: 60. DB::Exception: Table test_3f9p02x9.async_inserts (940412ef-ec9f-45b4-b416-876edc09091d) does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189be028 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.cpp:517: DB::AsynchronousInsertQueue::processData(DB::AsynchronousInsertQueue::InsertQuery, std::unique_ptr>, std::shared_ptr) @ 0x00000000188a9fa6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/AsynchronousInsertQueue.h:50: void std::__function::__policy_invoker::__call_impl>, std::shared_ptr)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x00000000188ad58a in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:18.386562 [ 1524 ] {06add83f-f122-45cb-bc04-2672f43d1aa4} executeQuery: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. (INVALID_PARTITION_VALUE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33224) (comment: 01925_broken_partition_id_zookeeper.sql) (in query: ALTER TABLE broken_partition DROP PARTITION ID '20210325_0_13241_6_12747';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000001aa33a9a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001a85b212 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001a8759a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374495 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:18.387525 [ 1524 ] {06add83f-f122-45cb-bc04-2672f43d1aa4} TCPHandler: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000001aa33a9a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001a85b212 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001a8759a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374495 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:18.393058 [ 1524 ] {d6154ee7-d433-4f75-8696-9dbd3cc3849d} executeQuery: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. (INVALID_PARTITION_VALUE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33224) (comment: 01925_broken_partition_id_zookeeper.sql) (in query: ALTER TABLE broken_partition DROP PARTITION ID '20210325_0_13241_6_12747';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000001aa33a9a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001a85b212 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001a8759a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374495 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:18.393684 [ 1524 ] {d6154ee7-d433-4f75-8696-9dbd3cc3849d} TCPHandler: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:42: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000001aa33a9a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001a85b212 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001a8759a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374495 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:18.569836 [ 1524 ] {e92fc9b5-aa8d-4c3a-b546-62eac06d5903} executeQuery: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. Partition should consist of 6 digits: YYYYMM. (INVALID_PARTITION_VALUE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33224) (comment: 01925_broken_partition_id_zookeeper.sql) (in query: ALTER TABLE old_partition_key DROP PARTITION ID '20210325_0_13241_6_12747';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:34: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000001aa33bba in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001a85b212 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001a8759a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374495 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:18.570677 [ 1524 ] {e92fc9b5-aa8d-4c3a-b546-62eac06d5903} TCPHandler: Code: 248. DB::Exception: Invalid partition format: 20210325_0_13241_6_12747. Partition should consist of 6 digits: YYYYMM. (INVALID_PARTITION_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreePartInfo.cpp:34: DB::MergeTreePartInfo::validatePartitionID(String const&, StrongTypedef) @ 0x000000001aa33bba in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::MergeTreeData::getPartitionIDFromQuery(std::shared_ptr const&, std::shared_ptr, DB::DataPartsLock*) const @ 0x000000001a85b212 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterPartitionIsPossible(std::vector> const&, std::shared_ptr const&, DB::Settings const&) const @ 0x000000001a8759a6 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374495 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:19.188892 [ 9605 ] {06eae812-cde2-4552-96c0-f5dccacf9f04} executeQuery: Code: 352. DB::Exception: Column 'time' is ambiguous: While processing time = (time AS talias). (AMBIGUOUS_COLUMN_NAME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33200) (comment: 01925_join_materialized_columns.sql) (in query: SELECT time as talias FROM t1 JOIN t2 ON t1.time = talias;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:256: DB::CollectJoinOnKeysMatcher::getTableForIdentifiers(std::shared_ptr const&, bool, DB::CollectJoinOnKeysMatcher::Data const&) @ 0x00000000199d8d38 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:112: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x00000000199d9514 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.h:67: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001998819a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x00000000199780ae in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:19.189916 [ 9605 ] {06eae812-cde2-4552-96c0-f5dccacf9f04} TCPHandler: Code: 352. DB::Exception: Column 'time' is ambiguous: While processing time = (time AS talias). (AMBIGUOUS_COLUMN_NAME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:256: DB::CollectJoinOnKeysMatcher::getTableForIdentifiers(std::shared_ptr const&, bool, DB::CollectJoinOnKeysMatcher::Data const&) @ 0x00000000199d8d38 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:112: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x00000000199d9514 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.h:67: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001998819a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x00000000199780ae in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:19.312552 [ 9605 ] {ea63cf9e-8f19-480c-b024-215ae7befb75} executeQuery: Code: 352. DB::Exception: Column 'time' is ambiguous: While processing (time AS talias) = t2.time. (AMBIGUOUS_COLUMN_NAME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33200) (comment: 01925_join_materialized_columns.sql) (in query: SELECT time as talias FROM t1 JOIN t2 ON talias = t2.time;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:256: DB::CollectJoinOnKeysMatcher::getTableForIdentifiers(std::shared_ptr const&, bool, DB::CollectJoinOnKeysMatcher::Data const&) @ 0x00000000199d8d38 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:0: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x00000000199d94fd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.h:67: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001998819a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x00000000199780ae in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:19.313420 [ 9605 ] {ea63cf9e-8f19-480c-b024-215ae7befb75} TCPHandler: Code: 352. DB::Exception: Column 'time' is ambiguous: While processing (time AS talias) = t2.time. (AMBIGUOUS_COLUMN_NAME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:256: DB::CollectJoinOnKeysMatcher::getTableForIdentifiers(std::shared_ptr const&, bool, DB::CollectJoinOnKeysMatcher::Data const&) @ 0x00000000199d8d38 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.cpp:0: DB::CollectJoinOnKeysMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::CollectJoinOnKeysMatcher::Data&) @ 0x00000000199d94fd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/CollectJoinOnKeysVisitor.h:67: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x000000001998819a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x00000000199780ae in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:20.346799 [ 19119 ] {6fd26e08-f992-4efe-bf07-930fe4991ca5} executeQuery: Code: 174. DB::Exception: Self referencing of `x` to `x`. Cyclic alias: default expression and column type are incompatible. (CYCLIC_ALIASES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33416) (comment: 01902_self_aliases_in_columns.sql) (in query: CREATE TABLE a (`number` UInt64, `x` MATERIALIZED x) ENGINE = MergeTree ORDER BY number SETTINGS index_granularity = 40537, min_bytes_for_wide_part = 125032100, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 23416, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 918851284, index_granularity_bytes = 20223421, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 91012, primary_key_compress_block_size = 17005), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199da565 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dbfdb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x00000000199ddd77 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dc0ea in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001997a614 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997c5bf in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001a03a7c5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929a5c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:20.347853 [ 19119 ] {6fd26e08-f992-4efe-bf07-930fe4991ca5} TCPHandler: Code: 174. DB::Exception: Self referencing of `x` to `x`. Cyclic alias: default expression and column type are incompatible. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199da565 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dbfdb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x00000000199ddd77 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dc0ea in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001997a614 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997c5bf in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001a03a7c5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929a5c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:20.500029 [ 19119 ] {71fbe218-8b2f-4567-9db5-7024c13188aa} executeQuery: Code: 174. DB::Exception: Self referencing of `j` to `j`. Cyclic alias: default expression and column type are incompatible. (CYCLIC_ALIASES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33416) (comment: 01902_self_aliases_in_columns.sql) (in query: CREATE TABLE foo (`i` Int32, `j` ALIAS j + 1) ENGINE = MergeTree ORDER BY i SETTINGS index_granularity = 40537, min_bytes_for_wide_part = 125032100, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 23416, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 918851284, index_granularity_bytes = 20223421, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 91012, primary_key_compress_block_size = 17005), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199da565 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dbfdb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x00000000199de07a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dc0ea in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x00000000199ddd77 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dc0ea in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001997a614 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997c5bf in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001a03a7c5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929a5c8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:20.501213 [ 19119 ] {71fbe218-8b2f-4567-9db5-7024c13188aa} TCPHandler: Code: 174. DB::Exception: Self referencing of `j` to `j`. Cyclic alias: default expression and column type are incompatible. (CYCLIC_ALIASES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199da565 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dbfdb in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x00000000199de07a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dc0ea in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x00000000199ddd77 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dc0ea in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001997a614 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997c5bf in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/ColumnsDescription.cpp:846: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001a03a7c5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929a5c8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:28.482857 [ 18282 ] {5e6ecf3e-f2a2-4078-9776-721f6ee7d369} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$..1key'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34342) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_VALUE('{"1key":1}', '$..1key');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000828eb74 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000828dee4 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:28.633144 [ 18282 ] {5e6ecf3e-f2a2-4078-9776-721f6ee7d369} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$..1key'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000828eb74 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000828dee4 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:28.633290 [ 7302 ] {435fa14b-fbec-47eb-835c-8a3b253a2c43} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAny(y, [[123], -42]). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34352) (comment: 01888_bloom_filter_hasAny.sql) (in query: SELECT count() FROM bftest WHERE hasAny(y, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001856112f in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x00000000185210ee in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:0: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001878889a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1297: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa8fba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e0f2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e0e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x0000000018a7a153 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001a7bc023 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001aaf78e8 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019538ed2 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:47:28.634421 [ 7302 ] {435fa14b-fbec-47eb-835c-8a3b253a2c43} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAny(y, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001856112f in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x00000000185210ee in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:0: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001878889a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1297: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa8fba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e0f2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e0e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x0000000018a7a153 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001a7bc023 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001aaf78e8 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019538ed2 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:47:28.641873 [ 18282 ] {5c22067b-db2d-4f3a-b989-07fb3a62d501} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$1key'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34342) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_VALUE('{"1key":1}', '$1key');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000828eb74 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000828dee4 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:28.642798 [ 18282 ] {5c22067b-db2d-4f3a-b989-07fb3a62d501} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$1key'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000828eb74 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000828dee4 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:28.651268 [ 18282 ] {af587810-c49a-4b36-8044-1e18330c0022} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$key'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34342) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_VALUE('{"1key":1}', '$key');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000828eb74 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000828dee4 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:28.652373 [ 18282 ] {af587810-c49a-4b36-8044-1e18330c0022} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$key'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000828eb74 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000828dee4 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:28.662350 [ 18282 ] {de2f9fe9-863d-43c6-af1a-3df4b983d085} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$.[key]'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34342) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_VALUE('{"1key":1}', '$.[key]');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000828eb74 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000828dee4 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:28.663274 [ 18282 ] {de2f9fe9-863d-43c6-af1a-3df4b983d085} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_VALUE('{"1key":1}', '$.[key]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x000000000828eb74 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000828dee4 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:28.913011 [ 7302 ] {a535f56a-de70-4462-992b-78a9ec0b351b} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34352) (comment: 01888_bloom_filter_hasAny.sql) (in query: -- can't use bloom_filter with `hasAny` on non-constant arguments (just like `has`) SELECT count() FROM bftest WHERE hasAny(x, materialize([1,2,3])) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:29.046807 [ 7302 ] {a535f56a-de70-4462-992b-78a9ec0b351b} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:29.047053 [ 18282 ] {9940dbdc-5329-414b-873b-d22c7a0ac866} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$..1key'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34342) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_QUERY('{"1key":1}', '$..1key');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x0000000008287774 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008286984 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:29.047989 [ 18282 ] {9940dbdc-5329-414b-873b-d22c7a0ac866} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$..1key'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x0000000008287774 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008286984 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:29.055291 [ 18282 ] {5c1bb7e6-de39-4895-b853-316e5e39bf85} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$1key'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34342) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_QUERY('{"1key":1}', '$1key');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x0000000008287774 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008286984 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:29.056146 [ 18282 ] {5c1bb7e6-de39-4895-b853-316e5e39bf85} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$1key'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x0000000008287774 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008286984 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:29.062072 [ 7302 ] {7c01cd57-1c39-4049-9141-dfa28a610274} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34352) (comment: 01888_bloom_filter_hasAny.sql) (in query: -- NULLs are not Ok SELECT count() FROM bftest WHERE hasAny(x, [NULL,-42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:29.062328 [ 18282 ] {5e137c7a-66e2-42f6-95a1-dec1549d9f5a} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$key'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34342) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_QUERY('{"1key":1}', '$key');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x0000000008287774 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008286984 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:29.062822 [ 7302 ] {7c01cd57-1c39-4049-9141-dfa28a610274} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:29.063114 [ 18282 ] {5e137c7a-66e2-42f6-95a1-dec1549d9f5a} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$key'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x0000000008287774 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008286984 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:29.069537 [ 18282 ] {35baae7a-70a7-4665-99d2-adb722a373df} executeQuery: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$.[key]'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34342) (comment: 01889_sql_json_functions.sql) (in query: SELECT JSON_QUERY('{"1key":1}', '$.[key]');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x0000000008287774 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008286984 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:29.070386 [ 18282 ] {35baae7a-70a7-4665-99d2-adb722a373df} TCPHandler: Code: 36. DB::Exception: Unable to parse JSONPath: While processing JSON_QUERY('{"1key":1}', '$.[key]'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. DB::FunctionSQLJSONHelpers::Executor::run(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int, std::shared_ptr const&) @ 0x0000000008287774 in /usr/bin/clickhouse 4. DB::FunctionSQLJSON::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008286984 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:47:29.078376 [ 7302 ] {c4fb8674-9c04-4875-92b4-7a0bf92ae40e} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34352) (comment: 01888_bloom_filter_hasAny.sql) (in query: SELECT count() FROM bftest WHERE hasAny(x, [0,NULL]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:29.079206 [ 7302 ] {c4fb8674-9c04-4875-92b4-7a0bf92ae40e} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:29.088084 [ 7302 ] {c404e9c8-f95a-4375-b429-3e8cfb1565e3} executeQuery: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAny(x, [[123], -42]). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34352) (comment: 01888_bloom_filter_hasAny.sql) (in query: -- non-compatible types SELECT count() FROM bftest WHERE hasAny(x, [[123], -42]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001856112f in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x00000000185210ee in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:0: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001878889a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1297: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa8fba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e0f2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e0e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x0000000018a7a153 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001a7bc023 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001aaf78e8 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019538ed2 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:47:29.088955 [ 7302 ] {c404e9c8-f95a-4375-b429-3e8cfb1565e3} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Array(UInt8), Int8 because some of them are Array and some of them are not: While processing SELECT count() FROM bftest WHERE hasAny(x, [[123], -42]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001856112f in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/FieldToDataType.cpp:142: DB::FieldToDataType<(DB::LeastSupertypeOnError)0>::operator()(DB::Array const&) const @ 0x00000000185210ee in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:0: auto DB::Field::dispatch, DB::Field const&>(DB::FieldToDataType<(DB::LeastSupertypeOnError)0>&&, DB::Field const&) @ 0x000000001878889a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1297: DB::ActionsMatcher::visit(DB::ASTLiteral const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa8fba in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:700: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e0f2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e0e4 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::getConstActionsDAG(std::vector> const&) @ 0x0000000018a7a153 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/KeyCondition.cpp:724: DB::KeyCondition::getBlockWithConstants(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001a7bc023 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeWhereOptimizer::optimize(DB::SelectQueryInfo&, std::shared_ptr const&) const @ 0x000000001aaf78e8 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019538ed2 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:47:29.104623 [ 7302 ] {75424791-5e92-4950-93ef-13ae56181273} executeQuery: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34352) (comment: 01888_bloom_filter_hasAny.sql) (in query: SELECT count() FROM bftest WHERE hasAny(x, [toDecimal32(123, 3), 2]) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:29.105267 [ 7302 ] {75424791-5e92-4950-93ef-13ae56181273} TCPHandler: Code: 277. DB::Exception: Index `ix1` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:30.587599 [ 18285 ] {248cfce6-6d20-46ec-a327-4738c3086864} executeQuery: Code: 47. DB::Exception: JOIN test_gecid41f.v1 AS t1 ALL INNER JOIN test_gecid41f.v1 AS t2 USING (id) ALL INNER JOIN test_gecid41f.v1 AS t3 USING (value) using identifier 'value' cannot be resolved from left table expression. In scope SELECT * FROM v1 AS t1 INNER JOIN v1 AS t2 USING (id) INNER JOIN v1 AS t3 USING (value). (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34568) (comment: 01852_multiple_joins_with_union_join.sql) (in query: SELECT * FROM v1 AS t1 JOIN v1 AS t2 USING (id) JOIN v1 AS t3 USING (value);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x00000000194371ed in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000193f0643 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db237 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:30.588958 [ 18285 ] {248cfce6-6d20-46ec-a327-4738c3086864} TCPHandler: Code: 47. DB::Exception: JOIN test_gecid41f.v1 AS t1 ALL INNER JOIN test_gecid41f.v1 AS t2 USING (id) ALL INNER JOIN test_gecid41f.v1 AS t3 USING (value) using identifier 'value' cannot be resolved from left table expression. In scope SELECT * FROM v1 AS t1 INNER JOIN v1 AS t2 USING (id) INNER JOIN v1 AS t3 USING (value). (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, String&&) @ 0x00000000194371ed in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000193f0643 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db237 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:31.081524 [ 18285 ] {8cb34f6d-5fb4-4969-9464-66479868ddc8} executeQuery: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern '\': While processing '\\' LIKE '\\'. (CANNOT_PARSE_ESCAPE_SEQUENCE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35096) (comment: 01847_bad_like.sql) (in query: SELECT '\\' LIKE '\\';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000000bace266 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x000000000fa46b58 in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x000000000c573bf5 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x000000000c572ef1 in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000c570180 in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c56f045 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:47:31.082389 [ 18285 ] {8cb34f6d-5fb4-4969-9464-66479868ddc8} TCPHandler: Code: 25. DB::Exception: Invalid escape sequence at the end of LIKE pattern '\': While processing '\\' LIKE '\\'. (CANNOT_PARSE_ESCAPE_SEQUENCE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl>&>::type>, std::basic_string_view>&) @ 0x000000000bace266 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/likePatternToRegexp.cpp:61: DB::likePatternToRegexp(std::basic_string_view>) @ 0x000000000fa46b58 in /usr/bin/clickhouse 4. OptimizedRegularExpressionImpl DB::Regexps::createRegexp(String const&) @ 0x000000000c573bf5 in /usr/bin/clickhouse 5. std::shared_ptr> DB::Regexps::LocalCacheTable::getOrSet(String const&) @ 0x000000000c572ef1 in /usr/bin/clickhouse 6. DB::MatchImpl::vectorVector(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000c570180 in /usr/bin/clickhouse 7. DB::FunctionsStringSearch, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000c56f045 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:47:32.388528 [ 18910 ] {4a4b76c2-c932-4968-8576-85b066b09101} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35272) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:32.389278 [ 18910 ] {4a4b76c2-c932-4968-8576-85b066b09101} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:32.495515 [ 18906 ] {a7b20085-9178-4705-a3b1-2fa29ab0095c} executeQuery: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'arr' and 'arr.k33'. (INCOMPATIBLE_COLUMNS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35212) (comment: 01825_type_json_insert_select.sql) (in query: INSERT INTO type_json_dst SELECT * FROM type_json_src WHERE id = 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:294: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x000000001853b2db in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001853c79c in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/ObjectUtils.cpp:255: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x0000000018539a84 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001acab5ec in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:32.497020 [ 18906 ] {a7b20085-9178-4705-a3b1-2fa29ab0095c} TCPHandler: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'arr' and 'arr.k33'. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:294: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x000000001853b2db in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001853c79c in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/ObjectUtils.cpp:255: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x0000000018539a84 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeSink.cpp:0: DB::MergeTreeSink::consume(DB::Chunk) @ 0x000000001acab5ec in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:34.993421 [ 11350 ] {0ed0f166-3c43-4b61-9e56-9b814cb08361} executeQuery: Code: 6. DB::Exception: Cannot parse string '1\'4' as UInt32: syntax error at position 1 (parsed just '1'). Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing CAST('1\'4', 'UInt32'). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35452) (comment: 01852_cast_operator_bad_cases.sh) (in query: SELECT '1''4'::UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d24934 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d15480 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d141c6 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d13460 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000810c77f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 2024.05.01 14:47:35.120558 [ 19106 ] {2250465b-e653-46f5-97f8-8fc7d706e40a} executeQuery: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'key_0.key_11' and 'key_0.key_5'. Paths have prefixes matched by names, but different in structure. (INCOMPATIBLE_COLUMNS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35464) (comment: 01825_type_json_14.sql) (in query: INSERT INTO t_json_14 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:299: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x000000001853b23b in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001853c79c in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/ObjectUtils.cpp:255: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x0000000018539a84 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMemory.cpp:0: DB::MemorySink::consume(DB::Chunk) @ 0x000000001a1ea5c7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:35.120546 [ 11350 ] {0ed0f166-3c43-4b61-9e56-9b814cb08361} TCPHandler: Code: 6. DB::Exception: Cannot parse string '1\'4' as UInt32: syntax error at position 1 (parsed just '1'). Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: While processing CAST('1\'4', 'UInt32'). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d24934 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d15480 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d141c6 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d13460 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000810c77f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 19. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 20. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 2024.05.01 14:47:35.121392 [ 19106 ] {2250465b-e653-46f5-97f8-8fc7d706e40a} TCPHandler: Code: 122. DB::Exception: Data in Object has ambiguous paths: 'key_0.key_11' and 'key_0.key_5'. Paths have prefixes matched by names, but different in structure. (INCOMPATIBLE_COLUMNS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/ObjectUtils.cpp:299: DB::checkObjectHasNoAmbiguosPaths(std::vector> const&) @ 0x000000001853b23b in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/ObjectUtils.cpp:0: DB::getLeastCommonTypeForDynamicColumnsImpl(std::shared_ptr const&, std::vector, std::allocator>> const&, bool) @ 0x000000001853c79c in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/ObjectUtils.cpp:255: DB::convertDynamicColumnsToTuples(DB::Block&, std::shared_ptr const&) @ 0x0000000018539a84 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageMemory.cpp:0: DB::MemorySink::consume(DB::Chunk) @ 0x000000001a1ea5c7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:40.528914 [ 2834 ] {19772862-06d9-4c5b-b113-b5568279aa2f} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 9.00, current rows: 10.00: While executing MergeTreeInOrder. (TOO_MANY_ROWS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36320) (comment: 01801_approx_total_rows_mergetree_reverse.sql) (in query: select * from data_01801 where key = 0 order by key settings max_rows_to_read=9 format Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:40.529808 [ 2834 ] {19772862-06d9-4c5b-b113-b5568279aa2f} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 9.00, current rows: 10.00: While executing MergeTreeInOrder. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:40.546852 [ 2834 ] {4bce38e3-4c41-4460-8e5b-15dcaf51f50c} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 9.00, current rows: 10.00: While executing MergeTreeReverse. (TOO_MANY_ROWS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36320) (comment: 01801_approx_total_rows_mergetree_reverse.sql) (in query: select * from data_01801 where key = 0 order by key desc settings max_rows_to_read=9 format Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:40.547599 [ 2834 ] {4bce38e3-4c41-4460-8e5b-15dcaf51f50c} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 9.00, current rows: 10.00: While executing MergeTreeReverse. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:44.944846 [ 9603 ] {d7ccec4f-cea0-4dbb-86c9-6be522b45b41} executeQuery: Code: 128. DB::Exception: Function mapPopulateSeries too large array size in the result: While processing mapPopulateSeries([-9223372036854775808, toUInt32(2)], [toUInt32(1023), -1]). (TOO_LARGE_ARRAY_SIZE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40332) (comment: 01777_map_populate_series_ubsan.sql) (in query: -- Should correctly throw exception about overflow: SELECT mapPopulateSeries([-9223372036854775808, toUInt32(2)], [toUInt32(1023), -1]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. void DB::FunctionMapPopulateSeries::executeImplTyped(COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::mutable_ptr, COW::mutable_ptr, COW::mutable_ptr) const @ 0x000000000f8aaa6b in /usr/bin/clickhouse 4. auto DB::FunctionMapPopulateSeries::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::DataTypeNumber>>(auto const&) const @ 0x000000000f8a9e11 in /usr/bin/clickhouse 5. DB::FunctionMapPopulateSeries::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f6ab384 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:47:44.946011 [ 9603 ] {d7ccec4f-cea0-4dbb-86c9-6be522b45b41} TCPHandler: Code: 128. DB::Exception: Function mapPopulateSeries too large array size in the result: While processing mapPopulateSeries([-9223372036854775808, toUInt32(2)], [toUInt32(1023), -1]). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. void DB::FunctionMapPopulateSeries::executeImplTyped(COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::immutable_ptr const&, COW::mutable_ptr, COW::mutable_ptr, COW::mutable_ptr) const @ 0x000000000f8aaa6b in /usr/bin/clickhouse 4. auto DB::FunctionMapPopulateSeries::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&)::operator(), DB::DataTypeNumber>>(auto const&) const @ 0x000000000f8a9e11 in /usr/bin/clickhouse 5. DB::FunctionMapPopulateSeries::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f6ab384 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:47:45.787930 [ 17663 ] {a138ec26-fdd6-4f1a-96a0-2699c27c7047} executeQuery: Code: 184. DB::Exception: Aggregate function avg(number) is found inside another aggregate function in query: While processing avg(number) AS number. (ILLEGAL_AGGREGATION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40446) (comment: 01764_prefer_column_name_to_alias.sql) (in query: SELECT avg(number) AS number, max(number) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000018a8d262 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001997b1ae in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976a46 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:45.789195 [ 17663 ] {a138ec26-fdd6-4f1a-96a0-2699c27c7047} TCPHandler: Code: 184. DB::Exception: Aggregate function avg(number) is found inside another aggregate function in query: While processing avg(number) AS number. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000018a8d262 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001997b1ae in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976a46 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:45.802550 [ 17663 ] {8cff4239-4429-4b8d-96e0-0c20dcde5d35} executeQuery: Code: 184. DB::Exception: Aggregate function sum(x) is found inside another aggregate function in query: While processing sum(x) AS x. (ILLEGAL_AGGREGATION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40446) (comment: 01764_prefer_column_name_to_alias.sql) (in query: SELECT sum(x) AS x, max(x) FROM (SELECT 1 AS x UNION ALL SELECT 2 AS x) t;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000018a8d262 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001997b1ae in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976a46 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:45.803451 [ 17663 ] {8cff4239-4429-4b8d-96e0-0c20dcde5d35} TCPHandler: Code: 184. DB::Exception: Aggregate function sum(x) is found inside another aggregate function in query: While processing sum(x) AS x. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000018a8d262 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001997b1ae in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976a46 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:45.820708 [ 17663 ] {fbf26157-f16e-426e-b920-75b1206b016b} executeQuery: Code: 184. DB::Exception: Aggregate function sum(C1) is found inside another aggregate function in query: While processing sum(C1) AS C1. (ILLEGAL_AGGREGATION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40446) (comment: 01764_prefer_column_name_to_alias.sql) (in query: select sum(C1) as C1, count(C1) as C2 from (select number as C1 from numbers(3)) as ITBL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000018a8d262 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001997b1ae in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976a46 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:45.821815 [ 17663 ] {fbf26157-f16e-426e-b920-75b1206b016b} TCPHandler: Code: 184. DB::Exception: Aggregate function sum(C1) is found inside another aggregate function in query: While processing sum(C1) AS C1. (ILLEGAL_AGGREGATION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GetAggregatesVisitor.h:0: DB::GetAggregatesMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::GetAggregatesMatcher::Data&) @ 0x0000000018a8d262 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: DB::(anonymous namespace)::getAggregates(std::shared_ptr&, DB::ASTSelectQuery const&) @ 0x000000001997b1ae in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976a46 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:46.318707 [ 1435 ] {0a25251b-712f-4662-b754-7590f0e1af77} StorageDistributed (tt6): Name of remote database is empty. Default database will be used implicitly. 2024.05.01 14:47:46.336628 [ 1435 ] {bfce93fe-e726-45d2-b366-8b9d27265f89} StorageDistributed (tt7): Name of remote database is empty. Default database will be used implicitly. 2024.05.01 14:47:46.499991 [ 1435 ] {adfc7b57-1d01-4314-a3f7-85d9dcaefbd8} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40558) (comment: 01763_max_distributed_depth.sql) (in query: INSERT INTO tt6 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000007ca4646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:134: DB::DistributedSink::DistributedSink(std::shared_ptr, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr const&, bool, unsigned long, DB::StorageID, std::vector> const&) @ 0x000000001a6fcbcc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DistributedSink* std::construct_at[abi:v15000]&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID, std::vector>&, DB::DistributedSink*>(DB::DistributedSink*, std::shared_ptr&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID&&, std::vector>&) @ 0x000000001a10ee8b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001a0f8328 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3ea151 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1595: DB::InterpreterInsertQuery::execute() @ 0x0000000019508e20 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a703997 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a7039e8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a7039e8 in /usr/bin/clickhouse 2024.05.01 14:47:46.500884 [ 1435 ] {adfc7b57-1d01-4314-a3f7-85d9dcaefbd8} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000007ca4646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:134: DB::DistributedSink::DistributedSink(std::shared_ptr, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr const&, bool, unsigned long, DB::StorageID, std::vector> const&) @ 0x000000001a6fcbcc in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: DB::DistributedSink* std::construct_at[abi:v15000]&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID, std::vector>&, DB::DistributedSink*>(DB::DistributedSink*, std::shared_ptr&, DB::StorageDistributed&, std::shared_ptr const&, std::shared_ptr&, bool&, DB::SettingFieldNumber&, DB::StorageID&&, std::vector>&) @ 0x000000001a10ee8b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001a0f8328 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3ea151 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1595: DB::InterpreterInsertQuery::execute() @ 0x0000000019508e20 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a703997 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a7039e8 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a7039e8 in /usr/bin/clickhouse 2024.05.01 14:47:46.685098 [ 1435 ] {6488488f-8008-4b4c-a4e3-e7d3328d1518} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40558) (comment: 01763_max_distributed_depth.sql) (in query: SELECT * FROM tt6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000007ca4646 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:172: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a119081 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 2024.05.01 14:47:46.686115 [ 1435 ] {6488488f-8008-4b4c-a4e3-e7d3328d1518} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000007ca4646 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:172: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a119081 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 2024.05.01 14:47:47.566599 [ 18906 ] {3dc5c877-35d3-4556-a505-397adbcf0c7f} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40636) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: -- in negative select * from dist_01757 where dummy in (0, 1) settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:47.567486 [ 18906 ] {3dc5c877-35d3-4556-a505-397adbcf0c7f} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:47.577581 [ 18906 ] {80ad2285-6af4-446e-810a-51149c829ac5} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40636) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: -- or negative select * from dist_01757 where dummy = 0 or dummy = 1 settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:47.594996 [ 18906 ] {80ad2285-6af4-446e-810a-51149c829ac5} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:47.778385 [ 1435 ] {64a7d5b3-b8da-466b-ae64-c4ff91061330} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f579f03a000, frame address: 0x7f579f7d3850, stack size: 419760, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40558) (comment: 01763_max_distributed_depth.sql) (in query: -- stack overflow INSERT INTO tt6 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x000000000fa3ef62 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x000000000fa3ed73 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/Chain.h:17: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3e4aba in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1595: DB::InterpreterInsertQuery::execute() @ 0x0000000019508e20 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a703997 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a7039e8 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a7039e8 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 2024.05.01 14:47:47.778460 [ 18906 ] {2c8edee2-f3b7-477c-a132-f8471b6c1871} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40636) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: -- and negative select * from dist_01757 where dummy = 0 and dummy = 1 settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:47.779236 [ 1435 ] {64a7d5b3-b8da-466b-ae64-c4ff91061330} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f579f03a000, frame address: 0x7f579f7d3850, stack size: 419760, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x000000000fa3ef62 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x000000000fa3ed73 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/Chain.h:17: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3e4aba in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1595: DB::InterpreterInsertQuery::execute() @ 0x0000000019508e20 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:705: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a703997 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a7039e8 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeToLocal(DB::Cluster::ShardInfo const&, DB::Block const&, unsigned long) @ 0x000000001a7039e8 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::writeAsyncImpl(DB::Block const&, unsigned long) @ 0x000000001a6feecb in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/Distributed/DistributedSink.cpp:0: DB::DistributedSink::consume(DB::Chunk) @ 0x000000001a6fd006 in /usr/bin/clickhouse 2024.05.01 14:47:47.779663 [ 18906 ] {2c8edee2-f3b7-477c-a132-f8471b6c1871} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:47.791023 [ 18906 ] {a63f1cd6-e211-49b5-9033-7f1b7a8ba989} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40636) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: select * from dist_01757 where dummy = 0 and dummy = 2 and dummy = 3 settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:47.791836 [ 18906 ] {a63f1cd6-e211-49b5-9033-7f1b7a8ba989} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:47.802256 [ 18906 ] {3ad0ce7f-ebe0-4274-a141-39af35d990e2} executeQuery: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40636) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: select * from dist_01757 where dummy = 0 and dummy = 2 and dummy = 3 settings optimize_skip_unused_shards_limit=2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:47.802944 [ 18906 ] {3ad0ce7f-ebe0-4274-a141-39af35d990e2} TCPHandler: Code: 507. DB::Exception: Sharding key dummy is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:47.954490 [ 18906 ] {e6d4c931-b914-4642-997d-421270146a13} executeQuery: Code: 69. DB::Exception: optimize_skip_unused_shards_limit out of range (0, 9223372036854775807]. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40636) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: -- ARGUMENT_OUT_OF_BOUND error select * from dist_01757 where dummy in (0, 1) settings optimize_skip_unused_shards_limit=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000001a10bf0d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:1400: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a104f1b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f29a7 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:48.092804 [ 18906 ] {e6d4c931-b914-4642-997d-421270146a13} TCPHandler: Code: 69. DB::Exception: optimize_skip_unused_shards_limit out of range (0, 9223372036854775807]. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000001a10bf0d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:1400: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a104f1b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f29a7 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:48.093081 [ 1435 ] {a937b704-53e3-4100-acc9-cb16224e532c} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f579f03a000, frame address: 0x7f579f7d3560, stack size: 420512, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40558) (comment: 01763_max_distributed_depth.sql) (in query: -- stack overflow SELECT * FROM tt6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x000000000fa3ef62 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x000000000fa3ed73 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199da28d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dbfdb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x00000000199ddd77 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dc0ea in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x00000000199dd662 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dc089 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001997a614 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001997443e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b527623 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 2024.05.01 14:47:48.094258 [ 1435 ] {a937b704-53e3-4100-acc9-cb16224e532c} TCPHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f579f03a000, frame address: 0x7f579f7d3560, stack size: 420512, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x000000000fa3ef62 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x000000000fa3ed73 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTIdentifier&, std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199da28d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:286: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dbfdb in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visitChildren(DB::IAST*, DB::QueryNormalizer::Data&) @ 0x00000000199ddd77 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dc0ea in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:0: DB::QueryNormalizer::visit(DB::ASTSelectQuery&, std::shared_ptr const&, DB::QueryNormalizer::Data&) @ 0x00000000199dd662 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/QueryNormalizer.cpp:290: DB::QueryNormalizer::visit(std::shared_ptr&, DB::QueryNormalizer::Data&) @ 0x00000000199dc089 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/QueryNormalizer.h:0: DB::TreeRewriter::normalize(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, std::unordered_set, std::equal_to, std::allocator> const&, bool, DB::Settings const&, bool, std::shared_ptr, bool) @ 0x000000001997a614 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x000000001997443e in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b527623 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 31. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 2024.05.01 14:47:48.101000 [ 18906 ] {4731a424-1b7c-41b2-b6c4-6f5d2f48814e} executeQuery: Code: 69. DB::Exception: optimize_skip_unused_shards_limit out of range (0, 9223372036854775807]. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40636) (comment: 01757_optimize_skip_unused_shards_limit.sql) (in query: select * from dist_01757 where dummy in (0, 1) settings optimize_skip_unused_shards_limit=9223372036854775808;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000001a10bf0d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:1400: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a104f1b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f29a7 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:48.101753 [ 18906 ] {4731a424-1b7c-41b2-b6c4-6f5d2f48814e} TCPHandler: Code: 69. DB::Exception: optimize_skip_unused_shards_limit out of range (0, 9223372036854775807]. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, long&&) @ 0x000000001a10bf0d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:1400: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a104f1b in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f29a7 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:48.668101 [ 9606 ] {46934c6c-d883-498b-8b89-89da95243f1d} executeQuery: Code: 43. DB::Exception: Illegal type DateTime64(3) of argument for aggregate function deltaSumTimestamp, must be Int, Float, Date, DateTime. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40726) (comment: 01762_deltasumtimestamp_datetime64.sh) (in query: SELECT deltaSumTimestamp(1, now64());), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionDeltaSumTimestamp.cpp:0: DB::(anonymous namespace)::createAggregateFunctionDeltaSumTimestamp(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000102ceb13 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000fe243de in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:48.670313 [ 9606 ] {46934c6c-d883-498b-8b89-89da95243f1d} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime64(3) of argument for aggregate function deltaSumTimestamp, must be Int, Float, Date, DateTime. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionDeltaSumTimestamp.cpp:0: DB::(anonymous namespace)::createAggregateFunctionDeltaSumTimestamp(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000102ceb13 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000fe243de in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:50.010206 [ 9606 ] {e7566645-3fae-4a1e-b196-25605cd9b4e1} executeQuery: Code: 407. DB::Exception: DateTime64 convert overflow. Float is out of Decimal range: While processing toDateTime64(9300000000., 9, 'UTC'). (DECIMAL_OVERFLOW) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40878) (comment: 01734_datetime64_from_float.sql) (in query: SELECT toDateTime64(9300000000.0, 9, 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. void DB::convertToDecimalImpl, DB::DataTypeDateTime64, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDateTime64::FieldType&) @ 0x0000000007cc1a80 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::ToDateTime64TransformFloat, double>, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToDateTime64TransformFloat, double> const&) @ 0x0000000007cc1553 in /usr/bin/clickhouse 5. bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeDateTime64>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000840c06e in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000008409c5c in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008409764 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008408a40 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:47:50.011190 [ 9606 ] {e7566645-3fae-4a1e-b196-25605cd9b4e1} TCPHandler: Code: 407. DB::Exception: DateTime64 convert overflow. Float is out of Decimal range: While processing toDateTime64(9300000000., 9, 'UTC'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. void DB::convertToDecimalImpl, DB::DataTypeDateTime64, void>(DB::DataTypeNumber::FieldType const&, unsigned int, DB::DataTypeDateTime64::FieldType&) @ 0x0000000007cc1a80 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::ToDateTime64TransformFloat, double>, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToDateTime64TransformFloat, double> const&) @ 0x0000000007cc1553 in /usr/bin/clickhouse 5. bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeDateTime64>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000840c06e in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000008409c5c in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008409764 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008408a40 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:47:50.193828 [ 9606 ] {b9dd4e55-7c05-4b3d-91db-ea680c9e56cb} executeQuery: Code: 407. DB::Exception: Decimal math overflow: While processing toDateTime64(9300000000, 9, 'UTC'). (DECIMAL_OVERFLOW) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40878) (comment: 01734_datetime64_from_float.sql) (in query: SELECT toDateTime64(9300000000, 9, 'UTC');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [22]) @ 0x0000000007cbd546 in /usr/bin/clickhouse 3. void DB::Transformer, DB::DataTypeDateTime64, DB::ToDateTime64TransformUnsigned, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToDateTime64TransformUnsigned const&, DB::PODArray, 63ul, 64ul>*) @ 0x0000000007cbd429 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::ToDateTime64TransformUnsigned, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToDateTime64TransformUnsigned const&) @ 0x0000000007cbd0e8 in /usr/bin/clickhouse 5. bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeDateTime64>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000840a63e in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000008409b8b in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008409764 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008408a40 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:47:50.194814 [ 9606 ] {b9dd4e55-7c05-4b3d-91db-ea680c9e56cb} TCPHandler: Code: 407. DB::Exception: Decimal math overflow: While processing toDateTime64(9300000000, 9, 'UTC'). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [22]) @ 0x0000000007cbd546 in /usr/bin/clickhouse 3. void DB::Transformer, DB::DataTypeDateTime64, DB::ToDateTime64TransformUnsigned, false, void*>::vector, 63ul, 64ul>, DB::PODArray, 63ul, 64ul>>(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DateLUTImpl const&, DB::ToDateTime64TransformUnsigned const&, DB::PODArray, 63ul, 64ul>*) @ 0x0000000007cbd429 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::DateTimeTransformImpl, DB::DataTypeDateTime64, DB::ToDateTime64TransformUnsigned, false>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToDateTime64TransformUnsigned const&) @ 0x0000000007cbd0e8 in /usr/bin/clickhouse 5. bool DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator(), DB::DataTypeDateTime64>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x000000000840a63e in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000008409b8b in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008409764 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008408a40 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:47:50.639011 [ 8758 ] {3ae84590-dea5-49a2-95f4-17918c2d096e} executeQuery: Code: 469. DB::Exception: Constraint `c0` for table test_lagug8xt.constraint_on_nullable_type (2b1786bc-7938-40a7-82b2-5041df279193) is violated at row 1. Expression: (id = 1). Column values: id = 0. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41028) (comment: 01720_constraints_complex_types.sql) (in query: INSERT INTO constraint_on_nullable_type VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:50.640081 [ 8758 ] {3ae84590-dea5-49a2-95f4-17918c2d096e} TCPHandler: Code: 469. DB::Exception: Constraint `c0` for table test_lagug8xt.constraint_on_nullable_type (2b1786bc-7938-40a7-82b2-5041df279193) is violated at row 1. Expression: (id = 1). Column values: id = 0. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:50.823619 [ 8758 ] {866026e7-29e1-4a47-ae76-6b6f1e94a087} executeQuery: Code: 469. DB::Exception: Constraint `c0` for table test_lagug8xt.constraint_on_low_cardinality_type (7026b6db-40a6-42b5-9640-261ad9e89d3a) is violated at row 1. Expression: (id = 2). Column values: id = 0. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41028) (comment: 01720_constraints_complex_types.sql) (in query: INSERT INTO constraint_on_low_cardinality_type VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:50.823918 [ 17586 ] {382d18ec-2511-4fc0-8167-3f09e30e5ecb} executeQuery: Code: 153. DB::Exception: Cannot perform integer division, because it will produce infinite or too large number: While processing intDiv(9223372036854775807, 0.9998999834060669). (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51048) (comment: 01717_int_div_float_too_large_ubsan.sql) (in query: SELECT intDiv(9223372036854775807, 0.9998999834060669);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. long DB::DivideIntegralImpl::apply(unsigned long, double) @ 0x000000000b63d137 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7dd423 in /usr/bin/clickhouse 5. auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000b7d221f in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d1679 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:47:50.824432 [ 8758 ] {866026e7-29e1-4a47-ae76-6b6f1e94a087} TCPHandler: Code: 469. DB::Exception: Constraint `c0` for table test_lagug8xt.constraint_on_low_cardinality_type (7026b6db-40a6-42b5-9640-261ad9e89d3a) is violated at row 1. Expression: (id = 2). Column values: id = 0. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:50.825069 [ 17586 ] {382d18ec-2511-4fc0-8167-3f09e30e5ecb} TCPHandler: Code: 153. DB::Exception: Cannot perform integer division, because it will produce infinite or too large number: While processing intDiv(9223372036854775807, 0.9998999834060669). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. long DB::DivideIntegralImpl::apply(unsigned long, double) @ 0x000000000b63d137 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7dd423 in /usr/bin/clickhouse 5. auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000b7d221f in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d1679 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:47:50.835321 [ 17586 ] {8292c61e-e643-45fe-aa7d-a4c58fb01241} executeQuery: Code: 153. DB::Exception: Cannot perform integer division, because it will produce infinite or too large number: While processing intDiv(9223372036854775807, 1.). (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51048) (comment: 01717_int_div_float_too_large_ubsan.sql) (in query: SELECT intDiv(9223372036854775807, 1.);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. long DB::DivideIntegralImpl::apply(unsigned long, double) @ 0x000000000b63d137 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7dd423 in /usr/bin/clickhouse 5. auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000b7d221f in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d1679 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:47:50.836706 [ 17586 ] {8292c61e-e643-45fe-aa7d-a4c58fb01241} TCPHandler: Code: 153. DB::Exception: Cannot perform integer division, because it will produce infinite or too large number: While processing intDiv(9223372036854775807, 1.). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. long DB::DivideIntegralImpl::apply(unsigned long, double) @ 0x000000000b63d137 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7dd423 in /usr/bin/clickhouse 5. auto auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)::operator()>(auto const&) const @ 0x000000000b7d221f in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d1679 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:47:50.908970 [ 8758 ] {0070778e-308a-4828-b02b-8d877ee12d45} executeQuery: Code: 469. DB::Exception: Constraint `c0` for table test_lagug8xt.constraint_on_low_cardinality_nullable_type (af4b8dff-843c-430b-bc81-eaef8f3164a9) is violated at row 1. Expression: (id = 3). Column values: id = 0. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41028) (comment: 01720_constraints_complex_types.sql) (in query: INSERT INTO constraint_on_low_cardinality_nullable_type VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:50.909865 [ 8758 ] {0070778e-308a-4828-b02b-8d877ee12d45} TCPHandler: Code: 469. DB::Exception: Constraint `c0` for table test_lagug8xt.constraint_on_low_cardinality_nullable_type (af4b8dff-843c-430b-bc81-eaef8f3164a9) is violated at row 1. Expression: (id = 3). Column values: id = 0. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.214000 [ 9652 ] {952ea100-229c-4071-a343-bb86089b4dfb} executeQuery: Code: 43. DB::Exception: Illegal types of arguments: Map(UUID, UInt16), UInt16 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51018) (comment: 01720_type_map_and_casts.sql) (in query: SELECT m[257], m[1] FROM table_map_with_key_integer;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f2d5664 in /usr/bin/clickhouse 4. DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f2d605a in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.326857 [ 9652 ] {952ea100-229c-4071-a343-bb86089b4dfb} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments: Map(UUID, UInt16), UInt16 for function arrayElement. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionArrayElement::executeMap(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f2d5664 in /usr/bin/clickhouse 4. DB::FunctionArrayElement::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f2d605a in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.327052 [ 17586 ] {fcbed40f-8c82-4cc3-8c2c-3ed774313fdf} executeQuery: Code: 60. DB::Exception: Table test_uasduq1l.tabB does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51072) (comment: 01717_global_with_subquery_fix.sql) (in query: WITH (SELECT count(distinct colU) from tabA) AS withA, (SELECT count(distinct colU) from tabA) AS withB SELECT withA / withB AS ratio FROM (SELECT date AS period, colX FROM (SELECT date, if(colA IN (SELECT colB FROM tabC), 0, colA) AS colX FROM tabB) AS tempB GROUP BY period, colX) AS main;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x0000000019a6f119 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000019658050 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530551 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x0000000019a6f119 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000019658050 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530551 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:51.328275 [ 17586 ] {fcbed40f-8c82-4cc3-8c2c-3ed774313fdf} TCPHandler: Code: 60. DB::Exception: Table test_uasduq1l.tabB does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x0000000019a6f119 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000019658050 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530551 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x0000000019a6f119 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000019658050 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530551 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:47:51.533303 [ 9606 ] {98b9bc1d-21f8-4067-8c78-6337863f09c6} executeQuery: Code: 36. DB::Exception: Table TTL is not allowed for MergeTree in old syntax. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51096) (comment: 01713_table_ttl_old_syntax_zookeeper.sql) (in query: CREATE TABLE ttl_table ( date Date, value UInt64 ) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_01713_table_ttl', '1', date, date, 8192) TTL date + INTERVAL 2 MONTH;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [53]) @ 0x000000000a553946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68ddd in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.534481 [ 9606 ] {98b9bc1d-21f8-4067-8c78-6337863f09c6} TCPHandler: Code: 36. DB::Exception: Table TTL is not allowed for MergeTree in old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [53]) @ 0x000000000a553946 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68ddd in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.698158 [ 9606 ] {97080706-934a-4b32-a2eb-3b9d6b34c2d9} executeQuery: Code: 42. DB::Exception: With extended storage definition syntax storage ReplicatedMergeTree requires 0 to 2 parameters: path in ZooKeeper], [replica name] Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) [GRANULARITY value1], INDEX index_name2 expr2 TYPE type2(...) [GRANULARITY value2] ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51096) (comment: 01713_table_ttl_old_syntax_zookeeper.sql) (in query: CREATE TABLE ttl_table (`date` Date, `value` UInt64) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_01713_table_ttl', '1', date, date, 8192) PARTITION BY date SETTINGS index_granularity = 21506, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 4926, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 4044833, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 91754, primary_key_compress_block_size = 55010), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x000000001ac6af29 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:263: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68a8c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.824107 [ 9606 ] {97080706-934a-4b32-a2eb-3b9d6b34c2d9} TCPHandler: Code: 42. DB::Exception: With extended storage definition syntax storage ReplicatedMergeTree requires 0 to 2 parameters: path in ZooKeeper], [replica name] Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) [GRANULARITY value1], INDEX index_name2 expr2 TYPE type2(...) [GRANULARITY value2] ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x000000001ac6af29 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:263: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68a8c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.824406 [ 9652 ] {939cff32-db9d-4472-b853-641dc44b7af1} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Float32 given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51018) (comment: 01720_type_map_and_casts.sql) (in query: CREATE TABLE table_map_with_key_integer (`m` Map(Float32, String)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 8897, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.15462906658649445, merge_max_block_size = 18945, prefer_fetch_merged_part_size_threshold = 10206326051, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 8119066605, index_granularity_bytes = 14064761, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 13527, primary_key_compress_block_size = 51330), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x00000000184f1111 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x00000000184f13a3 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x000000000c59ba62 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::create(std::shared_ptr const&) @ 0x00000000184f2bf7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.825409 [ 9652 ] {939cff32-db9d-4472-b853-641dc44b7af1} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Float32 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x00000000184f1111 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x00000000184f13a3 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x000000000c59ba62 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::create(std::shared_ptr const&) @ 0x00000000184f2bf7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.832281 [ 9652 ] {52d1f92d-199c-451a-9bd0-b5e8cd2f5498} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Nullable(String) given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51018) (comment: 01720_type_map_and_casts.sql) (in query: CREATE TABLE table_map_with_key_integer (`m` Map(Nullable(String), String)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 8897, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.15462906658649445, merge_max_block_size = 18945, prefer_fetch_merged_part_size_threshold = 10206326051, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 8119066605, index_granularity_bytes = 14064761, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 13527, primary_key_compress_block_size = 51330), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x00000000184f1111 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x00000000184f13a3 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x000000000c59ba62 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::create(std::shared_ptr const&) @ 0x00000000184f2bf7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.832318 [ 9606 ] {5f75e19c-f4fb-480e-9ad2-b850c9c17876} executeQuery: Code: 42. DB::Exception: With extended storage definition syntax storage ReplicatedMergeTree requires 0 to 2 parameters: path in ZooKeeper], [replica name] Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) [GRANULARITY value1], INDEX index_name2 expr2 TYPE type2(...) [GRANULARITY value2] ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51096) (comment: 01713_table_ttl_old_syntax_zookeeper.sql) (in query: CREATE TABLE ttl_table (`date` Date, `value` UInt64) ENGINE = ReplicatedMergeTree('/clickhouse/tables/{database}/test_01713_table_ttl', '1', date, date, 8192) ORDER BY value SETTINGS index_granularity = 21506, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 4926, prefer_fetch_merged_part_size_threshold = 1, vertical_merge_algorithm_min_rows_to_activate = 1000000, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 4044833, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 91754, primary_key_compress_block_size = 55010), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x000000001ac6af29 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:263: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68a8c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.833269 [ 9606 ] {5f75e19c-f4fb-480e-9ad2-b850c9c17876} TCPHandler: Code: 42. DB::Exception: With extended storage definition syntax storage ReplicatedMergeTree requires 0 to 2 parameters: path in ZooKeeper], [replica name] Syntax for the MergeTree table engine: CREATE TABLE [IF NOT EXISTS] [db.]table_name [ON CLUSTER cluster] ( name1 [type1] [DEFAULT|MATERIALIZED|ALIAS expr1] [TTL expr1], name2 [type2] [DEFAULT|MATERIALIZED|ALIAS expr2] [TTL expr2], ... INDEX index_name1 expr1 TYPE type1(...) [GRANULARITY value1], INDEX index_name2 expr2 TYPE type2(...) [GRANULARITY value2] ) ENGINE = MergeTree() ORDER BY expr [PARTITION BY expr] [PRIMARY KEY expr] [SAMPLE BY expr] [TTL expr [DELETE|TO DISK 'xxx'|TO VOLUME 'xxx'], ...] [SETTINGS name=value, ...] See details in documentation: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/. Other engines of the family support different syntax, see details in the corresponding documentation topics. If you use the Replicated version of engines, see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/. . (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String&, char const* const&) @ 0x000000001ac6af29 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:263: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68a8c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.833321 [ 9652 ] {52d1f92d-199c-451a-9bd0-b5e8cd2f5498} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Nullable(String) given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x00000000184f1111 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x00000000184f13a3 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x000000000c59ba62 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::create(std::shared_ptr const&) @ 0x00000000184f2bf7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.841796 [ 9652 ] {ac7e4e4e-7dde-438f-afb0-bede5415bb4b} executeQuery: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt32) given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51018) (comment: 01720_type_map_and_casts.sql) (in query: CREATE TABLE table_map_with_key_integer (`m` Map(Array(UInt32), String)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 8897, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0.15462906658649445, merge_max_block_size = 18945, prefer_fetch_merged_part_size_threshold = 10206326051, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 8119066605, index_granularity_bytes = 14064761, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 13527, primary_key_compress_block_size = 51330), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x00000000184f1111 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x00000000184f13a3 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x000000000c59ba62 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::create(std::shared_ptr const&) @ 0x00000000184f2bf7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:51.842553 [ 9652 ] {ac7e4e4e-7dde-438f-afb0-bede5415bb4b} TCPHandler: Code: 36. DB::Exception: Type of Map key must be a type, that can be represented by integer or String or FixedString (possibly LowCardinality) or UUID or IPv6, but Array(UInt32) given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::DataTypeMap::assertKeyType() const @ 0x00000000184f1111 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:593: DB::DataTypeMap::DataTypeMap(std::vector, std::allocator>> const&) @ 0x00000000184f13a3 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], std::vector, std::allocator>>&, void>(std::allocator const&, std::vector, std::allocator>>&) @ 0x000000000c59ba62 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeMap.cpp:0: DB::create(std::shared_ptr const&) @ 0x00000000184f2bf7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:54.987654 [ 18285 ] {b3e3a501-7c51-4d93-93ce-c1987981bc31} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40644) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: -- optimize_skip_unused_shards does not support non-constants select * from dist_01756 where dummy in (select * from system.one);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:54.988548 [ 18285 ] {b3e3a501-7c51-4d93-93ce-c1987981bc31} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:54.995201 [ 18285 ] {a56db080-c49f-40a9-8cb4-1727a2d6164b} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40644) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756 where dummy in (toUInt8(0));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:54.995840 [ 18285 ] {a56db080-c49f-40a9-8cb4-1727a2d6164b} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:55.002460 [ 18285 ] {67df570e-f9f2-46ab-a596-ea92241ed916} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40644) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: -- NOT IN does not supported select * from dist_01756 where dummy not in (0, 2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:55.003051 [ 18285 ] {67df570e-f9f2-46ab-a596-ea92241ed916} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:55.121030 [ 937 ] {b5efea93-afc4-41f2-9a6a-a187aee37be9::202405_1_1_0_2} MutatePlainMergeTreeTask: Code: 236. DB::Exception: Cancelled mutating parts. (ABORTED) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:55.247814 [ 937 ] {b5efea93-afc4-41f2-9a6a-a187aee37be9::202405_1_1_0_2} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 236. DB::Exception: Cancelled mutating parts. (ABORTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [25]) @ 0x00000000082824e6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:48: DB::MutateTask::prepare() @ 0x000000001ab39a08 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:1744: DB::MutateTask::execute() @ 0x000000001ab2ba36 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/MutatePlainMergeTreeTask.cpp:0: DB::MutatePlainMergeTreeTask::executeStep() @ 0x000000001acb116b in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001a818f09 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001a819d31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001a81c102 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:47:55.431806 [ 18285 ] {1adca2fb-6266-43c0-a8f8-45ba3f366947} executeQuery: Code: 507. DB::Exception: Sharding key cityHash64(key) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40644) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756_str where key in ('0', Null);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:55.432925 [ 18285 ] {1adca2fb-6266-43c0-a8f8-45ba3f366947} TCPHandler: Code: 507. DB::Exception: Sharding key cityHash64(key) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:55.660329 [ 18285 ] {c453f505-9fc8-4b93-b805-8ba3bcaed532} executeQuery: Code: 53. DB::Exception: Cannot convert string 255foo to type UInt8. (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40644) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756_column where dummy in (0, '255foo');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a184aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Field.h:452: DB::(anonymous namespace)::analyzeEquals(DB::ASTIdentifier const*, DB::Field const&, std::shared_ptr const&) @ 0x0000000019a334ed in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::analyzeFunction(DB::ASTFunction const*, std::shared_ptr const&, unsigned long&) @ 0x0000000019a328d2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateExpressionOverConstantCondition(std::shared_ptr const&, std::shared_ptr const&, unsigned long&) @ 0x0000000019a305bc in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a103c91 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f29a7 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:55.661852 [ 18285 ] {c453f505-9fc8-4b93-b805-8ba3bcaed532} TCPHandler: Code: 53. DB::Exception: Cannot convert string 255foo to type UInt8. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a184aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 5. ./build_docker/./src/Core/Field.h:452: DB::(anonymous namespace)::analyzeEquals(DB::ASTIdentifier const*, DB::Field const&, std::shared_ptr const&) @ 0x0000000019a334ed in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::(anonymous namespace)::analyzeFunction(DB::ASTFunction const*, std::shared_ptr const&, unsigned long&) @ 0x0000000019a328d2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/evaluateConstantExpression.cpp:0: DB::evaluateExpressionOverConstantCondition(std::shared_ptr const&, std::shared_ptr const&, unsigned long&) @ 0x0000000019a305bc in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::skipUnusedShards(std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a103c91 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f29a7 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:55.732279 [ 18285 ] {f98ef7b9-dbc0-45bd-a390-7024d85a5389} executeQuery: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40644) (comment: 01756_optimize_skip_unused_shards_rewrite_in.sql) (in query: select * from dist_01756 where dummy in (0, 2) settings optimize_skip_unused_shards_limit=1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:55.732997 [ 18285 ] {f98ef7b9-dbc0-45bd-a390-7024d85a5389} TCPHandler: Code: 507. DB::Exception: Sharding key intHash64(dummy) is not used. (UNABLE_TO_SKIP_UNUSED_SHARDS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::getOptimizedCluster(std::shared_ptr, std::shared_ptr const&, DB::SelectQueryInfo const&) const @ 0x000000001a0f2b82 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDistributed.cpp:440: DB::StorageDistributed::getQueryProcessingStage(std::shared_ptr, DB::QueryProcessingStage::Enum, std::shared_ptr const&, DB::SelectQueryInfo&) const @ 0x000000001a0f18a4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:926: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x000000001954374f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:56.412291 [ 8775 ] {c00bcc02-63fc-4139-a49c-6ccb4ed5a3bd} executeQuery: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitAnd: While processing bitAnd(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51616) (comment: 01677_bit_float.sql) (in query: SELECT bitAnd(0, inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000090748de in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008fb1b7c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:56.413306 [ 8775 ] {c00bcc02-63fc-4139-a49c-6ccb4ed5a3bd} TCPHandler: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitAnd: While processing bitAnd(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000090748de in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000008fb1b7c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:56.605526 [ 8775 ] {e63188d3-76f1-485c-a6b8-36affcfbcf76} executeQuery: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitXor: While processing bitXor(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51616) (comment: 01677_bit_float.sql) (in query: SELECT bitXor(0, inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000998789e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000098c09dc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:56.606681 [ 8775 ] {e63188d3-76f1-485c-a6b8-36affcfbcf76} TCPHandler: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitXor: While processing bitXor(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000998789e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000098c09dc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:56.773340 [ 8775 ] {7a476674-a158-452a-a1f4-335cb124623b} executeQuery: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitOr: While processing bitOr(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51616) (comment: 01677_bit_float.sql) (in query: SELECT bitOr(0, inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000009421ebe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000935affc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:56.774211 [ 8775 ] {7a476674-a158-452a-a1f4-335cb124623b} TCPHandler: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitOr: While processing bitOr(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000009421ebe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000935affc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:56.920667 [ 8775 ] {a30edb87-5855-4e76-abf0-accc14b2afc8} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitTest: While processing bitTest(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51616) (comment: 01677_bit_float.sql) (in query: SELECT bitTest(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000988bdfe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000097eb61c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:56.921463 [ 8775 ] {a30edb87-5855-4e76-abf0-accc14b2afc8} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitTest: While processing bitTest(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000988bdfe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000097eb61c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:56.928733 [ 8775 ] {2e2c565d-cbbc-4cd0-ab32-090289a5f364} executeQuery: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitTest: While processing bitTest(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51616) (comment: 01677_bit_float.sql) (in query: SELECT bitTest(0, inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000988bdfe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000097eb61c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:56.929535 [ 8775 ] {2e2c565d-cbbc-4cd0-ab32-090289a5f364} TCPHandler: Code: 43. DB::Exception: Illegal types UInt8 and Float64 of arguments of function bitTest: While processing bitTest(0, inf). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000988bdfe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000097eb61c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:57.075171 [ 8775 ] {16eb3cf8-bb76-4252-8eca-7b89a8b19302} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitRotateLeft: While processing bitRotateLeft(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51616) (comment: 01677_bit_float.sql) (in query: SELECT bitRotateLeft(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000009501dbe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009433f9c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:57.076122 [ 8775 ] {16eb3cf8-bb76-4252-8eca-7b89a8b19302} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitRotateLeft: While processing bitRotateLeft(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x0000000009501dbe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009433f9c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:57.222669 [ 8775 ] {3d65bb0d-d445-4f9b-b6f3-59b7d2298707} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitRotateRight: While processing bitRotateRight(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51616) (comment: 01677_bit_float.sql) (in query: SELECT bitRotateRight(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000095e181e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000095139dc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:57.306097 [ 17929 ] {52babf46-11ed-4ba8-b4d7-b3bfde5a9efe} executeQuery: Code: 584. DB::Exception: No projection is used when optimize_use_projections = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51336) (comment: 01710_minmax_count_projection.sql) (in query: select count(if(d=4, Null, 1)) from test settings force_optimize_projection = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [90]) @ 0x0000000009b02b66 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:0: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001b600b50 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:484: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001b56a25a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b568dad in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:57.306120 [ 8775 ] {3d65bb0d-d445-4f9b-b6f3-59b7d2298707} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitRotateRight: While processing bitRotateRight(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000095e181e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000095139dc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:57.306858 [ 17929 ] {52babf46-11ed-4ba8-b4d7-b3bfde5a9efe} TCPHandler: Code: 584. DB::Exception: No projection is used when optimize_use_projections = 1 and force_optimize_projection = 1. (PROJECTION_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [90]) @ 0x0000000009b02b66 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/QueryPlan/Optimizations/optimizeTree.cpp:0: DB::QueryPlanOptimizations::optimizeTreeSecondPass(DB::QueryPlanOptimizationSettings const&, DB::QueryPlan::Node&, std::list>&) @ 0x000000001b600b50 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:484: DB::QueryPlan::optimize(DB::QueryPlanOptimizationSettings const&) @ 0x000000001b56a25a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:0: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b568dad in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:57.455802 [ 8775 ] {882609b4-3073-43a4-ab7f-ec8abcba558d} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitShiftLeft: While processing bitShiftLeft(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51616) (comment: 01677_bit_float.sql) (in query: SELECT bitShiftLeft(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000096da21e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000095f343c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:57.456756 [ 8775 ] {882609b4-3073-43a4-ab7f-ec8abcba558d} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitShiftLeft: While processing bitShiftLeft(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000096da21e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000095f343c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:57.600846 [ 8775 ] {45d2eddd-ba9e-4479-ad8c-c6aae1f85f2f} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitShiftRight: While processing bitShiftRight(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51616) (comment: 01677_bit_float.sql) (in query: SELECT bitShiftRight(inf, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000097c2ebe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000096ec69c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:57.601930 [ 8775 ] {45d2eddd-ba9e-4479-ad8c-c6aae1f85f2f} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and UInt8 of arguments of function bitShiftRight: While processing bitShiftRight(inf, 0). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x00000000097c2ebe in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x00000000096ec69c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:47:57.966171 [ 17927 ] {dd81462e-f7c4-4877-8ed6-f5fa3de73554} executeQuery: Code: 47. DB::Exception: Unknown identifier: arr; there are columns: notEquals(x, 0), 0, 0, x: While processing (x != 0) AND arr. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51742) (comment: 01674_where_prewhere_array_crash.sql) (in query: select x from tab array join arr prewhere x != 0 where arr;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x0000000009afde7c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::getNameAndTypeFromAST(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa9f97 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20d4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:57.972385 [ 17927 ] {dd81462e-f7c4-4877-8ed6-f5fa3de73554} TCPHandler: Code: 47. DB::Exception: Unknown identifier: arr; there are columns: notEquals(x, 0), 0, 0, x: While processing (x != 0) AND arr. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x0000000009afde7c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::getNameAndTypeFromAST(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa9f97 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20d4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:58.106979 [ 17927 ] {0740b811-0eca-4d2b-ba45-3cb7ad6baa9c} executeQuery: Code: 47. DB::Exception: Unknown identifier: 'arr'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51742) (comment: 01674_where_prewhere_array_crash.sql) (in query: select x from tab array join arr prewhere arr where x != 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:326: DB::ActionsDAG::findInOutputs(String const&) const @ 0x00000000187b8880 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a7244a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1859: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7b365 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:47:58.107939 [ 17927 ] {0740b811-0eca-4d2b-ba45-3cb7ad6baa9c} TCPHandler: Code: 47. DB::Exception: Unknown identifier: 'arr'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:326: DB::ActionsDAG::findInOutputs(String const&) const @ 0x00000000187b8880 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a7244a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1859: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7b365 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:00.527556 [ 1025 ] {e52d5837-a01e-4169-8704-60356a011ba8} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000002 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:00.528441 [ 1025 ] {e52d5837-a01e-4169-8704-60356a011ba8} DDLWorker: Query /* ddl_entry=query-0000000002 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:00.610111 [ 9605 ] {84fcb41d-5a02-4342-b96a-2dea82bc0759} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52154) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:00.611224 [ 9605 ] {84fcb41d-5a02-4342-b96a-2dea82bc0759} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:00.975907 [ 1025 ] {05e79be6-f3e6-4675-ab2b-5d0599511922} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000003 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:00.976671 [ 1025 ] {05e79be6-f3e6-4675-ab2b-5d0599511922} DDLWorker: Query /* ddl_entry=query-0000000003 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:01.076651 [ 17935 ] {c9795b42-6b76-4beb-9cba-63f5de64cf9b} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48848) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:01.077738 [ 17935 ] {c9795b42-6b76-4beb-9cba-63f5de64cf9b} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:02.821378 [ 1025 ] {45ed6c12-bb26-452a-90dd-e05c53ada274} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000006 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:02.822254 [ 1025 ] {45ed6c12-bb26-452a-90dd-e05c53ada274} DDLWorker: Query /* ddl_entry=query-0000000006 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:02.923305 [ 2900 ] {aa659007-4831-4cea-a795-f0d9419d8fb8} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49136) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:02.924292 [ 2900 ] {aa659007-4831-4cea-a795-f0d9419d8fb8} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:03.878402 [ 1025 ] {3f933f9c-1e26-41ea-add5-3840f830b3ed} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000008 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:03.879502 [ 1025 ] {3f933f9c-1e26-41ea-add5-3840f830b3ed} DDLWorker: Query /* ddl_entry=query-0000000008 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:03.978837 [ 9611 ] {4253c06f-a60c-4799-8cf8-da8fb7159853} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49308) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:03.980174 [ 9611 ] {4253c06f-a60c-4799-8cf8-da8fb7159853} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:04.328164 [ 19111 ] {5ce4acb1-0e92-4191-8021-3993fe9c4ba4} executeQuery: Code: 117. DB::Exception: Incorrect arguments h3Index: 72057594037927935, k: 10, error: 2: While processing h3HexRing(72057594037927935, toUInt16(10)). (INCORRECT_DATA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49164) (comment: 01659_h3_buffer_overflow.sql) (in query: SELECT h3HexRing(0xFFFFFFFFFFFFFF, toUInt16(10)) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x000000000b221068 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b220435 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:48:04.329085 [ 19111 ] {5ce4acb1-0e92-4191-8021-3993fe9c4ba4} TCPHandler: Code: 117. DB::Exception: Incorrect arguments h3Index: 72057594037927935, k: 10, error: 2: While processing h3HexRing(72057594037927935, toUInt16(10)). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x000000000b221068 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b220435 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:48:04.338952 [ 19111 ] {60ccb8ac-eb34-4465-972e-f4c2a462db82} executeQuery: Code: 117. DB::Exception: Incorrect arguments h3Index: 72057594037927935, k: 10000, error: 2: While processing h3HexRing(72057594037927935, toUInt16(10000)). (INCORRECT_DATA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49164) (comment: 01659_h3_buffer_overflow.sql) (in query: SELECT h3HexRing(0xFFFFFFFFFFFFFF, toUInt16(10000)) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x000000000b221068 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b220435 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:48:04.340161 [ 19111 ] {60ccb8ac-eb34-4465-972e-f4c2a462db82} TCPHandler: Code: 117. DB::Exception: Incorrect arguments h3Index: 72057594037927935, k: 10000, error: 2: While processing h3HexRing(72057594037927935, toUInt16(10000)). (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, int const&, unsigned int&) @ 0x000000000b221068 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3HexRing::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b220435 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:48:04.382036 [ 1025 ] {5cdb0eeb-758f-4759-ad75-e6f702a5e1ef} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000009 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:04.382875 [ 1025 ] {5cdb0eeb-758f-4759-ad75-e6f702a5e1ef} DDLWorker: Query /* ddl_entry=query-0000000009 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:04.482668 [ 9610 ] {7dcaf492-3b2f-4053-a35c-15f313970032} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49370) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:04.483900 [ 9610 ] {7dcaf492-3b2f-4053-a35c-15f313970032} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:05.404275 [ 8754 ] {30bc2d9d-43d1-455b-9639-d2e43a8435be} executeQuery: Code: 8. DB::Exception: Cannot find column `count(equals(7, _CAST(NULL, 'Nullable(UInt64)')))` in source stream, there are only columns: [count(equals(7, _subquery162))]. (THERE_IS_NO_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49460) (comment: 01651_bugs_from_15889.sql) (in query: SELECT count(7 = (SELECT number FROM numbers(0) ORDER BY number ASC NULLS FIRST LIMIT 7)) FROM xp_d PREWHERE toYYYYMM(A) GLOBAL IN (SELECT NULL = (SELECT number FROM numbers(1) ORDER BY number DESC NULLS LAST LIMIT 1), toYYYYMM(min(A)) FROM xp_d) WHERE B > NULL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9d90 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:876: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f0cf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:05.405344 [ 8754 ] {30bc2d9d-43d1-455b-9639-d2e43a8435be} TCPHandler: Code: 8. DB::Exception: Cannot find column `count(equals(7, _CAST(NULL, 'Nullable(UInt64)')))` in source stream, there are only columns: [count(equals(7, _subquery162))]. (THERE_IS_NO_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9d90 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:876: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f0cf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:05.512911 [ 1025 ] {1b52d403-13ad-47cf-a1a2-f46c217ec052} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000011 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:05.513719 [ 1025 ] {1b52d403-13ad-47cf-a1a2-f46c217ec052} DDLWorker: Query /* ddl_entry=query-0000000011 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:05.616526 [ 17919 ] {62ccd250-430f-4265-90d8-f943a58d49dc} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49568) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:05.617700 [ 17919 ] {62ccd250-430f-4265-90d8-f943a58d49dc} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:07.115259 [ 1025 ] {003e3883-d8e9-4e2b-b20e-a988f84efb3d} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000014 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:07.116106 [ 1025 ] {003e3883-d8e9-4e2b-b20e-a988f84efb3d} DDLWorker: Query /* ddl_entry=query-0000000014 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:07.255503 [ 9610 ] {7bd1eb0f-8c61-4d40-ba9c-2ab3b9f99e02} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49764) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:07.255608 [ 8754 ] {224012da-bbe3-4347-9b41-a71702d0d816} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(Array(Nullable(Float64)), String) which cannot be Nullable: While processing (WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery172: While processing query_id = ((WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery172): While processing (query_id = ((WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery172)) AND ((concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol) LIKE '%Source%'). (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49460) (comment: 01651_bugs_from_15889.sql) (in query: WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT count() > 7 FROM trace_log AS t WHERE (query_id = ( SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE current_database = currentDatabase() AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1 )) AND (symbol LIKE '%Source%');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b8cdf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b506c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000196b4a8d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x00000000196b4c19 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b9bcc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b50c4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000196b4a8d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x00000000196b4c19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b9bcc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b50c4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000196b4a8d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x00000000196b4c19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001997aa9f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976194 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:48:07.256682 [ 9610 ] {7bd1eb0f-8c61-4d40-ba9c-2ab3b9f99e02} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:07.257034 [ 8754 ] {224012da-bbe3-4347-9b41-a71702d0d816} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(Array(Nullable(Float64)), String) which cannot be Nullable: While processing (WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery172: While processing query_id = ((WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery172): While processing (query_id = ((WITH concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol SELECT [NULL, NULL, NULL, NULL, 0.00009999999747378752, NULL, NULL, NULL, NULL, NULL], query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (query LIKE '%test cpu time query profiler%') AND (query NOT LIKE '%system%') ORDER BY event_time DESC LIMIT 1) AS _subquery172)) AND ((concat(addressToLine(arrayJoin(trace) AS addr), '#') AS symbol) LIKE '%Source%'). (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b8cdf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b506c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000196b4a8d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x00000000196b4c19 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b9bcc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b50c4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000196b4a8d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x00000000196b4c19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b9bcc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b50c4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000196b4a8d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x00000000196b4c19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001997aa9f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976194 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:48:07.451452 [ 8754 ] {b4036201-37c2-46d9-b89c-559112c56db7} executeQuery: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, String) which cannot be Nullable: While processing (WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery173: While processing query_id = ((WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery173): While processing greaterOrEquals(event_date, ignore(ignore(ignore(NULL, '')), 256), yesterday()) AND (trace_type = 'Memory') AND (query_id = ((WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery173)). (INCORRECT_RESULT_OF_SCALAR_SUBQUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49460) (comment: 01651_bugs_from_15889.sql) (in query: WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT count() > 0 FROM trace_log AS t WHERE greaterOrEquals(event_date, ignore(ignore(ignore(NULL, '')), 256), yesterday()) AND (trace_type = 'Memory') AND (query_id = ( SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE current_database = currentDatabase() AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1 ));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b8cdf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b506c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000196b4a8d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x00000000196b4c19 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b9bcc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b50c4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000196b4a8d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x00000000196b4c19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b9bcc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b50c4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000196b4a8d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x00000000196b4c19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001997aa9f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976194 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:48:07.452869 [ 8754 ] {b4036201-37c2-46d9-b89c-559112c56db7} TCPHandler: Code: 125. DB::Exception: Scalar subquery returned empty result of type Tuple(UInt8, String) which cannot be Nullable: While processing (WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery173: While processing query_id = ((WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery173): While processing greaterOrEquals(event_date, ignore(ignore(ignore(NULL, '')), 256), yesterday()) AND (trace_type = 'Memory') AND (query_id = ((WITH addressToSymbol(arrayJoin(trace)) AS symbol SELECT ignore(ignore(ignore(ignore(65536)), ignore(65537), ignore(2)), ''), query_id FROM system.query_log WHERE (current_database = currentDatabase()) AND (event_date >= yesterday()) AND (query LIKE '%test memory profiler%') ORDER BY event_time DESC LIMIT 1) AS _subquery173)). (INCORRECT_RESULT_OF_SCALAR_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTSubquery const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b8cdf in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b506c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000196b4a8d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x00000000196b4c19 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b9bcc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b50c4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000196b4a8d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x00000000196b4c19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::ExecuteScalarSubqueriesMatcher::visit(DB::ASTFunction const&, std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b9bcc in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp:0: DB::ExecuteScalarSubqueriesMatcher::visit(std::shared_ptr&, DB::ExecuteScalarSubqueriesMatcher::Data&) @ 0x00000000196b50c4 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x00000000196b4a8d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:64: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x00000000196b4c19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:1551: DB::(anonymous namespace)::executeScalarSubqueries(std::shared_ptr&, std::shared_ptr, unsigned long, std::map, std::allocator>>&, std::map, std::allocator>>&, bool, bool) @ 0x000000001997aa9f in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976194 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:48:07.854162 [ 1025 ] {82854e4a-3370-4438-ac8c-262fc0a46fd4} executeQuery: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Log entry log-0000000000 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000015 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6344: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x000000001a2fcbdd in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304247 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x00000000189ac6ef in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:641: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70a0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:07.855714 [ 1025 ] {82854e4a-3370-4438-ac8c-262fc0a46fd4} DDLWorker: Query /* ddl_entry=query-0000000015 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Log entry log-0000000000 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6344: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x000000001a2fcbdd in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304247 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::tryExecuteQueryOnLeaderReplica(DB::DDLTaskBase&, std::shared_ptr, String const&, std::shared_ptr const&, std::unique_ptr>&) @ 0x00000000189ac6ef in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/DDLWorker.cpp:641: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70a0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:07.898616 [ 9610 ] {5e113126-7a88-4649-9a36-533233129532} executeQuery: Code: 341. DB::Exception: There was an error on [localhost:9000]: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Log entry log-0000000000 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)). (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49836) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:07.900108 [ 9610 ] {5e113126-7a88-4649-9a36-533233129532} TCPHandler: Code: 341. DB::Exception: There was an error on [localhost:9000]: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Log entry log-0000000000 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)). (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:08.295074 [ 1025 ] {055b5b30-a915-4f4d-976d-45f6ee73d262} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000016 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:08.295751 [ 1025 ] {055b5b30-a915-4f4d-976d-45f6ee73d262} DDLWorker: Query /* ddl_entry=query-0000000016 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:08.397945 [ 9610 ] {79496163-a0ed-4d25-ae07-f7c99a8ab99c} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49942) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:08.399268 [ 9610 ] {79496163-a0ed-4d25-ae07-f7c99a8ab99c} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:08.815611 [ 8754 ] {09632222-fe6e-41e2-a71d-d5c8b150e2db} executeQuery: Code: 43. DB::Exception: Illegal type Tuple(Float64, DateTime) of argument of function toDateTime: While processing if(dateDiff('second', toDateTime(_CAST('1714564087.457868', 'Nullable(DateTime64(6))') AS time_with_microseconds), toDateTime(__getScalar('328664473894676434_743697615286468304') AS t)) = -9223372036854775808, 'ok', ''). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49460) (comment: 01651_bugs_from_15889.sql) (in query: WITH ( ( SELECT query_start_time_microseconds FROM system.query_log WHERE current_database = currentDatabase() ORDER BY query_start_time DESC LIMIT 1 ) AS time_with_microseconds, ( SELECT inf, query_start_time FROM system.query_log WHERE current_database = currentDatabase() ORDER BY query_start_time DESC LIMIT 1 ) AS t) SELECT if(dateDiff('second', toDateTime(time_with_microseconds), toDateTime(t)) = -9223372036854775808, 'ok', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f6d22b in /usr/bin/clickhouse 4. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f6c0e0 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 2024.05.01 14:48:08.816710 [ 8754 ] {09632222-fe6e-41e2-a71d-d5c8b150e2db} TCPHandler: Code: 43. DB::Exception: Illegal type Tuple(Float64, DateTime) of argument of function toDateTime: While processing if(dateDiff('second', toDateTime(_CAST('1714564087.457868', 'Nullable(DateTime64(6))') AS time_with_microseconds), toDateTime(__getScalar('328664473894676434_743697615286468304') AS t)) = -9223372036854775808, 'ok', ''). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f6d22b in /usr/bin/clickhouse 4. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f6c0e0 in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 2024.05.01 14:48:08.822205 [ 1025 ] {7349c298-0aef-485d-886b-5cfea4af5f43} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000017 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:08.822940 [ 1025 ] {7349c298-0aef-485d-886b-5cfea4af5f43} DDLWorker: Query /* ddl_entry=query-0000000017 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:08.923444 [ 9610 ] {902a765a-63d5-4686-a374-a5207807714a} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49994) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:08.924607 [ 9610 ] {902a765a-63d5-4686-a374-a5207807714a} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:09.335888 [ 1025 ] {e9689700-c2f0-4ca6-b83b-9059af2063a9} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000018 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:09.336585 [ 1025 ] {e9689700-c2f0-4ca6-b83b-9059af2063a9} DDLWorker: Query /* ddl_entry=query-0000000018 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:09.435465 [ 9610 ] {f7c6aa92-1123-4b3d-b50b-76737dd6c429} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50054) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:09.436636 [ 9610 ] {f7c6aa92-1123-4b3d-b50b-76737dd6c429} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:09.867400 [ 1025 ] {4f095f6d-d891-430b-abba-ab9865fb7783} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000019 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:09.868339 [ 1025 ] {4f095f6d-d891-430b-abba-ab9865fb7783} DDLWorker: Query /* ddl_entry=query-0000000019 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:09.970375 [ 7349 ] {52a15fd1-cfa9-41e8-b228-84de0fafed46} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50144) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:09.971722 [ 7349 ] {52a15fd1-cfa9-41e8-b228-84de0fafed46} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:10.451556 [ 1025 ] {7d7a81ea-0a22-4497-bc04-8360c436a5ff} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000020 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:10.452626 [ 1025 ] {7d7a81ea-0a22-4497-bc04-8360c436a5ff} DDLWorker: Query /* ddl_entry=query-0000000020 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:10.551734 [ 7349 ] {699711d7-bbc6-4a91-abe1-d8f439bc69da} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50196) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:10.552867 [ 7349 ] {699711d7-bbc6-4a91-abe1-d8f439bc69da} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:10.973801 [ 1025 ] {33f8d670-02b1-48c6-94b2-88d74fe9dc65} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000021 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:10.974866 [ 1025 ] {33f8d670-02b1-48c6-94b2-88d74fe9dc65} DDLWorker: Query /* ddl_entry=query-0000000021 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:11.074745 [ 690 ] {376c493e-5a2f-4b93-9cea-f1e19b8a1711} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49512) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:11.076046 [ 690 ] {376c493e-5a2f-4b93-9cea-f1e19b8a1711} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:11.610665 [ 1025 ] {b9961b3f-4374-4ff3-b3a5-cb595437dff5} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000022 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:11.611991 [ 1025 ] {b9961b3f-4374-4ff3-b3a5-cb595437dff5} DDLWorker: Query /* ddl_entry=query-0000000022 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:11.711142 [ 690 ] {45ca14d1-71b4-42e6-afd6-01b70dbed52a} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49562) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:11.712905 [ 690 ] {45ca14d1-71b4-42e6-afd6-01b70dbed52a} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:12.176515 [ 1025 ] {f9e205b9-632e-425c-94a0-7b7f55bbe88d} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000023 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:12.177499 [ 1025 ] {f9e205b9-632e-425c-94a0-7b7f55bbe88d} DDLWorker: Query /* ddl_entry=query-0000000023 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:12.278973 [ 19111 ] {721ce2b8-72dc-4cb4-98e1-9df1a0a4506a} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49648) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:12.280510 [ 19111 ] {721ce2b8-72dc-4cb4-98e1-9df1a0a4506a} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:13.264112 [ 1025 ] {c544237a-8c15-4077-9997-ec02d565e269} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000025 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:13.265358 [ 1025 ] {c544237a-8c15-4077-9997-ec02d565e269} DDLWorker: Query /* ddl_entry=query-0000000025 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:13.383163 [ 17927 ] {76df51c3-6791-42ef-9bb2-6ed12d54c185} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49776) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:13.385101 [ 17927 ] {76df51c3-6791-42ef-9bb2-6ed12d54c185} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:14.371992 [ 1025 ] {70b0d5ea-ed21-4232-86a0-3d9b39fdc396} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000027 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:14.373104 [ 1025 ] {70b0d5ea-ed21-4232-86a0-3d9b39fdc396} DDLWorker: Query /* ddl_entry=query-0000000027 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:14.489960 [ 17935 ] {08452acc-2f09-4e86-999d-67ef85282b23} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49908) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:14.491386 [ 17935 ] {08452acc-2f09-4e86-999d-67ef85282b23} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:14.925216 [ 1025 ] {3dac580f-e62e-4e13-94d9-7bfb4a536295} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000028 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:14.926290 [ 1025 ] {3dac580f-e62e-4e13-94d9-7bfb4a536295} DDLWorker: Query /* ddl_entry=query-0000000028 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:15.031329 [ 8758 ] {bb65e607-1924-4393-a3e6-21678215e961} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50048) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:15.032509 [ 8758 ] {bb65e607-1924-4393-a3e6-21678215e961} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:15.966237 [ 1025 ] {68b02bb7-50a5-4483-addd-a9ef2834dbfc} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000030 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:15.967206 [ 1025 ] {68b02bb7-50a5-4483-addd-a9ef2834dbfc} DDLWorker: Query /* ddl_entry=query-0000000030 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:16.077280 [ 2834 ] {c2818027-fdd5-443b-9112-7f3a8b34efc7} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50178) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:16.078459 [ 2834 ] {c2818027-fdd5-443b-9112-7f3a8b34efc7} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:16.571135 [ 1025 ] {38d66dcd-4a10-4997-9358-6111f5cce2e4} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000031 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:16.572162 [ 1025 ] {38d66dcd-4a10-4997-9358-6111f5cce2e4} DDLWorker: Query /* ddl_entry=query-0000000031 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:16.674840 [ 2834 ] {fd09367b-ae5d-4e28-831e-85355e01f532} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50278) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:16.676291 [ 2834 ] {fd09367b-ae5d-4e28-831e-85355e01f532} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:17.613577 [ 1025 ] {d49044f4-c5b3-4055-b909-423aac913480} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000033 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:17.614492 [ 1025 ] {d49044f4-c5b3-4055-b909-423aac913480} DDLWorker: Query /* ddl_entry=query-0000000033 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:17.716671 [ 9610 ] {4e4bdb9f-bcaf-46c8-96e9-d1f7135fbc2d} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50384) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:17.718257 [ 9610 ] {4e4bdb9f-bcaf-46c8-96e9-d1f7135fbc2d} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:18.102728 [ 1025 ] {8b477134-8227-4e48-92d1-29a642d7274e} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000034 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:18.103768 [ 1025 ] {8b477134-8227-4e48-92d1-29a642d7274e} DDLWorker: Query /* ddl_entry=query-0000000034 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:18.206759 [ 690 ] {74394aa8-63bb-4370-a9ea-b684961f195c} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50430) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:18.208397 [ 690 ] {74394aa8-63bb-4370-a9ea-b684961f195c} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:19.144164 [ 1025 ] {cc308a7d-9e83-4fba-988d-3de3fcf097ef} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000036 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:19.145200 [ 1025 ] {cc308a7d-9e83-4fba-988d-3de3fcf097ef} DDLWorker: Query /* ddl_entry=query-0000000036 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:19.242530 [ 7302 ] {9f7c433f-f47f-4886-8239-6464c858c2fe} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50552) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:19.243777 [ 7302 ] {9f7c433f-f47f-4886-8239-6464c858c2fe} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:19.632007 [ 1025 ] {c683bb2b-13d7-4b7f-8073-9263072a100b} executeQuery: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from 0.0.0.0:0) (comment: 01671_ddl_hang_timeout_long.sh) (in query: /* ddl_entry=query-0000000037 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:19.632746 [ 1025 ] {c683bb2b-13d7-4b7f-8073-9263072a100b} DDLWorker: Query /* ddl_entry=query-0000000037 */ ALTER TABLE test_pyddcgep.t1 ADD COLUMN `newcol` UInt32 wasn't finished successfully: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019375732 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a9720 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr const&) @ 0x00000000189a70fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::scheduleTasks(bool) @ 0x00000000189a4c13 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/DDLWorker.cpp:0: DB::DDLWorker::runMainThread() @ 0x000000001899e5ea in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'()::operator()() @ 0x00000000189b70a0 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(void (DB::DDLWorker::*&&)(), DB::DDLWorker*&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000189b6fe2 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:19.737775 [ 1524 ] {f8e4b518-b5f6-4ba3-a0e4-5859a364a160} executeQuery: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50610) (comment: 01671_ddl_hang_timeout_long.sh) (in query: ALTER TABLE test_pyddcgep.t1 on cluster test_shard_localhost ADD COLUMN newcol UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:19.739410 [ 1524 ] {f8e4b518-b5f6-4ba3-a0e4-5859a364a160} TCPHandler: Code: 60. DB::Exception: There was an error on [localhost:9000]: Code: 60. DB::Exception: Could not find table: t1. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:21.358499 [ 17927 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:52464). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:24.191153 [ 19101 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:47776). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:24.384340 [ 1435 ] {e64a7910-6fb3-4730-8c9a-ab64cc544b97} executeQuery: Code: 306. DB::Exception: Maximum parse depth (150) exceeded. Consider rising max_parser_depth parameter.: while receiving packet from 127.0.0.1:9000: While executing Remote. (TOO_DEEP_RECURSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52628) (comment: 01675_data_type_coroutine_2.sh) (in query: SELECT * FROM remote('127.0.0.{1,2}', generateRandom('x Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(Array(UInt8)))))))))))))))))))))))))))))))))))))))))))))))))', 1, 1, 1)) LIMIT 1 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x0000000017acf1ed in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2503 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba11322 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ParserCreateQuery.h:60: DB::IParserNameTypePair::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba10dbb in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c923c in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:0: DB::ParserNameTypePairList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9fee01 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:68: DB::ParserNestedTable::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9fe75b in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba11322 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba12c61 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c923c in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba1224e in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba12c61 in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c923c in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba1224e in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba12c61 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c923c in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 2024.05.01 14:48:24.386726 [ 1435 ] {e64a7910-6fb3-4730-8c9a-ab64cc544b97} TCPHandler: Code: 306. DB::Exception: Maximum parse depth (150) exceeded. Consider rising max_parser_depth parameter.: while receiving packet from 127.0.0.1:9000: While executing Remote. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x0000000017acf1ed in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2503 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba11322 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ParserCreateQuery.h:60: DB::IParserNameTypePair::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba10dbb in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c923c in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:0: DB::ParserNameTypePairList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9fee01 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ParserCreateQuery.cpp:68: DB::ParserNestedTable::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9fe75b in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba11322 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba12c61 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c923c in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba1224e in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba12c61 in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c923c in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::ParserDataType::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba1224e in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/ParserDataType.cpp:0: DB::(anonymous namespace)::ParserDataTypeArgument::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba12c61 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c923c in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 2024.05.01 14:48:24.387441 [ 1435 ] {e64a7910-6fb3-4730-8c9a-ab64cc544b97} TCPHandler: Client has gone away. 2024.05.01 14:48:24.798992 [ 1435 ] {89ed8df6-b669-42ff-8420-caba5dcb11f6} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52636) (comment: 01602_insert_into_table_function_cluster.sql) (in query: -- More than one shard, sharding key is necessary INSERT INTO FUNCTION cluster('test_cluster_two_shards_localhost', currentDatabase(), x) SELECT * FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001a0f85c6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3ea151 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1595: DB::InterpreterInsertQuery::execute() @ 0x0000000019508e20 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:24.799988 [ 1435 ] {89ed8df6-b669-42ff-8420-caba5dcb11f6} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001a0f85c6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3ea151 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1595: DB::InterpreterInsertQuery::execute() @ 0x0000000019508e20 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:24.845998 [ 1435 ] {69fffa15-70d3-4ea2-8a6a-9d9e97bbf5ea} executeQuery: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52636) (comment: 01602_insert_into_table_function_cluster.sql) (in query: INSERT INTO FUNCTION remote('127.0.0.{1,2}', currentDatabase(), y, '[HIDDEN]') SELECT * FROM numbers(10)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001a0f85c6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3ea151 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1595: DB::InterpreterInsertQuery::execute() @ 0x0000000019508e20 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:24.846683 [ 1435 ] {69fffa15-70d3-4ea2-8a6a-9d9e97bbf5ea} TCPHandler: Code: 55. DB::Exception: Method write is not supported by storage Distributed with more than one shard and no sharding key provided. (STORAGE_REQUIRES_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:0: DB::StorageDistributed::write(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001a0f85c6 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:453: DB::buildPushingToViewsChain(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, bool, std::shared_ptr, std::shared_ptr, std::atomic*, bool, DB::Block const&) @ 0x000000001b3ea151 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::buildSink(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr, std::atomic*) @ 0x0000000019505467 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1595: DB::InterpreterInsertQuery::execute() @ 0x0000000019508e20 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:29.193808 [ 19111 ] {b7ad3940-3821-470d-ad91-2970a076eee2} executeQuery: Code: 63. DB::Exception: Aggregate function with name 'abs' does not exists. In scope SELECT number, abs(number) OVER (PARTITION BY toString(intDiv(number, 3)) ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(10). (UNKNOWN_AGGREGATE_FUNCTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: -- not a window function select number, abs(number) over (partition by toString(intDiv(number, 3)) rows unbounded preceding) from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019405b2a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:29.194893 [ 19111 ] {b7ad3940-3821-470d-ad91-2970a076eee2} TCPHandler: Code: 63. DB::Exception: Aggregate function with name 'abs' does not exists. In scope SELECT number, abs(number) OVER (PARTITION BY toString(intDiv(number, 3)) ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(10). (UNKNOWN_AGGREGATE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019405b2a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:30.585728 [ 9611 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:40252). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:30.841961 [ 18285 ] {4fb9d30e-f05d-4ee7-ac6a-22504505764a} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:43076). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:43076) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:30.842078 [ 17919 ] {d71eae9f-df7c-43d6-8fd2-5390e13a0cf7} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:34792). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:34792) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:30.842101 [ 1524 ] {aa5ada64-4b2e-4574-b6f7-54be988b9049} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:37992). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:37992) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:30.842193 [ 19119 ] {4f239cf5-1116-4f4d-b515-8f33a7f01a20} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:50910). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:50910) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:30.842228 [ 17927 ] {acf6848d-37b4-4c78-aec3-dd969d2d39dc} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:39186). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:39186) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:30.915283 [ 9605 ] {5bc5dce8-abf8-42dd-a2ac-a9aca404a0a3} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:36482). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:36482) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:30.915403 [ 18285 ] {4fb9d30e-f05d-4ee7-ac6a-22504505764a} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:43076). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:30.915429 [ 1524 ] {aa5ada64-4b2e-4574-b6f7-54be988b9049} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:37992). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:30.915424 [ 17927 ] {acf6848d-37b4-4c78-aec3-dd969d2d39dc} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:39186). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:30.915664 [ 19119 ] {4f239cf5-1116-4f4d-b515-8f33a7f01a20} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:50910). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:30.915694 [ 17919 ] {d71eae9f-df7c-43d6-8fd2-5390e13a0cf7} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:34792). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:30.915736 [ 18285 ] {4fb9d30e-f05d-4ee7-ac6a-22504505764a} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:43076). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:30.915869 [ 1524 ] {aa5ada64-4b2e-4574-b6f7-54be988b9049} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:37992). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:30.915971 [ 17927 ] {acf6848d-37b4-4c78-aec3-dd969d2d39dc} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:39186). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:30.916032 [ 19119 ] {4f239cf5-1116-4f4d-b515-8f33a7f01a20} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:50910). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:30.916048 [ 17919 ] {d71eae9f-df7c-43d6-8fd2-5390e13a0cf7} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:34792). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:30.916604 [ 18285 ] {4fb9d30e-f05d-4ee7-ac6a-22504505764a} TCPHandler: Client has gone away. 2024.05.01 14:48:30.916727 [ 1524 ] {aa5ada64-4b2e-4574-b6f7-54be988b9049} TCPHandler: Client has gone away. 2024.05.01 14:48:30.916894 [ 17927 ] {acf6848d-37b4-4c78-aec3-dd969d2d39dc} TCPHandler: Client has gone away. 2024.05.01 14:48:30.916958 [ 19119 ] {4f239cf5-1116-4f4d-b515-8f33a7f01a20} TCPHandler: Client has gone away. 2024.05.01 14:48:30.916981 [ 17919 ] {d71eae9f-df7c-43d6-8fd2-5390e13a0cf7} TCPHandler: Client has gone away. 2024.05.01 14:48:30.917421 [ 9605 ] {5bc5dce8-abf8-42dd-a2ac-a9aca404a0a3} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:36482). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:30.917750 [ 9605 ] {5bc5dce8-abf8-42dd-a2ac-a9aca404a0a3} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:36482). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:30.919829 [ 9605 ] {5bc5dce8-abf8-42dd-a2ac-a9aca404a0a3} TCPHandler: Client has gone away. 2024.05.01 14:48:31.619024 [ 2834 ] {82f980e8-cf67-4963-8bba-f0dd241fc393} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:52802). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52802) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM remote('127.{1..10}', system.one) FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:941: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af07b62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.629238 [ 690 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:38216). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:31.631656 [ 2834 ] {82f980e8-cf67-4963-8bba-f0dd241fc393} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:52802). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:31.632038 [ 2834 ] {82f980e8-cf67-4963-8bba-f0dd241fc393} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::1]:9000 -> [::1]:52802). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:941: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af07b62 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.632767 [ 2834 ] {82f980e8-cf67-4963-8bba-f0dd241fc393} TCPHandler: Client has gone away. 2024.05.01 14:48:31.691937 [ 9611 ] {ca0414dd-98ae-4bea-b481-9d0b9be5a900} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:45602). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45602) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.693002 [ 1145 ] {2d4c4d31-44b7-4343-98c4-0d6dc3c11496} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:56660). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:56660) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.693526 [ 9611 ] {ca0414dd-98ae-4bea-b481-9d0b9be5a900} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:45602). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:31.693787 [ 9611 ] {ca0414dd-98ae-4bea-b481-9d0b9be5a900} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.6]:9000 -> [::ffff:127.0.0.1]:45602). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.694472 [ 9611 ] {ca0414dd-98ae-4bea-b481-9d0b9be5a900} TCPHandler: Client has gone away. 2024.05.01 14:48:31.694778 [ 1145 ] {2d4c4d31-44b7-4343-98c4-0d6dc3c11496} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:56660). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:31.695130 [ 1145 ] {2d4c4d31-44b7-4343-98c4-0d6dc3c11496} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.5]:9000 -> [::ffff:127.0.0.1]:56660). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.695788 [ 18285 ] {ea9462de-b2d8-4b00-85af-873df974b368} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:34368). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:34368) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.696139 [ 1145 ] {2d4c4d31-44b7-4343-98c4-0d6dc3c11496} TCPHandler: Client has gone away. 2024.05.01 14:48:31.697567 [ 18285 ] {ea9462de-b2d8-4b00-85af-873df974b368} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:34368). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:31.697824 [ 18285 ] {ea9462de-b2d8-4b00-85af-873df974b368} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.7]:9000 -> [::ffff:127.0.0.1]:34368). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.698459 [ 18285 ] {ea9462de-b2d8-4b00-85af-873df974b368} TCPHandler: Client has gone away. 2024.05.01 14:48:31.699554 [ 17919 ] {22209065-5d28-45de-add6-83ba65b8cf24} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:47124). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47124) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.701021 [ 17919 ] {22209065-5d28-45de-add6-83ba65b8cf24} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:47124). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:31.701331 [ 17919 ] {22209065-5d28-45de-add6-83ba65b8cf24} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.8]:9000 -> [::ffff:127.0.0.1]:47124). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.701605 [ 1524 ] {7ac4b578-49bb-428d-a832-57e9ebd3c6ae} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:41598). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41598) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.701926 [ 17919 ] {22209065-5d28-45de-add6-83ba65b8cf24} TCPHandler: Client has gone away. 2024.05.01 14:48:31.702990 [ 1524 ] {7ac4b578-49bb-428d-a832-57e9ebd3c6ae} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:41598). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:31.703289 [ 1524 ] {7ac4b578-49bb-428d-a832-57e9ebd3c6ae} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.9]:9000 -> [::ffff:127.0.0.1]:41598). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.704114 [ 1524 ] {7ac4b578-49bb-428d-a832-57e9ebd3c6ae} TCPHandler: Client has gone away. 2024.05.01 14:48:31.704634 [ 17927 ] {29b4c218-bb78-44b2-83ac-5a3ebb782424} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:52706). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:52706) (comment: 01602_max_distributed_connections.sh) (in query: SELECT sleep(0.15) FROM `system`.`one`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.706116 [ 17927 ] {29b4c218-bb78-44b2-83ac-5a3ebb782424} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:52706). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:31.706385 [ 17927 ] {29b4c218-bb78-44b2-83ac-5a3ebb782424} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.10]:9000 -> [::ffff:127.0.0.1]:52706). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.707109 [ 17927 ] {29b4c218-bb78-44b2-83ac-5a3ebb782424} TCPHandler: Client has gone away. 2024.05.01 14:48:31.958435 [ 19111 ] {28f02bbb-64cf-4d35-9fe2-8904016e175f} executeQuery: Code: 36. DB::Exception: The function 'lagInFrame' can only be used as a window function, not as an aggregate function. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: select lagInFrameOrNull(1) over ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunction::fail() const @ 0x000000001b3d474c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunction::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x000000001b3d2c7a in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionOrFill.h:111: DB::AggregateFunctionOrFill::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000140f6e95 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:960: DB::WindowTransform::updateAggregationState() @ 0x000000001b3c72fb in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c87fe in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:31.959454 [ 19111 ] {28f02bbb-64cf-4d35-9fe2-8904016e175f} TCPHandler: Code: 36. DB::Exception: The function 'lagInFrame' can only be used as a window function, not as an aggregate function. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunction::fail() const @ 0x000000001b3d474c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunction::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x000000001b3d2c7a in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionOrFill.h:111: DB::AggregateFunctionOrFill::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000140f6e95 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:960: DB::WindowTransform::updateAggregationState() @ 0x000000001b3c72fb in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c87fe in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:32.149999 [ 2834 ] {c4038035-b642-4065-949d-403e2dfed90f} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt64(inf). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52838) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt64(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007e1cbd7 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007e0ee80 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e0dd26 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e0cfc0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:32.272392 [ 19111 ] {bab8380d-5392-475c-9bf7-d69b147fbdc4} executeQuery: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: -- nth_value UBsan SELECT nth_value(1, -1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3d86bb in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3d88ee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:32.272350 [ 2834 ] {c4038035-b642-4065-949d-403e2dfed90f} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt64(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007e1cbd7 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007e0ee80 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e0dd26 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e0cfc0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:32.273475 [ 19111 ] {bab8380d-5392-475c-9bf7-d69b147fbdc4} TCPHandler: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3d86bb in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3d88ee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:32.469273 [ 19111 ] {0a23fc50-b9f2-4c3c-9b52-e2dd0b904a85} executeQuery: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], 0 given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: SELECT nth_value(1, 0) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3d86bb in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3d88ee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:32.469351 [ 2834 ] {690cb5bd-e4d1-4646-a10c-25163d34931d} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt128(inf). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52838) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt128(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt128, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007e40a06 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007e335d8 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e32486 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e31720 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:32.587415 [ 19111 ] {0a23fc50-b9f2-4c3c-9b52-e2dd0b904a85} TCPHandler: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], 0 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3d86bb in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3d88ee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:32.587525 [ 2837 ] {37cd10a5-77ff-454a-900d-384181ed1702} executeQuery: Code: 36. DB::Exception: Frame start offset 2 FOLLOWING does not precede the frame end offset 0 FOLLOWING. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52844) (comment: 01571_window_functions.sql) (in query: -- signed and unsigned in offset do not cause logical error select count() over (rows between 2 following and 1 + -1 following) FROM numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Field const&, char const (&) [10], DB::Field const&, char const (&) [10]) @ 0x00000000199ed82c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:179: DB::WindowFrame::checkValid() const @ 0x00000000199ed11a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x00000000199ed1e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000001b5fc7dc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x000000001954e172 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1788: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541f93 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:32.587535 [ 2834 ] {690cb5bd-e4d1-4646-a10c-25163d34931d} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt128(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt128, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007e40a06 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007e335d8 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e32486 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e31720 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:32.588795 [ 2837 ] {37cd10a5-77ff-454a-900d-384181ed1702} TCPHandler: Code: 36. DB::Exception: Frame start offset 2 FOLLOWING does not precede the frame end offset 0 FOLLOWING. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::Field const&, char const (&) [10], DB::Field const&, char const (&) [10]) @ 0x00000000199ed82c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:179: DB::WindowFrame::checkValid() const @ 0x00000000199ed11a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/WindowDescription.cpp:197: DB::WindowDescription::checkValid() const @ 0x00000000199ed1e9 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/WindowStep.cpp:59: DB::WindowStep::WindowStep(DB::DataStream const&, DB::WindowDescription const&, std::vector> const&) @ 0x000000001b5fc7dc in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeWindow(DB::QueryPlan&) @ 0x000000001954e172 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:1788: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541f93 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:32.764686 [ 19111 ] {79ad4850-9e23-4602-b93c-c477924209f4} executeQuery: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: SELECT nth_value(1, /* INT64_MAX+1 */ 0x7fffffffffffffff+1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3d86bb in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3d88ee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:32.764675 [ 2834 ] {bc6471d5-f883-46c3-a8db-fbaeccec359f} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt256(inf). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52838) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt256(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007e64901 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007e57b16 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e569c6 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e55c60 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:32.765846 [ 19111 ] {79ad4850-9e23-4602-b93c-c477924209f4} TCPHandler: Code: 36. DB::Exception: The offset for function nth_value must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3d86bb in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionNthValue::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3d88ee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:32.765905 [ 2834 ] {bc6471d5-f883-46c3-a8db-fbaeccec359f} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt256(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007e64901 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007e57b16 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e569c6 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e55c60 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:32.774681 [ 2834 ] {f180d116-1a1f-418a-b94e-13cfa10381e8} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt64(nan). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52838) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt64(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007e1cbd7 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007e0ee80 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e0dd26 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e0cfc0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:32.775808 [ 2834 ] {f180d116-1a1f-418a-b94e-13cfa10381e8} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt64(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007e1cbd7 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007e0ee80 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e0dd26 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e0cfc0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:32.783820 [ 2834 ] {6f94cfe0-488d-43a5-9ea2-3e89d0f7c2ca} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt128(nan). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52838) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt128(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt128, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007e40a06 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007e335d8 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e32486 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e31720 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:32.785028 [ 2834 ] {6f94cfe0-488d-43a5-9ea2-3e89d0f7c2ca} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt128(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt128, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007e40a06 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007e335d8 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e32486 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt128, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e31720 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:32.791897 [ 2834 ] {baab0179-58e6-41e6-9a47-13d7d3127fb2} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt256(nan). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52838) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toInt256(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007e64901 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007e57b16 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e569c6 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e55c60 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:32.792761 [ 2834 ] {baab0179-58e6-41e6-9a47-13d7d3127fb2} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toInt256(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007e64901 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007e57b16 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e569c6 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007e55c60 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:32.959360 [ 2834 ] {8648847c-226a-419e-8588-7e45e5b07bbb} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt64(inf). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52838) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toUInt64(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d44f41 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d37878 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:33.074212 [ 19111 ] {8cf43f67-c4fe-43db-9905-754add57cf12} executeQuery: Code: 36. DB::Exception: The offset for function lagInFrame must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: -- lagInFrame UBsan SELECT lagInFrame(1, -1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3da49a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3da6ce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:33.074325 [ 2834 ] {8648847c-226a-419e-8588-7e45e5b07bbb} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt64(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d44f41 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d37878 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:33.075105 [ 19111 ] {8cf43f67-c4fe-43db-9905-754add57cf12} TCPHandler: Code: 36. DB::Exception: The offset for function lagInFrame must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3da49a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3da6ce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:33.254245 [ 2834 ] {e0ea3cb6-288c-4ae0-9c77-362eabd2c1c0} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt256(inf). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52838) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toUInt256(inf);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToUInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d8df29 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d80f20 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d7fdc6 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d7f060 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:33.254292 [ 19111 ] {fd7ca486-4673-4fcc-ba83-ae4b127fc101} executeQuery: Code: 36. DB::Exception: The offset for function lagInFrame must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: SELECT lagInFrame(1, /* INT64_MAX+1 */ 0x7fffffffffffffff+1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3da49a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3da6ce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:33.255145 [ 2834 ] {e0ea3cb6-288c-4ae0-9c77-362eabd2c1c0} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt256(inf). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToUInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d8df29 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d80f20 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d7fdc6 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d7f060 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:33.255744 [ 19111 ] {fd7ca486-4673-4fcc-ba83-ae4b127fc101} TCPHandler: Code: 36. DB::Exception: The offset for function lagInFrame must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3da49a in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3da6ce in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:33.262027 [ 2834 ] {344a8dd2-757b-47d5-9b3d-18731c0bb1d0} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt64(nan). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52838) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toUInt64(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d44f41 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d37878 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:33.262858 [ 2834 ] {344a8dd2-757b-47d5-9b3d-18731c0bb1d0} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt64(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber, DB::NameToUInt64, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d44f41 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d37878 in /usr/bin/clickhouse 5. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:33.268496 [ 2834 ] {1536bc44-e227-4822-88e4-3dff6c934e6f} executeQuery: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt256(nan). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52838) (comment: 01581_to_int_inf_nan.sql) (in query: SELECT toUInt256(nan);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToUInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d8df29 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d80f20 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d7fdc6 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d7f060 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:33.269287 [ 2834 ] {1536bc44-e227-4822-88e4-3dff6c934e6f} TCPHandler: Code: 70. DB::Exception: Unexpected inf or nan to integer conversion: While processing toUInt256(nan). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [44]) @ 0x0000000007cc9f06 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl, DB::DataTypeNumber>, DB::NameToUInt256, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d8df29 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d80f20 in /usr/bin/clickhouse 5. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d7fdc6 in /usr/bin/clickhouse 6. DB::FunctionConvert>, DB::NameToUInt256, DB::ToNumberMonotonicity>>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d7f060 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:48:33.404843 [ 19111 ] {db86e4da-eb7b-444f-b73d-9236154335c8} executeQuery: Code: 36. DB::Exception: The offset for function leadInFrame must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: -- leadInFrame UBsan SELECT leadInFrame(1, -1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3dbdba in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3dbfee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:33.405861 [ 19111 ] {db86e4da-eb7b-444f-b73d-9236154335c8} TCPHandler: Code: 36. DB::Exception: The offset for function leadInFrame must be in (0, 9223372036854775807], -1 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3dbdba in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3dbfee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:33.437332 [ 19111 ] {a4698c21-f77f-49a1-be2f-8faaa1dfb499} executeQuery: Code: 36. DB::Exception: The offset for function leadInFrame must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: SELECT leadInFrame(1, /* INT64_MAX+1 */ 0x7fffffffffffffff+1) OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3dbdba in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3dbfee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:33.438384 [ 19111 ] {a4698c21-f77f-49a1-be2f-8faaa1dfb499} TCPHandler: Code: 36. DB::Exception: The offset for function leadInFrame must be in (0, 9223372036854775807], -9223372036854775808 given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, long&&, long&) @ 0x000000001b3d8a22 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3dbdba in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: non-virtual thunk to DB::WindowFunctionLagLeadInFrame::windowInsertResultInto(DB::WindowTransform const*, unsigned long) @ 0x000000001b3dbfee in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:980: DB::WindowTransform::appendChunk(DB::Chunk&) @ 0x000000001b3c89cd in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:1400: DB::WindowTransform::work() @ 0x000000001b3cc982 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:33.687186 [ 19111 ] {07dd4c0c-dfdf-42f1-bf35-b9a4754567ba} executeQuery: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: -- nth_value Msan SELECT nth_value(1, '') OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::WindowFunctionNthValue(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001b3d8163 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001b3d79ee in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001b3cddce in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940208b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:33.688240 [ 19111 ] {07dd4c0c-dfdf-42f1-bf35-b9a4754567ba} TCPHandler: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionNthValue::WindowFunctionNthValue(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001b3d8163 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001b3d79ee in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001b3cddce in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940208b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:33.865091 [ 19111 ] {3ccc8f53-e826-46bf-8c3d-2ef370617928} executeQuery: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: -- lagInFrame Msan SELECT lagInFrame(1, '') OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001b3d96f6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001b3d8c0e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001b3cde2e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940208b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:33.866384 [ 19111 ] {3ccc8f53-e826-46bf-8c3d-2ef370617928} TCPHandler: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001b3d96f6 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001b3d8c0e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001b3cde2e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940208b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:34.038778 [ 19111 ] {c65e47d8-5771-4fc0-98fa-25c710b4bbd5} executeQuery: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: -- leadInFrame Msan SELECT leadInFrame(1, '') OVER ();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001b3db256 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001b3da76e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001b3cde8e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940208b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:34.039713 [ 19111 ] {c65e47d8-5771-4fc0-98fa-25c710b4bbd5} TCPHandler: Code: 36. DB::Exception: Offset must be an integer, 'String' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/WindowTransform.cpp:0: DB::WindowFunctionLagLeadInFrame::WindowFunctionLagLeadInFrame(String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001b3db256 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr> std::allocate_shared[abi:v15000], std::allocator>, String const&, std::vector, std::allocator>> const&, DB::Array const&, void>(std::allocator> const&, String const&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x000000001b3da76e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000001b3cde8e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 7. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940208b in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 12. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 13. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 14. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:34.216966 [ 19111 ] {6f322b59-db9e-4137-8030-5d3d46102e9e} executeQuery: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: -- negative offsets should not be allowed select count() over (order by toInt64(number) range between -1 preceding and unbounded following) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ecf6f in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940ac7a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:34.218089 [ 19111 ] {6f322b59-db9e-4137-8030-5d3d46102e9e} TCPHandler: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ecf6f in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940ac7a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:34.227044 [ 19111 ] {5eed6b20-9996-4a7a-a076-529ab8974c85} executeQuery: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: select count() over (order by toInt64(number) range between -1 following and unbounded following) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ecf6f in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940ac7a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:34.227815 [ 19111 ] {5eed6b20-9996-4a7a-a076-529ab8974c85} TCPHandler: Code: 36. DB::Exception: Frame start offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ecf6f in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940ac7a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:34.366972 [ 19111 ] {fcc4c23f-3f16-438a-a97f-ae25358ab1a9} executeQuery: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: select count() over (order by toInt64(number) range between unbounded preceding and -1 preceding) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ed03d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940ac7a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:34.367977 [ 19111 ] {fcc4c23f-3f16-438a-a97f-ae25358ab1a9} TCPHandler: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ed03d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940ac7a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:34.376616 [ 19111 ] {e23a0aa1-1aeb-4081-83eb-2e9a63f4aaa3} executeQuery: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: select count() over (order by toInt64(number) range between unbounded preceding and -1 following) from numbers(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ed03d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940ac7a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:34.377519 [ 19111 ] {e23a0aa1-1aeb-4081-83eb-2e9a63f4aaa3} TCPHandler: Code: 36. DB::Exception: Frame end offset for 'RANGE' frame must be a nonnegative 32-bit integer, '-1' of type 'Int64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ed03d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940ac7a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:34.593684 [ 9652 ] {ff6d37d9-dd36-4eaa-84d6-3b8c470c0d77} executeQuery: Code: 70. DB::Exception: Cannot convert infinite value to integer type. (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52888) (comment: 01557_field_infinite_convert_to_number.sql) (in query: SET max_threads = nan;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000827e626 in /usr/bin/clickhouse 3. DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x000000000e3a733a in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Field.h:0: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x00000000107ac430 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/FieldVisitors.h:0: DB::SettingFieldMaxThreads::SettingFieldMaxThreads(DB::Field const&) @ 0x000000001833de20 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:685: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda27'(DB::Field const&)::__invoke(DB::Field const&) @ 0x000000001815caa6 in /usr/bin/clickhouse 7. ./build_docker/./src/Core/Settings.h:1072: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x0000000017ed5639 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/SettingsConstraints.cpp:285: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000017ed3814 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000017ed3b83 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x00000000188ebb1a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x000000001960d4c0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:34.595045 [ 9652 ] {ff6d37d9-dd36-4eaa-84d6-3b8c470c0d77} TCPHandler: Code: 70. DB::Exception: Cannot convert infinite value to integer type. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000827e626 in /usr/bin/clickhouse 3. DB::FieldVisitorConvertToNumber::operator()(double const&) const @ 0x000000000e3a733a in /usr/bin/clickhouse 4. ./build_docker/./src/Core/Field.h:0: auto DB::Field::dispatch, DB::Field const&>(DB::FieldVisitorConvertToNumber&&, DB::Field const&) @ 0x00000000107ac430 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/FieldVisitors.h:0: DB::SettingFieldMaxThreads::SettingFieldMaxThreads(DB::Field const&) @ 0x000000001833de20 in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:685: DB::SettingsTraits::Accessor::instance()::$_0::operator()() const::'lambda27'(DB::Field const&)::__invoke(DB::Field const&) @ 0x000000001815caa6 in /usr/bin/clickhouse 7. ./build_docker/./src/Core/Settings.h:1072: bool DB::getNewValueToCheck(DB::Settings const&, DB::SettingChange&, DB::Field&, bool) @ 0x0000000017ed5639 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/SettingsConstraints.cpp:285: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000017ed3814 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000017ed3b83 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x00000000188ebb1a in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x000000001960d4c0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:35.296316 [ 19111 ] {2689a837-71e8-4b61-9054-20d32ca2f528} executeQuery: Code: 36. DB::Exception: Frame start offset for 'ROWS' frame must be a nonnegative 32-bit integer, '2147483648' of type 'UInt64' given. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: -- -INT_MIN row offset that can lead to problems with negation, found when fuzzing -- under UBSan. Should be limited to at most INT_MAX. select count() over (rows between 2147483648 preceding and 2147493648 following) from numbers(2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ecf6f in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940ac7a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:35.297067 [ 19111 ] {2689a837-71e8-4b61-9054-20d32ca2f528} TCPHandler: Code: 36. DB::Exception: Frame start offset for 'ROWS' frame must be a nonnegative 32-bit integer, '2147483648' of type 'UInt64' given. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, DB::WindowFrame::FrameType const&, String&&, DB::Field::Types::Which&&) @ 0x00000000199ed5da in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/WindowDescription.cpp:0: DB::WindowFrame::checkValid() const @ 0x00000000199ecf6f in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940ac7a in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:35.480487 [ 19111 ] {4b44f5c3-8db3-41e7-9caa-1bb0020d507c} executeQuery: Code: 36. DB::Exception: Derived window definition 'w PARTITION BY number' is not allowed to override PARTITION BY. In scope SELECT count() OVER (w PARTITION BY number) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5)). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: -- can't redefine PARTITION BY select count() over (w partition by number) from numbers(1) window w as (partition by intDiv(number, 5));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193edac3 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940a537 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:35.600273 [ 19111 ] {4b44f5c3-8db3-41e7-9caa-1bb0020d507c} TCPHandler: Code: 36. DB::Exception: Derived window definition 'w PARTITION BY number' is not allowed to override PARTITION BY. In scope SELECT count() OVER (w PARTITION BY number) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5)). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193edac3 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940a537 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:35.600321 [ 9652 ] {f232c962-8657-4430-b97c-cd38ebfc4a9e} executeQuery: Code: 50. DB::Exception: Unknown data type family: CODEC. (UNKNOWN_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52906) (comment: 01559_misplaced_codec_diagnostics.sh) (in query: CREATE TABLE t (c CODEC(NONE)) ENGINE = Memory), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:265: std::function (std::shared_ptr const&)> const* DB::DataTypeFactory::findCreatorByName(String const&) const @ 0x00000000184228c2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205d1 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:35.602141 [ 9652 ] {f232c962-8657-4430-b97c-cd38ebfc4a9e} TCPHandler: Code: 50. DB::Exception: Unknown data type family: CODEC. (UNKNOWN_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:265: std::function (std::shared_ptr const&)> const* DB::DataTypeFactory::findCreatorByName(String const&) const @ 0x00000000184228c2 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205d1 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:35.756226 [ 19111 ] {78e2b4b1-23a8-451d-9266-71b5aabd273f} executeQuery: Code: 36. DB::Exception: Derived window definition 'w ORDER BY number ASC' is not allowed to override a non-empty ORDER BY. In scope SELECT count() OVER (w ORDER BY number ASC) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5) ORDER BY mod(number, 3) ASC). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: -- can't redefine existing ORDER BY select count() over (w order by number) from numbers(1) window w as (partition by intDiv(number, 5) order by mod(number, 3));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193edc40 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940a537 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:35.757310 [ 19111 ] {78e2b4b1-23a8-451d-9266-71b5aabd273f} TCPHandler: Code: 36. DB::Exception: Derived window definition 'w ORDER BY number ASC' is not allowed to override a non-empty ORDER BY. In scope SELECT count() OVER (w ORDER BY number ASC) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5) ORDER BY mod(number, 3) ASC). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193edc40 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940a537 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:35.941938 [ 9652 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000017e46655 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e46303 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:35.941935 [ 19111 ] {5f299acf-d021-4897-8520-cd889819d320} executeQuery: Code: 36. DB::Exception: Parent window 'w' is not allowed to define a frame: while processing derived window definition 'w RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW'. In scope SELECT count() OVER (w RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5) ORDER BY mod(number, 3) ASC ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: -- parent window can't have frame select count() over (w range unbounded preceding) from numbers(1) window w as (partition by intDiv(number, 5) order by mod(number, 3) rows unbounded preceding);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193edb84 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940a537 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:35.943128 [ 19111 ] {5f299acf-d021-4897-8520-cd889819d320} TCPHandler: Code: 36. DB::Exception: Parent window 'w' is not allowed to define a frame: while processing derived window definition 'w RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW'. In scope SELECT count() OVER (w RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) FROM numbers(1) WINDOW w AS (PARTITION BY intDiv(number, 5) ORDER BY mod(number, 3) ASC ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::mergeWindowWithParentWindow(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193edb84 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940a537 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 11. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:35.943830 [ 9652 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:36.094378 [ 2834 ] {a2e26198-219a-410f-8640-76289b0b3daf} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? : While sending /var/lib/clickhouse/store/a1f/a1f90c21-9603-421a-8a88-25d4fa669192/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52914) (comment: 01555_system_distribution_queue_mask.sql) (in query: -- since test_cluster_with_incorrect_pw contains incorrect password ignore error system flush distributed dist_01555;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001adc38e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:192: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1ffb in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:458: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000001adc59db in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea82b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000001addf252 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000001addf77b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade103d in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:210: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade0456 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000001addde67 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000001a6dcb29 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:414: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d7047 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:1071: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000019626055 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000019618e38 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.226518 [ 2834 ] {a2e26198-219a-410f-8640-76289b0b3daf} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? : While sending /var/lib/clickhouse/store/a1f/a1f90c21-9603-421a-8a88-25d4fa669192/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001adc38e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:192: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1ffb in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:458: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000001adc59db in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea82b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000001addf252 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000001addf77b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade103d in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:210: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade0456 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000001addde67 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000001a6dcb29 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:414: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d7047 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:1071: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000019626055 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000019618e38 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.226627 [ 19111 ] {ca8bc69e-fd68-473f-9dff-498c7d498d68} executeQuery: Code: 36. DB::Exception: Window 'w2' does not exists. In scope SELECT count() OVER (w2 ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52824) (comment: 01591_window_functions.sql) (in query: -- nonexistent parent window select count() over (w2 rows unbounded preceding);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x0000000009afde7c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940c0f8 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.288487 [ 9610 ] {21430786-b19a-4eb3-93d2-2f4d2d9eac70} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52938) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.288531 [ 19111 ] {ca8bc69e-fd68-473f-9dff-498c7d498d68} TCPHandler: Code: 36. DB::Exception: Window 'w2' does not exists. In scope SELECT count() OVER (w2 ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&, String&&) @ 0x0000000009afde7c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveWindow(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940c0f8 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5013: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019402112 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 10. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.289315 [ 9610 ] {21430786-b19a-4eb3-93d2-2f4d2d9eac70} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.303690 [ 9610 ] {a39ab7fc-e5f2-4259-86fe-97f249ec767e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52938) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT JSON settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.304194 [ 9610 ] {a39ab7fc-e5f2-4259-86fe-97f249ec767e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.314540 [ 9610 ] {50e205c5-acfd-4a77-8885-683d7f230081} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52938) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT TSVWithNamesAndTypes settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.315207 [ 9610 ] {50e205c5-acfd-4a77-8885-683d7f230081} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.325689 [ 690 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000017e46655 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e46303 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:36.326307 [ 9610 ] {247899dd-49b8-4b7f-a784-62cc030df9a3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52938) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT CSVWithNamesAndTypes settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.326787 [ 690 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:36.326855 [ 9610 ] {247899dd-49b8-4b7f-a784-62cc030df9a3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.481497 [ 9610 ] {ade6a1c1-1c94-457c-a380-4cf6488fc064} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52938) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT JSONCompactEachRowWithNamesAndTypes settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.481599 [ 2834 ] {1118d312-5156-4117-ab36-58344ac499da} StorageDistributed (dist_01555): Cannot flush: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? : While sending /var/lib/clickhouse/store/a1f/a1f90c21-9603-421a-8a88-25d4fa669192/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001adc38e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:192: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1ffb in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:465: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000001adc5c2d in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea82b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000001addf252 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000001addf77b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade103d in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:210: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade0456 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000001addde67 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000001a6dcb29 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d6fe6 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/StorageDistributed.cpp:1452: DB::StorageDistributed::flushAndPrepareForShutdown() @ 0x000000001a105eb4 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/IStorage.h:566: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001939014b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 31. ? @ 0x00007f5975bcaac3 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:36.482137 [ 9610 ] {ade6a1c1-1c94-457c-a380-4cf6488fc064} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.493699 [ 9610 ] {d0243f43-d906-438c-a2ab-9dd072669907} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52938) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(100) FORMAT XML settings max_result_rows = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.494260 [ 9610 ] {d0243f43-d906-438c-a2ab-9dd072669907} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 100.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.507564 [ 9610 ] {cb934bf9-3126-4262-b62d-9991a6f47e59} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52938) (comment: 01553_settings_early_apply.sql) (in query: select * from numbers(10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.508183 [ 9610 ] {cb934bf9-3126-4262-b62d-9991a6f47e59} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max rows: 1.00, current rows: 10.00. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.518361 [ 690 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000017e46655 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e46303 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:36.519452 [ 690 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:36.631054 [ 887 ] {} test_b7kef814.dist_01555.DirectoryMonitor.default: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? : While sending /var/lib/clickhouse/store/0dd/0dd51f21-bc9a-4b37-be25-da0b1c3a8a8c/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001adc38e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:192: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1ffb in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:465: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000001adc5c2d in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea82b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000001addf252 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000001addf77b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade103d in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:210: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade0456 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000001addde67 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000001a6dcb29 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:414: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d7047 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::run() @ 0x000000001a6d76a9 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl const&, String const&, std::shared_ptr, DB::ActionBlocker&, DB::BackgroundSchedulePool&)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000001a6dfca2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x0000000018064f78 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x000000001806842e in /usr/bin/clickhouse 19. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000018068d0b in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:36.640027 [ 9652 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000017e46655 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e46303 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:36.641551 [ 9652 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:36.796481 [ 2834 ] {e40bbf0b-d769-4cad-8ba1-8b69fb2c31f8} executeQuery: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? : While sending /var/lib/clickhouse/store/0dd/0dd51f21-bc9a-4b37-be25-da0b1c3a8a8c/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52914) (comment: 01555_system_distribution_queue_mask.sql) (in query: -- since test_cluster_with_incorrect_pw contains incorrect password ignore error system flush distributed dist_01555;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001adc38e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:192: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1ffb in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:465: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000001adc5c2d in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea82b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000001addf252 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000001addf77b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade103d in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:210: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade0456 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000001addde67 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000001a6dcb29 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d6fe6 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:1071: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000019626055 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000019618e38 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.797587 [ 2834 ] {e40bbf0b-d769-4cad-8ba1-8b69fb2c31f8} TCPHandler: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? : While sending /var/lib/clickhouse/store/0dd/0dd51f21-bc9a-4b37-be25-da0b1c3a8a8c/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001adc38e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:192: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1ffb in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:465: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000001adc5c2d in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea82b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000001addf252 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000001addf77b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade103d in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:210: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade0456 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000001addde67 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000001a6dcb29 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d6fe6 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:1071: DB::InterpreterSystemQuery::flushDistributed(DB::ASTSystemQuery&) @ 0x0000000019626055 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:592: DB::InterpreterSystemQuery::execute() @ 0x0000000019618e38 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:36.833749 [ 2837 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000017e46655 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e46303 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:36.835116 [ 2837 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:36.991502 [ 2837 ] {} Access(user directories): from: ::ffff:127.0.0.1, user: default: Authentication failed: Code: 193. DB::Exception: Invalid credentials. (WRONG_PASSWORD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:751: DB::IAccessStorage::throwInvalidCredentials() @ 0x0000000017e46655 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e46303 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:36.991666 [ 2834 ] {8b9e3c61-2f01-45e1-a519-fc63afb9b410} StorageDistributed (dist_01555): Cannot flush: Code: 516. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? : While sending /var/lib/clickhouse/store/0dd/0dd51f21-bc9a-4b37-be25-da0b1c3a8a8c/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001adc38e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:192: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1ffb in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:458: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000001adc59db in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea82b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000001addf252 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000001addf77b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade103d in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:210: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade0456 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000001addde67 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000001a6dcb29 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d6fe6 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DistributedAsyncInsertDirectoryQueue::flushAllData() @ 0x000000001a6d6d0c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::StorageDistributed::flushClusterNodesAllData(std::shared_ptr) @ 0x000000001a1065e0 in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/StorageDistributed.cpp:1452: DB::StorageDistributed::flushAndPrepareForShutdown() @ 0x000000001a105eb4 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/IStorage.h:566: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001939014b in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 31. ? @ 0x00007f5975bcaac3 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:36.992982 [ 2837 ] {} ServerErrorHandler: Code: 516. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:37.088731 [ 888 ] {} test_b7kef814.dist_01555.DirectoryMonitor.default: Code: 516. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: default: Authentication failed: password is incorrect, or there is no user with such name. If you have installed ClickHouse and forgot password you can reset it in the configuration file. The password for default user is typically located at /etc/clickhouse-server/users.d/default-password.xml and deleting this file will reset the password. See also /etc/clickhouse-server/users.xml on the server where ClickHouse is installed. . Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? : While sending /var/lib/clickhouse/store/0dd/0dd51f21-bc9a-4b37-be25-da0b1c3a8a8c/default:foo@127%2E0%2E0%2E1:9000,default:foo@127%2E0%2E0%2E2:9000/1.bin. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:375: DB::Connection::receiveHello(Poco::Timespan const&) @ 0x000000001adc38e1 in /usr/bin/clickhouse 5. ./build_docker/./src/Client/Connection.cpp:192: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1ffb in /usr/bin/clickhouse 6. ./build_docker/./src/Client/Connection.cpp:465: DB::Connection::forceConnected(DB::ConnectionTimeouts const&) @ 0x000000001adc5c2d in /usr/bin/clickhouse 7. ./build_docker/./src/Client/ConnectionEstablisher.cpp:51: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea82b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::tryGetEntry(DB::IConnectionPool&, DB::ConnectionTimeouts const&, String&, DB::Settings const*, DB::QualifiedTableName const*, std::function) @ 0x000000001addf252 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/ConnectionPoolWithFailover.cpp:55: PoolWithFailoverBase::TryResult std::__function::__policy_invoker::TryResult (DB::IConnectionPool&, String&)>::__call_impl::TryResult (DB::IConnectionPool&, String&)>>(std::__function::__policy_storage const*, DB::IConnectionPool&, String&) @ 0x000000001addf77b in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: PoolWithFailoverBase::getMany(unsigned long, unsigned long, unsigned long, unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade103d in /usr/bin/clickhouse 11. ./build_docker/./src/Common/PoolWithFailoverBase.h:210: PoolWithFailoverBase::get(unsigned long, bool, std::function::TryResult (DB::IConnectionPool&, String&)> const&, std::function const&) @ 0x000000001ade0456 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ConnectionPoolWithFailover::get(DB::ConnectionTimeouts const&, DB::Settings const*, bool) @ 0x000000001addde67 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFile(String&) @ 0x000000001a6dcb29 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::processFiles() @ 0x000000001a6d6fe6 in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/Distributed/DistributedAsyncInsertDirectoryQueue.cpp:0: DB::DistributedAsyncInsertDirectoryQueue::run() @ 0x000000001a6d76a9 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl const&, String const&, std::shared_ptr, DB::ActionBlocker&, DB::BackgroundSchedulePool&)::$_0, void ()>>(std::__function::__policy_storage const*) @ 0x000000001a6dfca2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x0000000018064f78 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x000000001806842e in /usr/bin/clickhouse 19. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000018068d0b in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:48:38.031234 [ 2837 ] {0144128a-c6c7-4aaf-b1dc-b194616508bd} executeQuery: Code: 27. DB::Exception: Cannot read input: expected a digit but got something else: While processing toModifiedJulianDay('unparsable'). (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52950) (comment: 01543_toModifiedJulianDay.sql) (in query: SELECT toModifiedJulianDay('unparsable');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::readDigit(DB::ReadBuffer&) @ 0x0000000008dfcd69 in /usr/bin/clickhouse 4. DB::GregorianDate::init(DB::ReadBuffer&) @ 0x0000000008dfc729 in /usr/bin/clickhouse 5. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x0000000008dfd7ac in /usr/bin/clickhouse 6. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e659158 in /usr/bin/clickhouse 7. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:48:38.032315 [ 2837 ] {0144128a-c6c7-4aaf-b1dc-b194616508bd} TCPHandler: Code: 27. DB::Exception: Cannot read input: expected a digit but got something else: While processing toModifiedJulianDay('unparsable'). (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::readDigit(DB::ReadBuffer&) @ 0x0000000008dfcd69 in /usr/bin/clickhouse 4. DB::GregorianDate::init(DB::ReadBuffer&) @ 0x0000000008dfc729 in /usr/bin/clickhouse 5. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x0000000008dfd7ac in /usr/bin/clickhouse 6. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e659158 in /usr/bin/clickhouse 7. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:48:38.206559 [ 2837 ] {a5665723-b6a0-4bbb-a9c7-e3f9a1758c14} executeQuery: Code: 38. DB::Exception: Invalid date, out of range (year: {}, month: {}, day_of_month: {}).: While processing toModifiedJulianDay('1999-02-29'). (CANNOT_PARSE_DATE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52950) (comment: 01543_toModifiedJulianDay.sql) (in query: SELECT toModifiedJulianDay('1999-02-29');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [68]) @ 0x0000000008e00286 in /usr/bin/clickhouse 3. DB::GregorianDate::init(DB::ReadBuffer&) @ 0x0000000008dfcb0d in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x0000000008dfd7ac in /usr/bin/clickhouse 5. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e659158 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:48:38.207701 [ 2837 ] {a5665723-b6a0-4bbb-a9c7-e3f9a1758c14} TCPHandler: Code: 38. DB::Exception: Invalid date, out of range (year: {}, month: {}, day_of_month: {}).: While processing toModifiedJulianDay('1999-02-29'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [68]) @ 0x0000000008e00286 in /usr/bin/clickhouse 3. DB::GregorianDate::init(DB::ReadBuffer&) @ 0x0000000008dfcb0d in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x0000000008dfd7ac in /usr/bin/clickhouse 5. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e659158 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:48:38.215570 [ 2837 ] {6633b977-b01c-47e4-b408-05313f8802d8} executeQuery: Code: 38. DB::Exception: Invalid date, out of range (year: {}, month: {}, day_of_month: {}).: While processing toModifiedJulianDay('1999-13-32'). (CANNOT_PARSE_DATE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52950) (comment: 01543_toModifiedJulianDay.sql) (in query: SELECT toModifiedJulianDay('1999-13-32');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [68]) @ 0x0000000008e00286 in /usr/bin/clickhouse 3. DB::GregorianDate::init(DB::ReadBuffer&) @ 0x0000000008dfcb0d in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x0000000008dfd7ac in /usr/bin/clickhouse 5. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e659158 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:48:38.216496 [ 2837 ] {6633b977-b01c-47e4-b408-05313f8802d8} TCPHandler: Code: 38. DB::Exception: Invalid date, out of range (year: {}, month: {}, day_of_month: {}).: While processing toModifiedJulianDay('1999-13-32'). (CANNOT_PARSE_DATE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [68]) @ 0x0000000008e00286 in /usr/bin/clickhouse 3. DB::GregorianDate::init(DB::ReadBuffer&) @ 0x0000000008dfcb0d in /usr/bin/clickhouse 4. DB::GregorianDate::GregorianDate(DB::ReadBuffer&) @ 0x0000000008dfd7ac in /usr/bin/clickhouse 5. DB::ExecutableFunctionToModifiedJulianDay, false>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e659158 in /usr/bin/clickhouse 6. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:48:40.018864 [ 2837 ] {6b6057f7-05de-4406-8cc9-343bb3c92746} executeQuery: Code: 6. DB::Exception: Cannot parse force_data_skipping_indices (''). (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53044) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 SETTINGS force_data_skipping_indices='';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:915: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969226 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.020170 [ 2837 ] {6b6057f7-05de-4406-8cc9-343bb3c92746} TCPHandler: Code: 6. DB::Exception: Cannot parse force_data_skipping_indices (''). (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:915: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969226 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.031660 [ 2837 ] {1b770961-090f-47c1-a462-b549035d46cc} executeQuery: Code: 277. DB::Exception: Index `d1_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53044) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 SETTINGS force_data_skipping_indices='d1_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.032536 [ 2837 ] {1b770961-090f-47c1-a462-b549035d46cc} TCPHandler: Code: 277. DB::Exception: Index `d1_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.043242 [ 2837 ] {b74c4c05-3714-4815-9ca8-031d7d9c2d07} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53044) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 SETTINGS force_data_skipping_indices='d1_null_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.044158 [ 2837 ] {b74c4c05-3714-4815-9ca8-031d7d9c2d07} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.129010 [ 2837 ] {07c40b29-bf0d-4004-b4c6-b3a419068c77} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53044) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices='d1_idx,d1_null_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.129983 [ 2837 ] {07c40b29-bf0d-4004-b4c6-b3a419068c77} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.143465 [ 2837 ] {9ded779b-ed93-41cd-aedf-036004918568} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53044) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices='d1_null_idx,d1_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.144381 [ 2837 ] {9ded779b-ed93-41cd-aedf-036004918568} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.157801 [ 2837 ] {714dee73-a12d-4100-8332-81023ab8992b} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53044) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices='d1_null_idx,d1_idx,,';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.158740 [ 2837 ] {714dee73-a12d-4100-8332-81023ab8992b} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.170019 [ 2837 ] {eba622d5-aef3-4a71-88ad-41dd2cc06ac0} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53044) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices=' d1_null_idx,d1_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.170700 [ 2837 ] {eba622d5-aef3-4a71-88ad-41dd2cc06ac0} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.182617 [ 2837 ] {88483778-fb71-44ba-ad3f-e0aeb3c6948c} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53044) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices=' `d1_null_idx`,d1_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.183337 [ 2837 ] {88483778-fb71-44ba-ad3f-e0aeb3c6948c} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.194737 [ 2837 ] {2e21213e-6a36-49a8-90a3-302311cfeb49} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53044) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices='d1_null_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.195619 [ 2837 ] {2e21213e-6a36-49a8-90a3-302311cfeb49} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.208135 [ 2837 ] {a4b99a5a-8225-4ddc-a21d-1714c41b2209} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53044) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1 = 0 SETTINGS force_data_skipping_indices=' d1_null_idx ';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.208914 [ 2837 ] {a4b99a5a-8225-4ddc-a21d-1714c41b2209} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.220152 [ 2837 ] {3f579cdb-b5eb-4580-95c7-01f7faf942de} executeQuery: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53044) (comment: 01515_force_data_skipping_indices.sql) (in query: SELECT * FROM data_01515 WHERE d1_null = 0 SETTINGS force_data_skipping_indices='d1_null_idx';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:40.220873 [ 2837 ] {3f579cdb-b5eb-4580-95c7-01f7faf942de} TCPHandler: Code: 277. DB::Exception: Index `d1_null_idx` is not used and setting 'force_data_skipping_indices' contains it. (INDEX_NOT_USED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp:0: DB::MergeTreeDataSelectExecutor::filterPartsByPrimaryKeyAndSkipIndexes(std::vector, std::allocator>>&&, std::vector, std::allocator>>&&, std::shared_ptr, std::shared_ptr const&, DB::KeyCondition const&, DB::UsefulSkipIndexes const&, DB::MergeTreeReaderSettings const&, Poco::Logger*, unsigned long, std::vector>&, bool) @ 0x000000001a969180 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1498: DB::ReadFromMergeTree::selectRangesToReadImpl(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b58bf1a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1375: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>, std::shared_ptr const&, DB::ActionDAGNodes const&, std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryInfo const&, std::shared_ptr, unsigned long, std::shared_ptr, std::equal_to, std::allocator>>>, DB::MergeTreeData const&, std::vector> const&, bool, Poco::Logger*, std::optional&) @ 0x000000001b587cfa in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1166: DB::ReadFromMergeTree::selectRangesToRead(std::vector, std::allocator>>, std::vector, std::allocator>>) const @ 0x000000001b5878e0 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1682: DB::ReadFromMergeTree::getAnalysisResult() const @ 0x000000001b58f7e0 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:1791: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591d56 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:45.990581 [ 8776 ] {e8050319-5c63-4e69-b68b-76febd5ca401} executeQuery: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49130) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN key REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023981 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:45.993915 [ 8776 ] {e8050319-5c63-4e69-b68b-76febd5ca401} TCPHandler: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023981 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:46.088275 [ 8776 ] {a5c80ceb-d1ca-4a16-8690-d3161d3a9fe3} executeQuery: Code: 36. DB::Exception: Cannot remove ALIAS from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49130) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN key REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023a91 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:46.091894 [ 8776 ] {a5c80ceb-d1ca-4a16-8690-d3161d3a9fe3} TCPHandler: Code: 36. DB::Exception: Cannot remove ALIAS from column `key`, because column default type is DEFAULT. Use REMOVE DEFAULT to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023a91 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:46.191791 [ 8776 ] {9d9c4525-2edc-420f-b222-5972e5b64eea} executeQuery: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49130) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value1 REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023871 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:46.194170 [ 8776 ] {9d9c4525-2edc-420f-b222-5972e5b64eea} TCPHandler: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023871 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:46.202705 [ 8776 ] {858b2fe1-47d6-4dc8-a4a7-3f2a65c5cc69} executeQuery: Code: 36. DB::Exception: Cannot remove ALIAS from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49130) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value1 REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023a91 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:46.204692 [ 8776 ] {858b2fe1-47d6-4dc8-a4a7-3f2a65c5cc69} TCPHandler: Code: 36. DB::Exception: Cannot remove ALIAS from column `value1`, because column default type is MATERIALIZED. Use REMOVE MATERIALIZED to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023a91 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:46.216246 [ 8776 ] {2fb16465-349b-4614-ad20-dce1b41db7d9} executeQuery: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49130) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value2 REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023871 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:46.220549 [ 8776 ] {2fb16465-349b-4614-ad20-dce1b41db7d9} TCPHandler: Code: 36. DB::Exception: Cannot remove DEFAULT from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023871 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:46.233692 [ 8776 ] {1076c4a4-f9f6-42d9-9a20-580225a7979b} executeQuery: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49130) (comment: 01493_alter_remove_wrong_default.sql) (in query: ALTER TABLE default_table MODIFY COLUMN value2 REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023981 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:46.238144 [ 8776 ] {1076c4a4-f9f6-42d9-9a20-580225a7979b} TCPHandler: Code: 36. DB::Exception: Cannot remove MATERIALIZED from column `value2`, because column default type is ALIAS. Use REMOVE ALIAS to delete it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023981 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:46.943661 [ 17927 ] {4cea179f-895e-43e9-abd6-b3a115f3f94b} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: -- just nothing happened ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023380 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:46.944762 [ 17927 ] {4cea179f-895e-43e9-abd6-b3a115f3f94b} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023380 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:47.038557 [ 17927 ] {2e655cae-b37f-456a-ab41-cb8897ca05a7} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023458 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:47.040842 [ 17927 ] {2e655cae-b37f-456a-ab41-cb8897ca05a7} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023458 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:47.148982 [ 17927 ] {2f40318e-b782-4eb3-b69e-646e98203284} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023530 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:47.150506 [ 17927 ] {2f40318e-b782-4eb3-b69e-646e98203284} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023530 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:47.268664 [ 17927 ] {00d65a25-0687-458c-a6d5-0375aa30e674} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE CODEC;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023c39 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:47.270383 [ 17927 ] {00d65a25-0687-458c-a6d5-0375aa30e674} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023c39 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:47.363481 [ 17927 ] {799e8379-bd55-423f-ae3d-2d9ced4d2357} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE COMMENT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023d0b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:47.682852 [ 17927 ] {799e8379-bd55-423f-ae3d-2d9ced4d2357} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023d0b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:47.792982 [ 17927 ] {cafb5c06-3080-4094-8238-fbd77a28d411} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table MODIFY COLUMN some_column REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023b63 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:47.794606 [ 17927 ] {cafb5c06-3080-4094-8238-fbd77a28d411} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023b63 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:47.917245 [ 17927 ] {9fe8ed16-610a-4f06-92d6-ce8ff1834771} executeQuery: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE no_prop_table REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0228f4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:47.918102 [ 17927 ] {9fe8ed16-610a-4f06-92d6-ce8ff1834771} TCPHandler: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0228f4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.198480 [ 17927 ] {84091f44-02bd-478f-a49f-92074878dddb} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE DEFAULT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023380 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.202490 [ 17927 ] {84091f44-02bd-478f-a49f-92074878dddb} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have DEFAULT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023380 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.213024 [ 17927 ] {a192fb61-d678-47fb-8783-161cb0e3f777} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE MATERIALIZED;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023458 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.213706 [ 17927 ] {a192fb61-d678-47fb-8783-161cb0e3f777} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have MATERIALIZED, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023458 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.233998 [ 17927 ] {dc1e25c4-5494-45cc-9e3e-ae8f7c50d063} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE ALIAS;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023530 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.933002 [ 17927 ] {dc1e25c4-5494-45cc-9e3e-ae8f7c50d063} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have ALIAS, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023530 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.933068 [ 19119 ] {ffcb2343-9a97-4210-8c3e-e5208be6e892} executeQuery: Code: 284. DB::Exception: Global subquery requires subquery or table name: While processing GLOBAL ALL LEFT JOIN numbers(100) AS t USING (id). (WRONG_GLOBAL_SUBQUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49224) (comment: 01474_bad_global_join.sql) (in query: SELECT uniq(d.val) FROM dist_table AS d GLOBAL LEFT JOIN numbers(100) AS t USING id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0x0000000008282066 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:100: DB::GlobalSubqueriesMatcher::Data::addExternalStorage(std::shared_ptr&, std::vector> const&, bool) @ 0x0000000018a90f98 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:262: DB::GlobalSubqueriesMatcher::visit(DB::ASTTablesInSelectQueryElement&, std::shared_ptr&, DB::GlobalSubqueriesMatcher::Data&) @ 0x0000000018a8ee88 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:193: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000018a8dcdc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fce in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::initGlobalSubqueriesAndExternalTables(bool, bool) @ 0x0000000018a6137b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60c68 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.935879 [ 19119 ] {ffcb2343-9a97-4210-8c3e-e5208be6e892} TCPHandler: Code: 284. DB::Exception: Global subquery requires subquery or table name: While processing GLOBAL ALL LEFT JOIN numbers(100) AS t USING (id). (WRONG_GLOBAL_SUBQUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0x0000000008282066 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:100: DB::GlobalSubqueriesMatcher::Data::addExternalStorage(std::shared_ptr&, std::vector> const&, bool) @ 0x0000000018a90f98 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:262: DB::GlobalSubqueriesMatcher::visit(DB::ASTTablesInSelectQueryElement&, std::shared_ptr&, DB::GlobalSubqueriesMatcher::Data&) @ 0x0000000018a8ee88 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/GlobalSubqueriesVisitor.h:193: DB::InDepthNodeVisitor>::doVisit(std::shared_ptr&) @ 0x0000000018a8dcdc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fce in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:61: void DB::InDepthNodeVisitor>::visitChildren(std::shared_ptr&) @ 0x0000000018a91fc3 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::initGlobalSubqueriesAndExternalTables(bool, bool) @ 0x0000000018a6137b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60c68 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.943971 [ 17927 ] {590608ad-cd8b-4837-b586-b81f415e932a} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE CODEC;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023c39 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.944904 [ 17927 ] {590608ad-cd8b-4837-b586-b81f415e932a} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023c39 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.950478 [ 17927 ] {11e31670-55a3-4cc9-a615-a34a02a1abe4} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE COMMENT;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023d0b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.951355 [ 17927 ] {11e31670-55a3-4cc9-a615-a34a02a1abe4} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have COMMENT, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023d0b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.957002 [ 17927 ] {e59ca31d-3ced-479a-93de-f422ca0d4f96} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023b63 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.957622 [ 17927 ] {e59ca31d-3ced-479a-93de-f422ca0d4f96} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023b63 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.963086 [ 17927 ] {2191ecd5-47c2-41c7-8705-2f373bc49b52} executeQuery: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table REMOVE TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0228f4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.963754 [ 17927 ] {2191ecd5-47c2-41c7-8705-2f373bc49b52} TCPHandler: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0228f4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.981026 [ 17927 ] {479aae60-90e3-418a-90be-421499fbfa32} executeQuery: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table MODIFY COLUMN some_column REMOVE ttl;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023b63 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.981748 [ 17927 ] {479aae60-90e3-418a-90be-421499fbfa32} TCPHandler: Code: 36. DB::Exception: Column `some_column` doesn't have TTL, cannot remove it. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023b63 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.986543 [ 17927 ] {e8ff9e86-296d-43da-b4ff-0269469d2db3} executeQuery: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49180) (comment: 01493_alter_remove_no_property_zookeeper_long.sql) (in query: ALTER TABLE r_no_prop_table remove TTL;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0228f4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:48.987263 [ 17927 ] {e8ff9e86-296d-43da-b4ff-0269469d2db3} TCPHandler: Code: 36. DB::Exception: Table doesn't have any table TTL expression, cannot remove. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0228f4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:49.454636 [ 17927 ] {3fe3338b-d8b5-494b-9795-bb4b4528ab1b} executeQuery: Code: 48. DB::Exception: Alter of type 'ADD_COLUMN' is not supported by storage SystemNumbers. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49292) (comment: 01461_alter_table_function.sql) (in query: ALTER TABLE table_from_numbers ADD COLUMN col UInt8;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x0000000017d23ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a07ca3c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:49.455570 [ 17927 ] {3fe3338b-d8b5-494b-9795-bb4b4528ab1b} TCPHandler: Code: 48. DB::Exception: Alter of type 'ADD_COLUMN' is not supported by storage SystemNumbers. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, DB::AlterCommand::Type const&, String&&) @ 0x0000000017d23ab0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/IStorage.cpp:0: DB::IStorage::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a07ca3c in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:50.289651 [ 7349 ] {59d7c11f-3648-4a66-84c1-5c91cbc1ff68} executeQuery: Code: 36. DB::Exception: Default codec cannot have any arguments, it's just an alias for codec specified in config.xml. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49310) (comment: 01455_default_compression.sql) (in query: ALTER TABLE compress_table MODIFY COLUMN value2 CODEC(Default(5));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938c621 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:1129: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a01f6b3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:50.290650 [ 7349 ] {59d7c11f-3648-4a66-84c1-5c91cbc1ff68} TCPHandler: Code: 36. DB::Exception: Default codec cannot have any arguments, it's just an alias for codec specified in config.xml. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:0: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938c621 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/AlterCommands.cpp:1129: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a01f6b3 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:55.155410 [ 8754 ] {16edac1d-c8cc-42bb-b97e-72806837d6db} executeQuery: Code: 407. DB::Exception: Intermediate result overflow (signed a = -256, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing ignore(lcm(-256, 9223372036854775807)). (DECIMAL_OVERFLOW) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53300) (comment: 01435_lcm_overflow.sql) (in query: SELECT ignore(lcm(-256, 9223372036854775807));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000a540c42 in /usr/bin/clickhouse 3. long DB::GCDLCMImpl, DB::(anonymous namespace)::NameLCM>::apply(short, unsigned long) @ 0x000000000bb046a1 in /usr/bin/clickhouse 4. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000bb60c03 in /usr/bin/clickhouse 5. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000bb1fe9f in /usr/bin/clickhouse 6. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bb1e50b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bb1c873 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:48:55.157670 [ 8754 ] {16edac1d-c8cc-42bb-b97e-72806837d6db} TCPHandler: Code: 407. DB::Exception: Intermediate result overflow (signed a = -256, signed b = 9223372036854775807, min = -9223372036854775808, max = 9223372036854775807): While processing ignore(lcm(-256, 9223372036854775807)). (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, long&, long&, long&, long&) @ 0x000000000a540c42 in /usr/bin/clickhouse 3. long DB::GCDLCMImpl, DB::(anonymous namespace)::NameLCM>::apply(short, unsigned long) @ 0x000000000bb046a1 in /usr/bin/clickhouse 4. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000bb60c03 in /usr/bin/clickhouse 5. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000bb1fe9f in /usr/bin/clickhouse 6. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bb1e50b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bb1c873 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:48:56.446716 [ 8754 ] {5aebea61-2a6b-4f6f-976b-0617e5be7797} executeQuery: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53402) (comment: 01422_map_skip_null.sql) (in query: select minMap(arrayJoin([([1], [null]), ([1], [null])]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001413d5e2 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f426 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:56.447771 [ 8754 ] {5aebea61-2a6b-4f6f-976b-0617e5be7797} TCPHandler: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001413d5e2 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f426 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:56.456129 [ 8754 ] {76fcff7c-5ea4-4a52-a5c6-e50c54afbf20} executeQuery: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53402) (comment: 01422_map_skip_null.sql) (in query: select maxMap(arrayJoin([([1], [null]), ([1], [null])]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001413d5e2 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f426 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:56.456884 [ 8754 ] {76fcff7c-5ea4-4a52-a5c6-e50c54afbf20} TCPHandler: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001413d5e2 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f426 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:56.464509 [ 8754 ] {8667c8c7-7bb9-4e2b-97ca-3f15798b6f08} executeQuery: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53402) (comment: 01422_map_skip_null.sql) (in query: select sumMap(arrayJoin([([1], [null]), ([1], [null])]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001413d5e2 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f426 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:56.465218 [ 8754 ] {8667c8c7-7bb9-4e2b-97ca-3f15798b6f08} TCPHandler: Code: 43. DB::Exception: Aggregation 'nothingMap' is not implemented for mapped arrays. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionMap.cpp:127: DB::AggregateFunctionCombinatorMap::transformAggregateFunction(std::shared_ptr const&, DB::AggregateFunctionProperties const&, std::vector, std::allocator>> const&, DB::Array const&) const @ 0x000000001413d5e2 in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f426 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:48:57.040480 [ 8754 ] {5a51c120-a10d-4c2f-bc46-48c89b74ac98} executeQuery: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53402) (comment: 01422_map_skip_null.sql) (in query: select sumMapWithOverflow(arrayJoin([([1], [null]), ([1], [null])]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:0: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, true, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x0000000012d818ca in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:83: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, true, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x0000000012d7cbf1 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:446: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000012d7b99a in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/Helpers.h:0: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000129a30af in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000fe243de in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 31. ? @ 0x00007f5975bcaac3 in ? 2024.05.01 14:48:57.041730 [ 8754 ] {5a51c120-a10d-4c2f-bc46-48c89b74ac98} TCPHandler: Code: 43. DB::Exception: Values for sumMapWithOverflow cannot be summed, passed type Nullable(Nothing). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:0: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, true, true>::createResultType(std::shared_ptr const&, std::vector, std::allocator>> const&, String const&) @ 0x0000000012d818ca in /usr/bin/clickhouse 4. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:83: DB::AggregateFunctionMapBase, DB::FieldVisitorSum, true, true, true>::AggregateFunctionMapBase(std::shared_ptr const&, std::vector, std::allocator>> const&, std::vector, std::allocator>> const&) @ 0x0000000012d7cbf1 in /usr/bin/clickhouse 5. ./build_docker/./src/AggregateFunctions/AggregateFunctionSumMap.h:446: DB::AggregateFunctionSumMap::AggregateFunctionSumMap(std::shared_ptr const&, std::vector, std::allocator>>&, std::vector, std::allocator>> const&, DB::Array const&) @ 0x0000000012d7b99a in /usr/bin/clickhouse 6. ./build_docker/./src/AggregateFunctions/Helpers.h:0: std::shared_ptr DB::(anonymous namespace)::createAggregateFunctionMap::DispatchOnTupleArgument>(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x00000000129a30af in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>::__call_impl (*)(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*), std::shared_ptr (String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*)>>(std::__function::__policy_storage const*, String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::Settings const*) @ 0x000000000fe243de in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::AggregateFunctionFactory::getImpl(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&, bool) const @ 0x0000000017a6f86d in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionFactory.cpp:113: DB::AggregateFunctionFactory::get(String const&, std::vector, std::allocator>> const&, DB::Array const&, DB::AggregateFunctionProperties&) const @ 0x0000000017a6d7fd in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:582: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65fee in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 31. ? @ 0x00007f5975bcaac3 in ? 2024.05.01 14:49:01.876245 [ 5065 ] {38c1f1f0-dca2-494d-bdbc-f5963f04744d} executeQuery: Code: 73. DB::Exception: Unknown format aaa: While processing formatRow('aaa', number). (UNKNOWN_FORMAT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53528) (comment: 01420_format_row.gen.sql) (in query: -- unknown format select formatRow('aaa', *) from numbers(3);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x000000000a452e92 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b97c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:49:02.260812 [ 5065 ] {38c1f1f0-dca2-494d-bdbc-f5963f04744d} TCPHandler: Code: 73. DB::Exception: Unknown format aaa: While processing formatRow('aaa', number). (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FormatRowOverloadResolver::buildImpl(std::vector> const&, std::shared_ptr const&) const @ 0x000000000a452e92 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b97c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:49:02.268505 [ 17663 ] {8d8b8107-04eb-4255-aaef-1d595696e815} executeQuery: Code: 115. DB::Exception: Unknown setting custom_e: While processing getSetting('custom_e') AS v, toTypeName(v). (UNKNOWN_SETTING) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44736) (comment: 01418_custom_settings.sql) (in query: SELECT getSetting('custom_e') as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:0: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000001806c0b3 in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0x000000000a55c304 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0x000000000a55bf3e in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a55bdc9 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:49:02.272116 [ 17663 ] {8d8b8107-04eb-4255-aaef-1d595696e815} TCPHandler: Code: 115. DB::Exception: Unknown setting custom_e: While processing getSetting('custom_e') AS v, toTypeName(v). (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:0: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000001806c0b3 in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0x000000000a55c304 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0x000000000a55bf3e in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a55bdc9 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:49:02.517445 [ 17663 ] {a440a2ea-4b02-4425-be67-ff39370b59d0} executeQuery: Code: 115. DB::Exception: Setting invalid_custom is neither a builtin setting nor started with the prefix 'SQL_' or 'custom_' registered for user-defined settings. (UNKNOWN_SETTING) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44736) (comment: 01418_custom_settings.sql) (in query: SET invalid_custom = 8;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000017d6d3d8 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:632: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000017d6befa in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:263: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000017ed37e8 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000017ed3b83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x00000000188ebb1a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x000000001960d4c0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:02.520766 [ 17663 ] {a440a2ea-4b02-4425-be67-ff39370b59d0} TCPHandler: Code: 115. DB::Exception: Setting invalid_custom is neither a builtin setting nor started with the prefix 'SQL_' or 'custom_' registered for user-defined settings. (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::CustomSettingsPrefixes::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000017d6d3d8 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/AccessControl.cpp:632: DB::AccessControl::checkSettingNameIsAllowed(std::basic_string_view>) const @ 0x0000000017d6befa in /usr/bin/clickhouse 5. ./build_docker/./src/Access/SettingsConstraints.cpp:263: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000017ed37e8 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000017ed3b83 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x00000000188ebb1a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x000000001960d4c0 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:02.761515 [ 17663 ] {f61de54d-4695-4d8d-8552-e211ca4419b2} executeQuery: Code: 115. DB::Exception: Unknown setting custom_f: While processing getSetting('custom_f') AS v, toTypeName(v). (UNKNOWN_SETTING) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44736) (comment: 01418_custom_settings.sql) (in query: SELECT getSetting('custom_f') as v, toTypeName(v);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:0: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000001806c0b3 in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0x000000000a55c304 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0x000000000a55bf3e in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a55bdc9 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:49:02.762949 [ 17663 ] {f61de54d-4695-4d8d-8552-e211ca4419b2} TCPHandler: Code: 115. DB::Exception: Unknown setting custom_f: While processing getSetting('custom_f') AS v, toTypeName(v). (UNKNOWN_SETTING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Core/BaseSettings.cpp:0: DB::BaseSettingsHelpers::throwSettingNotFound(std::basic_string_view>) @ 0x000000001806c0b3 in /usr/bin/clickhouse 4. DB::BaseSettings::get(std::basic_string_view>) const @ 0x000000000a55c304 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionGetSetting::getValue(std::vector> const&) const @ 0x000000000a55bf3e in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionGetSetting::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a55bdc9 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:49:03.985537 [ 936 ] {043db8d4-02cd-48a6-8152-c5587312ef5f::20191002_2_2_0_3} MutatePlainMergeTreeTask: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 2, 'UInt64' :: 3) -> _CAST(value, 'UInt64') UInt64 : 4': (while reading from part /var/lib/clickhouse/store/043/043db8d4-02cd-48a6-8152-c5587312ef5f/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:49:04.448040 [ 936 ] {043db8d4-02cd-48a6-8152-c5587312ef5f::20191002_2_2_0_3} virtual bool DB::MutatePlainMergeTreeTask::executeStep(): Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 2, 'UInt64' :: 3) -> _CAST(value, 'UInt64') UInt64 : 4': (while reading from part /var/lib/clickhouse/store/043/043db8d4-02cd-48a6-8152-c5587312ef5f/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:49:04.453437 [ 1435 ] {ca492dc7-17b4-4cd3-9cca-8c820e3b97b9} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_3.txt' with part '20191002_2_2_0' reason: 'Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 2, 'UInt64' :: 3) -> _CAST(value, 'UInt64') UInt64 : 4': (while reading from part /var/lib/clickhouse/store/043/043db8d4-02cd-48a6-8152-c5587312ef5f/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44864) (comment: 01414_mutations_and_errors.sql) (in query: ALTER TABLE mutation_table MODIFY COLUMN value UInt64 SETTINGS mutations_sync = 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001aa32f18 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001aa32ccc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001ac74b35 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001ac718ae in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:04.456669 [ 1435 ] {ca492dc7-17b4-4cd3-9cca-8c820e3b97b9} TCPHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_3.txt' with part '20191002_2_2_0' reason: 'Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 2, 'UInt64' :: 3) -> _CAST(value, 'UInt64') UInt64 : 4': (while reading from part /var/lib/clickhouse/store/043/043db8d4-02cd-48a6-8152-c5587312ef5f/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001aa32f18 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001aa32ccc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001ac74b35 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001ac718ae in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:04.715039 [ 1435 ] {8a98ca5e-0edd-425a-a7f8-33055c73b5a0} executeQuery: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 0, 'UInt64' :: 1) -> _CAST(value, 'UInt64') UInt64 : 2': (while reading from part /var/lib/clickhouse/store/043/043db8d4-02cd-48a6-8152-c5587312ef5f/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeThread. (CANNOT_PARSE_TEXT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44864) (comment: 01414_mutations_and_errors.sql) (in query: SELECT distinct(value) FROM mutation_table ORDER BY value;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa9550d in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001aa8405b in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001aa84e68 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001aa814fe in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000001b5ad0ca in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 2024.05.01 14:49:04.721904 [ 1435 ] {8a98ca5e-0edd-425a-a7f8-33055c73b5a0} TCPHandler: Code: 6. DB::Exception: Cannot parse string 'Hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 0, 'UInt64' :: 1) -> _CAST(value, 'UInt64') UInt64 : 2': (while reading from part /var/lib/clickhouse/store/043/043db8d4-02cd-48a6-8152-c5587312ef5f/20191002_2_2_0/ located on disk default of type local): While executing MergeTreeThread. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa9550d in /usr/bin/clickhouse 23. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001aa8405b in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001aa84e68 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001aa814fe in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000001b5ad0ca in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 30. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 31. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 2024.05.01 14:49:07.075927 [ 8758 ] {31d6d7fd-377d-4d4b-843b-eda7da0c7116} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value3` UInt64' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45036) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value3 UInt64;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:07.081294 [ 8758 ] {31d6d7fd-377d-4d4b-843b-eda7da0c7116} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value3` UInt64' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:07.112706 [ 8758 ] {691148d6-856e-4f6c-977d-1bd0e7933c5f} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value1` UInt32' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45036) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value1 UInt32;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:07.115950 [ 8758 ] {691148d6-856e-4f6c-977d-1bd0e7933c5f} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value1` UInt32' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:07.138706 [ 8758 ] {7285489e-a1e8-4325-99f9-ba389d7c90cc} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value4` Date' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45036) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value4 Date;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:07.144095 [ 8758 ] {7285489e-a1e8-4325-99f9-ba389d7c90cc} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value4` Date' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:07.163409 [ 8758 ] {a1597160-d47c-4278-b55f-cf0798630ee4} executeQuery: Code: 524. DB::Exception: The following alter commands: 'DROP COLUMN value4' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45036) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters DROP COLUMN value4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:07.168774 [ 8758 ] {a1597160-d47c-4278-b55f-cf0798630ee4} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'DROP COLUMN value4' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:07.192270 [ 8758 ] {99a31d0a-3885-4051-8faa-ca4b0bec2d15} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value2` Enum8('x' = 5, 'y' = 6)' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45036) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value2 Enum8('x' = 5, 'y' = 6);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:07.195769 [ 8758 ] {99a31d0a-3885-4051-8faa-ca4b0bec2d15} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MODIFY COLUMN `value2` Enum8('x' = 5, 'y' = 6)' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:07.211649 [ 8758 ] {e040678a-551b-4134-bc07-884298a783f2} executeQuery: Code: 524. DB::Exception: The following alter commands: 'RENAME COLUMN value4 TO renamed_value4' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45036) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters RENAME COLUMN value4 TO renamed_value4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:07.215027 [ 8758 ] {e040678a-551b-4134-bc07-884298a783f2} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'RENAME COLUMN value4 TO renamed_value4' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:07.248595 [ 8758 ] {5a6bd5cc-17e7-405e-8c3b-5f1c3facb4ac} executeQuery: Code: 524. DB::Exception: The following alter commands: 'MATERIALIZE TTL' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45036) (comment: 01413_allow_non_metadata_alters.sql) (in query: ALTER TABLE non_metadata_alters MODIFY COLUMN value3 UInt16 TTL value5 + INTERVAL 5 DAY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:07.255865 [ 8758 ] {5a6bd5cc-17e7-405e-8c3b-5f1c3facb4ac} TCPHandler: Code: 524. DB::Exception: The following alter commands: 'MATERIALIZE TTL' will modify data on disk, but setting `allow_non_metadata_alters` is disabled. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a25a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:08.048457 [ 2900 ] {ae7b2f71-8899-494b-a118-036a0a38e714} executeQuery: Code: 43. DB::Exception: Unsupported value type at the right-side of IN: Nullable(Nothing).: While processing arrayFilter(a -> ((a, arrayJoin([])) IN (NULL)), []) AS arr_x. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45098) (comment: 01407_lambda_arrayJoin.sql) (in query: SELECT * FROM system.one ARRAY JOIN arrayFilter((a) -> ((a, arrayJoin([])) IN (NULL)), []) AS arr_x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: auto DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr)::$_0::operator()>(std::shared_ptr const&) const @ 0x0000000018aadca0 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/AllocatorWithMemoryTracking.h:37: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9a743 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa541a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:904: DB::SelectQueryExpressionAnalyzer::appendArrayJoin(DB::ExpressionActionsChain&, std::shared_ptr&, bool) @ 0x0000000018a6b9be in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1881: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7bbfd in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:49:08.049519 [ 2900 ] {ae7b2f71-8899-494b-a118-036a0a38e714} TCPHandler: Code: 43. DB::Exception: Unsupported value type at the right-side of IN: Nullable(Nothing).: While processing arrayFilter(a -> ((a, arrayJoin([])) IN (NULL)), []) AS arr_x. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: auto DB::(anonymous namespace)::createBlockForSet(std::shared_ptr const&, std::shared_ptr const&, std::vector, std::allocator>> const&, std::shared_ptr)::$_0::operator()>(std::shared_ptr const&) const @ 0x0000000018aadca0 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/AllocatorWithMemoryTracking.h:37: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9a743 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa541a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:904: DB::SelectQueryExpressionAnalyzer::appendArrayJoin(DB::ExpressionActionsChain&, std::shared_ptr&, bool) @ 0x0000000018a6b9be in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1881: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7bbfd in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:49:08.546794 [ 11350 ] {6808aca5-ce3a-4b60-ab70-1966c341454a} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45134) (comment: 01397_in_bad_arguments.sql) (in query: select in((1, 1, 1, 1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889af07 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a526 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a48b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a921 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a514 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001952faaa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:08.547827 [ 11350 ] {6808aca5-ce3a-4b60-ab70-1966c341454a} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889af07 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a526 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a48b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a921 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a514 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001952faaa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:08.553963 [ 11350 ] {5d19c8e7-62e9-4ec3-8560-541d01873e93} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45134) (comment: 01397_in_bad_arguments.sql) (in query: select in(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889af07 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a526 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a48b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a921 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a514 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001952faaa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:08.554994 [ 11350 ] {5d19c8e7-62e9-4ec3-8560-541d01873e93} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 1. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889af07 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a526 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a48b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a921 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a514 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001952faaa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:08.560254 [ 11350 ] {73c4a42c-8416-4636-aa2a-b910469f20d7} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45134) (comment: 01397_in_bad_arguments.sql) (in query: select in();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889af07 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a526 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a48b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a921 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a514 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001952faaa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:08.560959 [ 11350 ] {73c4a42c-8416-4636-aa2a-b910469f20d7} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 0. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889af07 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a526 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a48b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a921 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a514 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001952faaa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:08.565770 [ 11350 ] {d73eb29d-ca98-4224-9192-ab447656aea8} executeQuery: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 3. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45134) (comment: 01397_in_bad_arguments.sql) (in query: select in(1, 2, 3);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889af07 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a526 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a48b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a921 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a514 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001952faaa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:08.566463 [ 11350 ] {d73eb29d-ca98-4224-9192-ab447656aea8} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments passed to function in. Expected: 2, passed: 3. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/misc.h:45: DB::ApplyWithSubqueryVisitor::visit(DB::ASTFunction&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889af07 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:29: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a526 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:26: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a48b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:0: DB::ApplyWithSubqueryVisitor::visit(DB::ASTSelectQuery&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a921 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithSubqueryVisitor.cpp:23: DB::ApplyWithSubqueryVisitor::visit(std::shared_ptr&, DB::ApplyWithSubqueryVisitor::Data const&) @ 0x000000001889a514 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001952faaa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:09.368133 [ 17586 ] {7285c1ca-ee57-49d5-bc9c-9fa32406f926} executeQuery: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45192) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` Decimal(38, 10) CODEC(Delta, ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 40540, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 12994, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 567404, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 4655526962, index_granularity_bytes = 3801531, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 34479, primary_key_compress_block_size = 42634), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDelta.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001836ad69 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:09.369324 [ 17586 ] {7285c1ca-ee57-49d5-bc9c-9fa32406f926} TCPHandler: Code: 36. DB::Exception: Codec Delta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDelta.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001836ad69 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:09.500736 [ 17586 ] {b7143e8d-2a31-42da-a81c-7b95bfd288b1} executeQuery: Code: 36. DB::Exception: Codec DoubleDelta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45192) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` Decimal(38, 10) CODEC(DoubleDelta, ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 40540, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 12994, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 567404, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 4655526962, index_granularity_bytes = 3801531, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 34479, primary_key_compress_block_size = 42634), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDoubleDelta.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001839fb69 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:09.501950 [ 17586 ] {b7143e8d-2a31-42da-a81c-7b95bfd288b1} TCPHandler: Code: 36. DB::Exception: Codec DoubleDelta is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDoubleDelta.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001839fb69 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:09.640171 [ 17586 ] {b6f284c6-22af-4e65-b71c-641e233fa71b} executeQuery: Code: 36. DB::Exception: Codec Gorilla is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45192) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` Decimal(38, 10) CODEC(Gorilla, ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 40540, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 12994, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 567404, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 4655526962, index_granularity_bytes = 3801531, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 34479, primary_key_compress_block_size = 42634), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecGorilla.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000183a4449 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:09.641391 [ 17586 ] {b6f284c6-22af-4e65-b71c-641e233fa71b} TCPHandler: Code: 36. DB::Exception: Codec Gorilla is only applicable for data types of size 1, 2, 4, 8 bytes. Given type Decimal(38, 10). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecGorilla.cpp:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000183a4449 in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:09.991387 [ 17586 ] {1b74383e-66fd-4ce8-aff0-6d6895d36212} executeQuery: Code: 433. DB::Exception: Argument value for DoubleDelta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45192) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` UInt64 CODEC(DoubleDelta(3), ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 40540, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 12994, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 567404, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 4655526962, index_granularity_bytes = 3801531, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 34479, primary_key_compress_block_size = 42634), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDoubleDelta.cpp:566: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001839fb0f in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:10.202978 [ 17586 ] {1b74383e-66fd-4ce8-aff0-6d6895d36212} TCPHandler: Code: 433. DB::Exception: Argument value for DoubleDelta codec can be 1, 2, 4 or 8, given 3. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDoubleDelta.cpp:566: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001839fb0f in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:10.203669 [ 8763 ] {46ceb90b-ef10-4717-9efa-17a3131be135} executeQuery: Code: 36. DB::Exception: Dictionary (`default.countryId`) not found. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45232) (comment: 01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS.sql) (in query: SELECT dictGetString(concat('default', '.countryId'), 'country', toUInt64(number)) AS country FROM numbers(2) GROUP BY country;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x0000000019022fff in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x0000000019023602 in /usr/bin/clickhouse 5. DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x00000000084ead7e in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000084e5df4 in /usr/bin/clickhouse 7. DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000850a983 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1570: DB::InterpreterSelectQuery::executeAggregation(DB::QueryPlan&, std::shared_ptr const&, bool, bool, std::shared_ptr) @ 0x000000001954b5a9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x00000000195415f0 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 31. ? @ 0x00007f5975bcaac3 in ? 2024.05.01 14:49:10.206031 [ 8763 ] {46ceb90b-ef10-4717-9efa-17a3131be135} TCPHandler: Code: 36. DB::Exception: Dictionary (`default.countryId`) not found. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::resolveDictionaryName(String const&, String const&) const @ 0x0000000019022fff in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:0: DB::ExternalDictionariesLoader::getDictionaryStructure(String const&, std::shared_ptr) const @ 0x0000000019023602 in /usr/bin/clickhouse 5. DB::FunctionDictHelper::getDictionaryStructure(String const&) const @ 0x00000000084ead7e in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000084e5df4 in /usr/bin/clickhouse 7. DB::FunctionDictGetImpl::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000850a983 in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1570: DB::InterpreterSelectQuery::executeAggregation(DB::QueryPlan&, std::shared_ptr const&, bool, bool, std::shared_ptr) @ 0x000000001954b5a9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x00000000195415f0 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 31. ? @ 0x00007f5975bcaac3 in ? 2024.05.01 14:49:10.351614 [ 17586 ] {264210c4-6697-4a53-a27e-64bb819d49ac} executeQuery: Code: 433. DB::Exception: Gorilla codec argument must be unsigned integer. (ILLEGAL_CODEC_PARAMETER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45192) (comment: 01380_coded_delta_exception_code.sql) (in query: CREATE TABLE delta_codec_synthetic (`id` UInt64 CODEC(Gorilla('hello, world'), ZSTD(22))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 40540, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 12994, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 567404, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 4655526962, index_granularity_bytes = 3801531, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 34479, primary_key_compress_block_size = 42634), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0x0000000008282066 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecGorilla.cpp:468: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000183a41ef in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:10.374457 [ 17586 ] {264210c4-6697-4a53-a27e-64bb819d49ac} TCPHandler: Code: 433. DB::Exception: Gorilla codec argument must be unsigned integer. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [48]) @ 0x0000000008282066 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecGorilla.cpp:468: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x00000000183a41ef in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:10.899633 [ 17586 ] {d74b62d9-1fc6-45bd-b574-9141e9866424} executeQuery: Code: 62. DB::Exception: Invalid qualified name: a. (SYNTAX_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59100) (comment: 01372_remote_table_function_empty_table.sql) (in query: SELECT * FROM remote('127..2', 'a.');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::QualifiedTableName::parseFromString(String const&) @ 0x000000000827d2a0 in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771b2e1 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:10.901052 [ 17586 ] {d74b62d9-1fc6-45bd-b574-9141e9866424} TCPHandler: Code: 62. DB::Exception: Invalid qualified name: a. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::QualifiedTableName::parseFromString(String const&) @ 0x000000000827d2a0 in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:0: DB::TableFunctionRemote::parseArguments(std::shared_ptr const&, std::shared_ptr) @ 0x000000001771b2e1 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:596: DB::TableFunctionFactory::get(std::shared_ptr const&, std::shared_ptr) const @ 0x0000000017a7f000 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1595: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188ef822 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:12.395359 [ 8763 ] {d47c75bb-74b5-47b1-9f67-b4e22cd91fd2} executeQuery: Code: 59. DB::Exception: Invalid type for filter in PREWHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59174) (comment: 01356_wrong_filter-type_bug.sql) (in query: SELECT t0.c2, t0.c1, t0.c0 FROM t0 PREWHERE t0.c0 ORDER BY ((t0.c2)>=(t0.c1)), (((- (((t0.c0)>(t0.c0))))) IS NULL) FORMAT TabSeparatedWithNamesAndTypes;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a73c6a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1859: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7b365 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:12.396640 [ 8763 ] {d47c75bb-74b5-47b1-9f67-b4e22cd91fd2} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in PREWHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendPrewhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a73c6a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1859: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7b365 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:12.531837 [ 8763 ] {aea49a4e-814b-4a15-8d7c-62efe830eb09} executeQuery: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59174) (comment: 01356_wrong_filter-type_bug.sql) (in query: SELECT t0.c2, t0.c1, t0.c0 FROM t0 WHERE t0.c0 ORDER BY ((t0.c2)>=(t0.c1)), (((- (((t0.c0)>(t0.c0))))) IS NULL) FORMAT TabSeparatedWithNamesAndTypes settings optimize_move_to_prewhere=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74437 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:12.532871 [ 8763 ] {aea49a4e-814b-4a15-8d7c-62efe830eb09} TCPHandler: Code: 59. DB::Exception: Invalid type for filter in WHERE: String. (ILLEGAL_TYPE_OF_COLUMN_FOR_FILTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74437 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:13.296338 [ 1524 ] {7f638a7e-ce29-4ff9-b628-8d69db87aa9a} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 GiB (attempt to allocate chunk of 134218616 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40876) (comment: 01514_distributed_cancel_query_on_error.sh) (in query: SELECT groupArray(repeat('a', if((shardNum() AS `_shard_num`) = 2, 100000, 1))), `number` % 100000 AS `k` FROM `system`.`numbers` GROUP BY `k` LIMIT 10000000.), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x00000000106a334d in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:0: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000106d29b2 in /usr/bin/clickhouse 10. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:0: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x00000000106d3c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:1303: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc10b0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb752b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcf73 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:13.502366 [ 1524 ] {7f638a7e-ce29-4ff9-b628-8d69db87aa9a} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.03 GiB (attempt to allocate chunk of 134218616 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x00000000106a334d in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:0: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000106d29b2 in /usr/bin/clickhouse 10. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:0: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x00000000106d3c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:1303: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc10b0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb752b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcf73 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:13.601620 [ 690 ] {7f10631e-2f04-4664-8b33-c2677ee40207} executeQuery: Code: 241. DB::Exception: Received from 127.3:9000. DB::Exception: Memory limit (for query) exceeded: would use 1.03 GiB (attempt to allocate chunk of 134218616 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x00000000106a334d in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:0: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000106d29b2 in /usr/bin/clickhouse 10. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:0: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x00000000106d3c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:1303: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc10b0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb752b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcf73 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48916) (comment: 01514_distributed_cancel_query_on_error.sh) (in query: SELECT groupArray(repeat('a', if(_shard_num == 2, 100000, 1))), number%100000 k from remote('127.{2,3}', system.numbers) GROUP BY k LIMIT 10e6), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 14:49:13.610518 [ 690 ] {7f10631e-2f04-4664-8b33-c2677ee40207} TCPHandler: Code: 241. DB::Exception: Received from 127.3:9000. DB::Exception: Memory limit (for query) exceeded: would use 1.03 GiB (attempt to allocate chunk of 134218616 bytes), maximum: 953.67 MiB.: While executing AggregatingTransform. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::GroupArrayNodeString::allocate(DB::IColumn const&, unsigned long, DB::Arena*) @ 0x00000000106a334d in /usr/bin/clickhouse 9. ./build_docker/./src/AggregateFunctions/AggregateFunctionGroupArray.h:0: DB::GroupArrayGeneralImpl>::add(char*, DB::IColumn const**, unsigned long, DB::Arena*) const @ 0x00000000106d29b2 in /usr/bin/clickhouse 10. ./build_docker/./src/AggregateFunctions/IAggregateFunction.h:0: DB::IAggregateFunctionHelper>>::addBatch(unsigned long, unsigned long, char**, unsigned long, DB::IColumn const**, DB::Arena*, long) const @ 0x00000000106d3c64 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:1303: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc10b0 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb752b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcf73 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? : While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 14:49:13.638266 [ 17919 ] {695e98fc-a5cd-425a-98e5-3b687b9db847} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:55020). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55020) (comment: 01514_distributed_cancel_query_on_error.sh) (in query: SELECT groupArray(repeat('a', if((shardNum() AS `_shard_num`) = 2, 100000, 1))), `number` % 100000 AS `k` FROM `system`.`numbers` GROUP BY `k` LIMIT 10000000.), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:13.761088 [ 17919 ] {695e98fc-a5cd-425a-98e5-3b687b9db847} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:55020). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:49:13.761474 [ 17919 ] {695e98fc-a5cd-425a-98e5-3b687b9db847} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:55020). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08259 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:13.762338 [ 17919 ] {695e98fc-a5cd-425a-98e5-3b687b9db847} TCPHandler: Client has gone away. 2024.05.01 14:49:14.145340 [ 18910 ] {9645db4c-b659-450c-b2cc-91b873079fea} HedgedConnectionsFactory: Connection failed at try â„–1, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.05.01 14:49:14.317181 [ 17586 ] {8ae10575-940f-4082-a7dc-9a637a4fbfd8} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Enum8('hello' = 1, 'world' = 2, 'goodbye' = 3) to type Enum8('hello' = 1, 'world' = 2) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59296) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Enum('hello' = 1, 'world' = 2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:14.317990 [ 17586 ] {8ae10575-940f-4082-a7dc-9a637a4fbfd8} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Enum8('hello' = 1, 'world' = 2, 'goodbye' = 3) to type Enum8('hello' = 1, 'world' = 2) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:14.358540 [ 17586 ] {8991b391-e7dc-4637-bf27-c92e7c83ef91} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Enum8('hello' = 1, 'world' = 2, 'test' = 3) to type Enum8('hello' = 1, 'world' = 2, 'goodbye' = 4) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59296) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Enum('hello' = 1, 'world' = 2, 'goodbye' = 4);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:14.359360 [ 17586 ] {8991b391-e7dc-4637-bf27-c92e7c83ef91} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Enum8('hello' = 1, 'world' = 2, 'test' = 3) to type Enum8('hello' = 1, 'world' = 2, 'goodbye' = 4) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:14.839662 [ 17586 ] {7cd6c20d-7e96-41cf-b3be-4d9ab82300da} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Enum8('' = 1) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59296) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Enum8('' = 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.076161 [ 17586 ] {7cd6c20d-7e96-41cf-b3be-4d9ab82300da} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Enum8('' = 1) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.076288 [ 9609 ] {d91f6049-7f0c-4f23-aad6-887f57c4ca50} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '(' at end of stream.: while converting '' to Tuple(UInt8): While processing tuple(1) < ''. (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59344) (comment: 01329_compare_tuple_string_constant.sql) (in query: SELECT tuple(1) < '';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000000fa711b9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000000fa57af3 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:73: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x00000000186035c2 in /usr/bin/clickhouse 5. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000007c87304 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a17809 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 8. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000be1293d in /usr/bin/clickhouse 9. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bdfa172 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:49:15.077364 [ 9609 ] {d91f6049-7f0c-4f23-aad6-887f57c4ca50} TCPHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '(' at end of stream.: while converting '' to Tuple(UInt8): While processing tuple(1) < ''. (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000000fa711b9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000000fa57af3 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:73: DB::SerializationTuple::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x00000000186035c2 in /usr/bin/clickhouse 5. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000007c87304 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a17809 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 8. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000be1293d in /usr/bin/clickhouse 9. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bdfa172 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:49:15.237722 [ 17586 ] {99f39f43-4624-4863-990e-935f0978c1c5} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Enum16('' = 1) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59296) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Enum16('' = 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.237761 [ 9609 ] {4b5cdd2f-0e25-4006-92a4-1007ea43be1e} executeQuery: Code: 386. DB::Exception: There is no supertype for types Tuple(UInt8), String because some of them are Tuple and some of them are not. (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59344) (comment: 01329_compare_tuple_string_constant.sql) (in query: SELECT tuple(1) < materialize('');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:354: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018561150 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeGeneric(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000be13911 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bdfb601 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 30. ? @ 0x00007f5975bcaac3 in ? 31. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.238536 [ 17586 ] {99f39f43-4624-4863-990e-935f0978c1c5} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Enum16('' = 1) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.238583 [ 9609 ] {4b5cdd2f-0e25-4006-92a4-1007ea43be1e} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Tuple(UInt8), String because some of them are Tuple and some of them are not. (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:354: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018561150 in /usr/bin/clickhouse 5. DB::FunctionComparison::executeGeneric(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x000000000be13911 in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000bdfb601 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 29. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 30. ? @ 0x00007f5975bcaac3 in ? 31. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.253221 [ 17586 ] {8c012f08-54a1-4e4b-9de9-cadc7e397995} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type UInt64 is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59296) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x UInt64;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.253934 [ 17586 ] {8c012f08-54a1-4e4b-9de9-cadc7e397995} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type UInt64 is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.267149 [ 17586 ] {a9e7d50b-c021-4f3f-921a-0ba7835f58de} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type String is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59296) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x String;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.267839 [ 17586 ] {a9e7d50b-c021-4f3f-921a-0ba7835f58de} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type String is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.281012 [ 17586 ] {36f2438d-2999-45a1-a537-c7af35146875} executeQuery: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Nullable(Int64) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59296) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test MODIFY COLUMN x Nullable(Int64);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.281712 [ 17586 ] {36f2438d-2999-45a1-a537-c7af35146875} TCPHandler: Code: 524. DB::Exception: ALTER of partition key column x from type Int8 to type Nullable(Int64) is not safe because it can change the representation of partition key. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85a3a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.378005 [ 17586 ] {f29ccf00-ba1d-41d9-9199-7a700af09d98} executeQuery: Code: 524. DB::Exception: Trying to ALTER RENAME key x column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59296) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test RENAME COLUMN x TO z;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a859d35 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.378938 [ 17586 ] {f29ccf00-ba1d-41d9-9199-7a700af09d98} TCPHandler: Code: 524. DB::Exception: Trying to ALTER RENAME key x column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a859d35 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.388231 [ 17586 ] {bb0433ee-8d1b-40de-9b0b-b1b6a710b85b} executeQuery: Code: 524. DB::Exception: Trying to ALTER RENAME key y column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59296) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test RENAME COLUMN y TO z;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a859d35 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.388829 [ 17586 ] {bb0433ee-8d1b-40de-9b0b-b1b6a710b85b} TCPHandler: Code: 524. DB::Exception: Trying to ALTER RENAME key y column which is a part of key expression. (ALTER_OF_COLUMN_IS_FORBIDDEN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a859d35 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.510052 [ 17586 ] {eb9a0ed1-4c63-459e-9a1c-46cd3aa20bdd} executeQuery: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'x', required columns: 'x' 'x'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59296) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test DROP COLUMN x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997cbc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001a08d2a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001a08cc54 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:949: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d6fb in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.511327 [ 17586 ] {eb9a0ed1-4c63-459e-9a1c-46cd3aa20bdd} TCPHandler: Code: 47. DB::Exception: Missing columns: 'x' while processing query: 'x', required columns: 'x' 'x'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997cbc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001a08d2a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001a08cc54 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:949: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d6fb in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.645211 [ 17586 ] {4247ee5b-cbd1-4a06-8d01-33d0a6896869} executeQuery: Code: 47. DB::Exception: Missing columns: 'y' while processing query: 'y', required columns: 'y' 'y'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59296) (comment: 01344_alter_enum_partition_key.sql) (in query: ALTER TABLE test DROP COLUMN y;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997cbc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001a08d2a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001a08cc54 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:933: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d651 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:15.646198 [ 17586 ] {4247ee5b-cbd1-4a06-8d01-33d0a6896869} TCPHandler: Code: 47. DB::Exception: Missing columns: 'y' while processing query: 'y', required columns: 'y' 'y'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997cbc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001a08d2a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001a08cc54 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:933: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d651 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:16.149333 [ 18910 ] {9645db4c-b659-450c-b2cc-91b873079fea} HedgedConnectionsFactory: Connection failed at try â„–2, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.05.01 14:49:16.724327 [ 2834 ] {e6dcc2e6-5d16-4b8c-8577-0e5c12113bb9} executeQuery: Code: 43. DB::Exception: mapAdd only accepts maps: While processing mapAdd([1], [1]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59508) (comment: 01318_map_add_map_subtract.sql) (in query: -- mapAdd select mapAdd([1], [1]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f5bd27d in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:49:16.725575 [ 2834 ] {e6dcc2e6-5d16-4b8c-8577-0e5c12113bb9} TCPHandler: Code: 43. DB::Exception: mapAdd only accepts maps: While processing mapAdd([1], [1]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f5bd27d in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:49:16.904127 [ 2834 ] {303eea69-3bf8-45b5-9197-1c3f73407ac2} executeQuery: Code: 42. DB::Exception: mapAdd accepts at least two maps or map tuples: While processing mapAdd(([1], [1])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59508) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([1], [1]));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f5bd1d0 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:49:16.905243 [ 2834 ] {303eea69-3bf8-45b5-9197-1c3f73407ac2} TCPHandler: Code: 42. DB::Exception: mapAdd accepts at least two maps or map tuples: While processing mapAdd(([1], [1])). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f5bd1d0 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:49:17.085670 [ 2834 ] {abcdd54c-6b51-4863-afb9-f4be7074b97f} executeQuery: Code: 43. DB::Exception: Expected same UInt8 type for all keys in mapAdd: While processing mapAdd(([1], [1]), map). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59508) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([1], [1]), map) from map_test;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x000000000f62dda7 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f5bc0f1 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:17.086951 [ 2834 ] {abcdd54c-6b51-4863-afb9-f4be7074b97f} TCPHandler: Code: 43. DB::Exception: Expected same UInt8 type for all keys in mapAdd: While processing mapAdd(([1], [1]), map). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x000000000f62dda7 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f5bc0f1 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:17.255003 [ 2834 ] {cd7ae249-93eb-423f-989d-5788166c8caf} executeQuery: Code: 43. DB::Exception: All value types in mapAdd should be promotable to UInt64, got Int64: While processing mapAdd(([toUInt64(1)], [1]), map). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59508) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([toUInt64(1)], [1]), map) from map_test;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x000000000f62de5b in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f5bc0f1 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:17.255992 [ 2834 ] {cd7ae249-93eb-423f-989d-5788166c8caf} TCPHandler: Code: 43. DB::Exception: All value types in mapAdd should be promotable to UInt64, got Int64: While processing mapAdd(([toUInt64(1)], [1]), map). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x000000000f62de5b in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f5bc0f1 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:17.411015 [ 2834 ] {e75ad924-4530-4d93-b1bc-71166de013aa} executeQuery: Code: 42. DB::Exception: Key and value array should have same amount of elements. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59508) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([toUInt64(1), 2], [toInt32(1)]), map) from map_test;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000000f348da6 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f5bae80 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:17.412297 [ 2834 ] {e75ad924-4530-4d93-b1bc-71166de013aa} TCPHandler: Code: 42. DB::Exception: Key and value array should have same amount of elements. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000000f348da6 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f5bae80 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:17.829412 [ 2834 ] {39a8c5ee-fa7e-4dfc-9b66-461500587849} executeQuery: Code: 43. DB::Exception: Illegal column type Float32 for keys in arguments of function mapAdd: While processing mapAdd(([toFloat32(1), 2], [toFloat64(1.1), 1]), ([toFloat32(1), 2], [2.2, 1])) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59508) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([toFloat32(1), 2], [toFloat64(1.1), 1]), ([toFloat32(1), 2], [2.2, 1])) as res, toTypeName(res);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f5bb9b8 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:17.830267 [ 2834 ] {39a8c5ee-fa7e-4dfc-9b66-461500587849} TCPHandler: Code: 43. DB::Exception: Illegal column type Float32 for keys in arguments of function mapAdd: While processing mapAdd(([toFloat32(1), 2], [toFloat64(1.1), 1]), ([toFloat32(1), 2], [2.2, 1])) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f5bb9b8 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:18.003417 [ 2834 ] {855ff3ad-6da6-4fda-874d-1ab0c0eb650b} executeQuery: Code: 43. DB::Exception: All value types in mapAdd should be either or float or integer: While processing mapAdd(([1, 2], [toFloat64(1.1), 1]), ([1, 2], [1, 1])) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59508) (comment: 01318_map_add_map_subtract.sql) (in query: select mapAdd(([1, 2], [toFloat64(1.1), 1]), ([1, 2], [1, 1])) as res, toTypeName(res);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x000000000f62dc91 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f5bc0f1 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:18.004929 [ 2834 ] {855ff3ad-6da6-4fda-874d-1ab0c0eb650b} TCPHandler: Code: 43. DB::Exception: All value types in mapAdd should be either or float or integer: While processing mapAdd(([1, 2], [toFloat64(1.1), 1]), ([1, 2], [1, 1])) AS res, toTypeName(res). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::checkTypes(std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, std::shared_ptr&) const @ 0x000000000f62dc91 in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionMapOp<(DB::(anonymous namespace)::OpTypes)0>::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000f5bc0f1 in /usr/bin/clickhouse 5. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:18.151503 [ 18910 ] {9645db4c-b659-450c-b2cc-91b873079fea} HedgedConnectionsFactory: Connection failed at try â„–3, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.05.01 14:49:18.331133 [ 9609 ] {27d3f922-73d2-4548-adf3-4f754dc78fc8} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort(''). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59596) (comment: 01313_parse_date_time_best_effort_null_zero.sql) (in query: SELECT parseDateTimeBestEffort('');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:98: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000000fa895dc in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:686: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x000000000fa857b4 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x0000000008498558 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008496df5 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:49:18.332339 [ 9609 ] {27d3f922-73d2-4548-adf3-4f754dc78fc8} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTimeBestEffort(''). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:98: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000000fa895dc in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:686: DB::parseDateTimeBestEffort(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x000000000fa857b4 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x0000000008498558 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008496df5 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:49:18.672920 [ 9609 ] {c78ff38d-9c31-4aa4-b1c2-e6d8b52d05e9} executeQuery: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime64BestEffort(''). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59596) (comment: 01313_parse_date_time_best_effort_null_zero.sql) (in query: SELECT parseDateTime64BestEffort('');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:98: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000000fa895dc in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x000000000fa937f2 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x00000000084b1782 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084af86b in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:49:18.674366 [ 9609 ] {c78ff38d-9c31-4aa4-b1c2-e6d8b52d05e9} TCPHandler: Code: 41. DB::ParsingException: Cannot read DateTime: neither Date nor Time was parsed successfully: While processing parseDateTime64BestEffort(''). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:98: void DB::(anonymous namespace)::parseDateTimeBestEffortImpl(long&, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&, DB::(anonymous namespace)::DateTimeSubsecondPart*) @ 0x000000000fa895dc in /usr/bin/clickhouse 4. ./build_docker/./src/IO/parseDateTimeBestEffort.cpp:0: DB::parseDateTime64BestEffort(DB::DateTime64&, unsigned int, DB::ReadBuffer&, DateLUTImpl const&, DateLUTImpl const&) @ 0x000000000fa937f2 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x00000000084b1782 in /usr/bin/clickhouse 6. DB::FunctionConvertFromString::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084af86b in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:49:18.897905 [ 9609 ] {1ad412dc-a11e-48a3-9dd0-803daa53fa4a} executeQuery: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing toDateTime(''). (CANNOT_PARSE_DATETIME) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59596) (comment: 01313_parse_date_time_best_effort_null_zero.sql) (in query: SELECT toDateTime('');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000fa6f30b in /usr/bin/clickhouse 4. void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x0000000007f873b9 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f870c3 in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f6e688 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f6d012 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f6c0e0 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:49:18.899104 [ 9609 ] {1ad412dc-a11e-48a3-9dd0-803daa53fa4a} TCPHandler: Code: 41. DB::ParsingException: Cannot parse datetime: Cannot parse DateTime from String: While processing toDateTime(''). (CANNOT_PARSE_DATETIME), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:1218: void DB::readDateTimeTextFallback(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x000000000fa6f30b in /usr/bin/clickhouse 4. void DB::readDateTimeTextImpl(long&, DB::ReadBuffer&, DateLUTImpl const&) @ 0x0000000007f873b9 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::ConvertThroughParsing::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007f870c3 in /usr/bin/clickhouse 6. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007f6e688 in /usr/bin/clickhouse 7. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f6d012 in /usr/bin/clickhouse 8. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007f6c0e0 in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:49:19.218707 [ 9610 ] {ad37bc60-6bea-4abe-9d55-766f7d727b30} executeQuery: Code: 53. DB::Exception: Cannot convert string 1.0 to type UInt8: While processing 1 = '1.0'. (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59626) (comment: 01311_comparison_with_constant_string.sql) (in query: -- it should work but it doesn't. SELECT 1 = '1.0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a184aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f4d87d in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35132 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:49:19.219728 [ 9610 ] {ad37bc60-6bea-4abe-9d55-766f7d727b30} TCPHandler: Code: 53. DB::Exception: Cannot convert string 1.0 to type UInt8: While processing 1 = '1.0'. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a184aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f4d87d in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35132 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:49:19.632630 [ 9610 ] {7c36dee9-aa40-420c-b983-ab4be6636abb} executeQuery: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to UInt8: While processing 0 = ''. (ATTEMPT_TO_READ_AFTER_EOF) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59626) (comment: 01311_comparison_with_constant_string.sql) (in query: SELECT 0 = '';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [26]) @ 0x0000000007fbb7e6 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x000000000fa7b595 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: void DB::readIntTextUnsafe(unsigned long&, DB::ReadBuffer&) @ 0x00000000185ceced in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:433: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x00000000185ce898 in /usr/bin/clickhouse 6. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000007c87304 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a17809 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 9. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f4d87d in /usr/bin/clickhouse 10. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35132 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:49:19.782687 [ 9610 ] {7c36dee9-aa40-420c-b983-ab4be6636abb} TCPHandler: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to UInt8: While processing 0 = ''. (ATTEMPT_TO_READ_AFTER_EOF), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [26]) @ 0x0000000007fbb7e6 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x000000000fa7b595 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadHelpers.h:0: void DB::readIntTextUnsafe(unsigned long&, DB::ReadBuffer&) @ 0x00000000185ceced in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:433: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x00000000185ce898 in /usr/bin/clickhouse 6. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000007c87304 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a17809 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 9. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f4d87d in /usr/bin/clickhouse 10. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35132 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:49:19.782859 [ 8763 ] {4d746306-ddcf-4d1a-8b86-00a750ba3e97} executeQuery: Code: 36. DB::Exception: Unknown geometry type Array(Nothing): While processing polygonAreaCartesian([]). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59642) (comment: 01308_polygon_area.sql) (in query: SELECT polygonAreaCartesian([]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionPolygonArea>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dcaf100 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:19.784342 [ 8763 ] {4d746306-ddcf-4d1a-8b86-00a750ba3e97} TCPHandler: Code: 36. DB::Exception: Unknown geometry type Array(Nothing): While processing polygonAreaCartesian([]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionPolygonArea>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000dcaf100 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:20.154052 [ 18910 ] {9645db4c-b659-450c-b2cc-91b873079fea} HedgedConnectionsFactory: Connection failed at try â„–4, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.05.01 14:49:22.157791 [ 18910 ] {9645db4c-b659-450c-b2cc-91b873079fea} HedgedConnectionsFactory: Connection failed at try â„–5, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.05.01 14:49:22.164688 [ 9610 ] {5110151c-3b4f-492a-b5c9-86a24139e3d0} executeQuery: Code: 433. DB::Exception: Delta codec argument must be unsigned integer. (ILLEGAL_CODEC_PARAMETER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34538) (comment: 01296_codecs_bad_arguments.sql) (in query: CREATE TABLE delta_table (`id` UInt64 CODEC(Delta(tuple()))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 39495, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 19078, prefer_fetch_merged_part_size_threshold = 9538037286, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 24235237, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 91326, primary_key_compress_block_size = 9904), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000827e626 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDelta.cpp:207: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001836ab0f in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:22.165741 [ 9610 ] {5110151c-3b4f-492a-b5c9-86a24139e3d0} TCPHandler: Code: 433. DB::Exception: Delta codec argument must be unsigned integer. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [46]) @ 0x000000000827e626 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecDelta.cpp:207: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001836ab0f in /usr/bin/clickhouse 4. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:22.294860 [ 9610 ] {e9838c70-70cd-469f-954f-a1dda36f7e96} executeQuery: Code: 433. DB::Exception: ZSTD codec argument must be integer. (ILLEGAL_CODEC_PARAMETER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34538) (comment: 01296_codecs_bad_arguments.sql) (in query: CREATE TABLE zstd_table (`id` UInt64 CODEC(ZSTD(tuple()))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 39495, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 19078, prefer_fetch_merged_part_size_threshold = 9538037286, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 24235237, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 91326, primary_key_compress_block_size = 9904), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecZSTD.cpp:124: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018366b5d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001835f3bb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:22.295855 [ 9610 ] {e9838c70-70cd-469f-954f-a1dda36f7e96} TCPHandler: Code: 433. DB::Exception: ZSTD codec argument must be integer. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecZSTD.cpp:124: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018366b5d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001835f3bb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:22.411991 [ 9610 ] {f29fbad6-fd09-4569-96cf-8c49a3332384} executeQuery: Code: 433. DB::Exception: LZ4HC codec argument must be integer. (ILLEGAL_CODEC_PARAMETER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34538) (comment: 01296_codecs_bad_arguments.sql) (in query: CREATE TABLE lz4_table (`id` UInt64 CODEC(LZ4HC(tuple()))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 39495, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 19078, prefer_fetch_merged_part_size_threshold = 9538037286, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 24235237, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 91326, primary_key_compress_block_size = 9904), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [37]) @ 0x0000000008faa226 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecLZ4.cpp:134: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x00000000183655f5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001835f3bb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:22.413313 [ 9610 ] {f29fbad6-fd09-4569-96cf-8c49a3332384} TCPHandler: Code: 433. DB::Exception: LZ4HC codec argument must be integer. (ILLEGAL_CODEC_PARAMETER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [37]) @ 0x0000000008faa226 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionCodecLZ4.cpp:134: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x00000000183655f5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001835f3bb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:22.548062 [ 9610 ] {73239161-8590-4337-8d34-12d8110afc81} executeQuery: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34538) (comment: 01296_codecs_bad_arguments.sql) (in query: CREATE TABLE lz4_table (`id` UInt64 CODEC(LZ4(tuple()))) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 39495, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 19078, prefer_fetch_merged_part_size_threshold = 9538037286, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 24235237, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 91326, primary_key_compress_block_size = 9904), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionFactory.cpp:160: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_0, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001835f782 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001835f3bb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:22.549186 [ 9610 ] {73239161-8590-4337-8d34-12d8110afc81} TCPHandler: Code: 378. DB::Exception: Compression codec LZ4 cannot have arguments. (DATA_TYPE_CANNOT_HAVE_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Compression/CompressionFactory.cpp:160: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl, std::function ()>)::$_0, std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x000000001835f782 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&, DB::IDataType const*)>::__call_impl, std::function (std::shared_ptr const&)>)::$_0, std::shared_ptr (std::shared_ptr const&, DB::IDataType const*)>>(std::__function::__policy_storage const*, std::shared_ptr const&, DB::IDataType const*) @ 0x000000001835f3bb in /usr/bin/clickhouse 5. ./build_docker/./src/Compression/CompressionFactory.cpp:0: DB::CompressionCodecFactory::getImpl(String const&, std::shared_ptr const&, DB::IDataType const*) const @ 0x000000001835e064 in /usr/bin/clickhouse 6. ./build_docker/./src/Compression/CompressionFactoryAdditions.cpp:135: void std::__function::__policy_invoker::__call_impl const&, std::shared_ptr const&, bool, bool, bool) const::$_0, void (DB::ISerialization::SubstreamPath const&)>>(std::__function::__policy_storage const*, DB::ISerialization::SubstreamPath const&) @ 0x000000001938ce92 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1613: DB::ISerialization::enumerateStreams(DB::ISerialization::EnumerateStreamsSettings&, std::function const&, DB::ISerialization::SubstreamData const&) const @ 0x0000000018573d50 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ISerialization::enumerateStreams(std::function const&, std::shared_ptr const&, COW::immutable_ptr const&) const @ 0x0000000018573ff6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:100: DB::CompressionCodecFactory::validateCodecAndGetPreprocessedAST(std::shared_ptr const&, std::shared_ptr const&, bool, bool, bool) const @ 0x000000001938b991 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929b1e6 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:23.217178 [ 1145 ] {5bce75ed-5666-41f0-8109-61b9a665bd74} executeQuery: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing toIntervalSecond(now64()). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34592) (comment: 01291_unsupported_conversion_from_decimal.sql) (in query: SELECT toIntervalSecond(now64());), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000806d4d8 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000805f849 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805e626 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805d900 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:49:23.218259 [ 1145 ] {5bce75ed-5666-41f0-8109-61b9a665bd74} TCPHandler: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing toIntervalSecond(now64()). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000806d4d8 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000805f849 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805e626 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805d900 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:49:23.384183 [ 1145 ] {784b1cd3-04bb-4d50-8ed9-0e0a77998d76} executeQuery: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing CAST(now64(), 'IntervalSecond'). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34592) (comment: 01291_unsupported_conversion_from_decimal.sql) (in query: SELECT CAST(now64() AS IntervalSecond);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000806d4d8 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000805f849 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805e626 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805d900 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 12. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000810c77f in /usr/bin/clickhouse 13. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 14. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 2024.05.01 14:49:23.385274 [ 1145 ] {784b1cd3-04bb-4d50-8ed9-0e0a77998d76} TCPHandler: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing CAST(now64(), 'IntervalSecond'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000806d4d8 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000805f849 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805e626 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805d900 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 12. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000810c77f in /usr/bin/clickhouse 13. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 14. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 2024.05.01 14:49:23.393474 [ 1145 ] {550d93fb-d323-4f93-9d2e-6e7f2e476172} executeQuery: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing toIntervalSecond(now64()). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34592) (comment: 01291_unsupported_conversion_from_decimal.sql) (in query: SELECT toIntervalSecond(now64());), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000806d4d8 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000805f849 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805e626 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805d900 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:49:23.394373 [ 1145 ] {550d93fb-d323-4f93-9d2e-6e7f2e476172} TCPHandler: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing toIntervalSecond(now64()). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000806d4d8 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000805f849 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805e626 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805d900 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 14:49:23.402447 [ 1145 ] {0e872195-ce9d-4aec-8bd9-1d5eccc4c33c} executeQuery: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing CAST(now64(), 'IntervalSecond'). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34592) (comment: 01291_unsupported_conversion_from_decimal.sql) (in query: SELECT CAST(now64() AS IntervalSecond);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000806d4d8 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000805f849 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805e626 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805d900 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 12. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000810c77f in /usr/bin/clickhouse 13. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 14. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 2024.05.01 14:49:23.403397 [ 1145 ] {0e872195-ce9d-4aec-8bd9-1d5eccc4c33c} TCPHandler: Code: 70. DB::Exception: Unsupported data type in conversion function: While processing CAST(now64(), 'IntervalSecond'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. COW::immutable_ptr DB::ConvertImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x000000000806d4d8 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x000000000805f849 in /usr/bin/clickhouse 5. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805e626 in /usr/bin/clickhouse 6. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000805d900 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 12. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x000000000810c77f in /usr/bin/clickhouse 13. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 14. DB::IExecutableFunction::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c92ac4 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 19. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 2024.05.01 14:49:24.159726 [ 18910 ] {9645db4c-b659-450c-b2cc-91b873079fea} HedgedConnectionsFactory: Connection failed at try â„–6, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.05.01 14:49:24.664226 [ 9616 ] {d8d8ca00-7168-4a16-80ec-66c4a68b6d47} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_uh39lhjv.default_constraints (25b967e8-3af1-48b1-a3a7-2052508f9b34) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34682) (comment: 01286_constraints_on_default.sql) (in query: INSERT INTO default_constraints (x) SELECT number FROM system.numbers LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:24.665617 [ 9616 ] {d8d8ca00-7168-4a16-80ec-66c4a68b6d47} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_uh39lhjv.default_constraints (25b967e8-3af1-48b1-a3a7-2052508f9b34) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:24.682518 [ 9616 ] {8df605a1-3c79-4dd5-86f0-8a26bc015911} executeQuery: Code: 469. DB::Exception: Constraint `c` for table test_uh39lhjv.default_constraints (25b967e8-3af1-48b1-a3a7-2052508f9b34) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34682) (comment: 01286_constraints_on_default.sql) (in query: INSERT INTO default_constraints (x) VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:24.683651 [ 9616 ] {8df605a1-3c79-4dd5-86f0-8a26bc015911} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table test_uh39lhjv.default_constraints (25b967e8-3af1-48b1-a3a7-2052508f9b34) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:24.869031 [ 9616 ] {a139e326-e6a2-46a1-be3b-2c26a1269d26} executeQuery: Code: 469. DB::Exception: Constraint `c` for table _temporary_and_external_tables.`_tmp_a50cf0d3-2d7a-4bdb-b470-ccf32a61c9c0` (a50cf0d3-2d7a-4bdb-b470-ccf32a61c9c0) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34682) (comment: 01286_constraints_on_default.sql) (in query: INSERT INTO default_constraints (x) SELECT number FROM system.numbers LIMIT 5;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:24.869861 [ 9616 ] {a139e326-e6a2-46a1-be3b-2c26a1269d26} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table _temporary_and_external_tables.`_tmp_a50cf0d3-2d7a-4bdb-b470-ccf32a61c9c0` (a50cf0d3-2d7a-4bdb-b470-ccf32a61c9c0) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:24.880803 [ 9616 ] {7c7ce67d-992e-4053-bdb1-99a807f64d42} executeQuery: Code: 469. DB::Exception: Constraint `c` for table _temporary_and_external_tables.`_tmp_a50cf0d3-2d7a-4bdb-b470-ccf32a61c9c0` (a50cf0d3-2d7a-4bdb-b470-ccf32a61c9c0) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34682) (comment: 01286_constraints_on_default.sql) (in query: INSERT INTO default_constraints (x) VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:24.881413 [ 9616 ] {7c7ce67d-992e-4053-bdb1-99a807f64d42} TCPHandler: Code: 469. DB::Exception: Constraint `c` for table _temporary_and_external_tables.`_tmp_a50cf0d3-2d7a-4bdb-b470-ccf32a61c9c0` (a50cf0d3-2d7a-4bdb-b470-ccf32a61c9c0) is violated at row 5. Expression: (y < 5). Column values: y = 5. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:26.162056 [ 18910 ] {9645db4c-b659-450c-b2cc-91b873079fea} HedgedConnectionsFactory: Connection failed at try â„–7, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.05.01 14:49:26.531728 [ 9605 ] {4e80d21d-52f7-441f-9072-a13c412ffdb5} executeQuery: Code: 43. DB::Exception: Second argument of function fuzzBits must be constant float: While processing fuzzBits(toString('string'), 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34766) (comment: 01284_fuzz_bits.sql) (in query: SELECT fuzzBits(toString('string'), 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFuzzBits::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a47b215 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:49:26.618914 [ 9616 ] {de592e42-0383-42aa-957a-818405c68d6a} executeQuery: Code: 48. DB::Exception: Cannot rename and modify the same column `value1_string` in a single ALTER query. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34780) (comment: 01281_alter_rename_and_other_renames.sql) (in query: ALTER TABLE rename_table_multiple RENAME COLUMN value1 TO value1_string, MODIFY COLUMN value1_string String;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a022d46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:26.618894 [ 9605 ] {4e80d21d-52f7-441f-9072-a13c412ffdb5} TCPHandler: Code: 43. DB::Exception: Second argument of function fuzzBits must be constant float: While processing fuzzBits(toString('string'), 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFuzzBits::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a47b215 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:49:26.619859 [ 9616 ] {de592e42-0383-42aa-957a-818405c68d6a} TCPHandler: Code: 48. DB::Exception: Cannot rename and modify the same column `value1_string` in a single ALTER query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a022d46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:26.762819 [ 9616 ] {5d6559c2-abb8-41f0-9dcc-7d8ba2a5f4f2} executeQuery: Code: 48. DB::Exception: Cannot rename and modify the same column `value1` in a single ALTER query. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34780) (comment: 01281_alter_rename_and_other_renames.sql) (in query: ALTER TABLE rename_table_multiple MODIFY COLUMN value1 String, RENAME COLUMN value1 to value1_string;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a022ae9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:26.980581 [ 9616 ] {5d6559c2-abb8-41f0-9dcc-7d8ba2a5f4f2} TCPHandler: Code: 48. DB::Exception: Cannot rename and modify the same column `value1` in a single ALTER query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a022ae9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:26.982531 [ 9605 ] {5d5c3e4d-7f7f-407f-a66b-a459cbe5dd25} executeQuery: Code: 69. DB::Exception: Second argument of function fuzzBits must be from `0.0` to `1.0`: While processing fuzzBits('string', -1.). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34766) (comment: 01284_fuzz_bits.sql) (in query: SELECT fuzzBits('string', -1.0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFuzzBits::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a47ac87 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:26.983661 [ 9605 ] {5d5c3e4d-7f7f-407f-a66b-a459cbe5dd25} TCPHandler: Code: 69. DB::Exception: Second argument of function fuzzBits must be from `0.0` to `1.0`: While processing fuzzBits('string', -1.). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionFuzzBits::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a47ac87 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:27.426804 [ 9616 ] {7e752cc1-c21a-4381-8763-6a2d903191e6} executeQuery: Code: 48. DB::Exception: Cannot rename and modify the same column `value1_string` in a single ALTER query. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34780) (comment: 01281_alter_rename_and_other_renames.sql) (in query: ALTER TABLE rename_table_multiple_compact RENAME COLUMN value1 TO value1_string, MODIFY COLUMN value1_string String;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a022d46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:27.427663 [ 9616 ] {7e752cc1-c21a-4381-8763-6a2d903191e6} TCPHandler: Code: 48. DB::Exception: Cannot rename and modify the same column `value1_string` in a single ALTER query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a022d46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:27.434462 [ 9616 ] {3b68fcee-c5a3-4ef0-9f38-100c0cf75597} executeQuery: Code: 48. DB::Exception: Cannot rename and modify the same column `value1` in a single ALTER query. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34780) (comment: 01281_alter_rename_and_other_renames.sql) (in query: ALTER TABLE rename_table_multiple_compact MODIFY COLUMN value1 String, RENAME COLUMN value1 to value1_string;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a022ae9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:27.435686 [ 9616 ] {3b68fcee-c5a3-4ef0-9f38-100c0cf75597} TCPHandler: Code: 48. DB::Exception: Cannot rename and modify the same column `value1` in a single ALTER query. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a022ae9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:28.164016 [ 18910 ] {9645db4c-b659-450c-b2cc-91b873079fea} HedgedConnectionsFactory: Connection failed at try â„–8, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.05.01 14:49:29.069100 [ 1435 ] {8663dcf7-0df1-4375-ab9d-e38da510815a} executeQuery: Code: 43. DB::Exception: First argument of function randomStringUTF8 must have numeric type: While processing randomStringUTF8('string'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34874) (comment: 01278_random_string_utf8.sql) (in query: SELECT randomStringUTF8('string');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomStringUTF8::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e3b143e in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:49:29.070366 [ 1435 ] {8663dcf7-0df1-4375-ab9d-e38da510815a} TCPHandler: Code: 43. DB::Exception: First argument of function randomStringUTF8 must have numeric type: While processing randomStringUTF8('string'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomStringUTF8::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e3b143e in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:49:29.899772 [ 17927 ] {3d06cc21-a32e-4fe5-8b6c-72677abd3eff} executeQuery: Code: 43. DB::Exception: First argument for function randomFixedString must be unsigned integer: While processing randomFixedString('string'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34916) (comment: 01277_random_fixed_string.sql) (in query: SELECT randomFixedString('string');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e3ab3ea in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:49:29.901244 [ 17927 ] {3d06cc21-a32e-4fe5-8b6c-72677abd3eff} TCPHandler: Code: 43. DB::Exception: First argument for function randomFixedString must be unsigned integer: While processing randomFixedString('string'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e3ab3ea in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:49:30.090460 [ 17927 ] {6fc3e57d-30d1-4b80-b8ac-c320f9b9151d} executeQuery: Code: 69. DB::Exception: FixedString size must be positive: While processing randomFixedString(0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34916) (comment: 01277_random_fixed_string.sql) (in query: SELECT randomFixedString(0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x0000000008285e06 in /usr/bin/clickhouse 3. DB::DataTypeFixedString::DataTypeFixedString(unsigned long) @ 0x0000000008357623 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, void>(std::allocator const&, unsigned long const&) @ 0x00000000083723ea in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e3ab2b5 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:30.091550 [ 17927 ] {6fc3e57d-30d1-4b80-b8ac-c320f9b9151d} TCPHandler: Code: 69. DB::Exception: FixedString size must be positive: While processing randomFixedString(0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [34]) @ 0x0000000008285e06 in /usr/bin/clickhouse 3. DB::DataTypeFixedString::DataTypeFixedString(unsigned long) @ 0x0000000008357623 in /usr/bin/clickhouse 4. std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, void>(std::allocator const&, unsigned long const&) @ 0x00000000083723ea in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e3ab2b5 in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:30.166905 [ 18910 ] {9645db4c-b659-450c-b2cc-91b873079fea} HedgedConnectionsFactory: Connection failed at try â„–9, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.05.01 14:49:30.312203 [ 17927 ] {ca65e6ea-f90a-424a-9477-6b64336a24d6} executeQuery: Code: 44. DB::Exception: First argument for function randomFixedString must be constant: While processing randomFixedString(rand() % 10). (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34916) (comment: 01277_random_fixed_string.sql) (in query: SELECT randomFixedString(rand() % 10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e3ab347 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:49:30.313393 [ 17927 ] {ca65e6ea-f90a-424a-9477-6b64336a24d6} TCPHandler: Code: 44. DB::Exception: First argument for function randomFixedString must be constant: While processing randomFixedString(rand() % 10). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionRandomFixedStringImpl::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e3ab347 in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:49:32.173030 [ 18910 ] {9645db4c-b659-450c-b2cc-91b873079fea} HedgedConnectionsFactory: Connection failed at try â„–10, reason: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) 2024.05.01 14:49:32.378126 [ 18910 ] {9645db4c-b659-450c-b2cc-91b873079fea} executeQuery: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.11.29.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59164) (comment: 01361_fover_remote_num_tries.sh) (in query: SELECT hostName() FROM remote('128.1.2.3', default.tmp)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001a4b3a99 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4b0f86 in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001771fcfd in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001771eafe in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:32.388612 [ 18910 ] {9645db4c-b659-450c-b2cc-91b873079fea} TCPHandler: Code: 519. DB::NetException: All attempts to get table structure failed. Log: Code: 279. DB::NetException: All connection tries failed. Log: Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) Timeout exceeded while connecting to socket (128.1.2.3:9000, connection timeout 2000 ms) . (ALL_CONNECTION_TRIES_FAILED) (version 23.8.11.29.altinitystable (altinity build)) . (NO_REMOTE_SHARD_AVAILABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001a4b3a99 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/getStructureOfRemoteTable.cpp:166: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4b0f86 in /usr/bin/clickhouse 4. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001771fcfd in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001771eafe in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:33.284392 [ 17663 ] {a4bd546a-51e7-4024-b878-7bd021240adf} executeQuery: Code: 469. DB::Exception: Constraint `cs_value2` for table test_6gn87rve.table_for_rename (7ebf727c-5618-430b-a060-aa2191f6e763) is violated at row 1. Expression: (toInt64(value2) < toInt64(value3)). Column values: value2 = '1', value3 = '0'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38504) (comment: 01277_alter_rename_column_constraint.sql) (in query: INSERT INTO table_for_rename SELECT toDate('2019-10-01') + number % 3, number, toString(number), toString(number + 1), toString(number) from numbers(9);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:33.286688 [ 17663 ] {a4bd546a-51e7-4024-b878-7bd021240adf} TCPHandler: Code: 469. DB::Exception: Constraint `cs_value2` for table test_6gn87rve.table_for_rename (7ebf727c-5618-430b-a060-aa2191f6e763) is violated at row 1. Expression: (toInt64(value2) < toInt64(value3)). Column values: value2 = '1', value3 = '0'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:33.799001 [ 17663 ] {62f7a30a-2e5f-41d5-ae45-ec13a1f95ec8} executeQuery: Code: 469. DB::Exception: Constraint `cs_value2` for table test_6gn87rve.table_for_rename (7ebf727c-5618-430b-a060-aa2191f6e763) is violated at row 1. Expression: (toInt64(value5) < toInt64(value3)). Column values: value5 = '11', value3 = '10'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38504) (comment: 01277_alter_rename_column_constraint.sql) (in query: INSERT INTO table_for_rename SELECT toDate('2019-10-01') + number % 3, number, toString(number), toString(number + 1), toString(number) from numbers(10, 10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:33.800610 [ 17663 ] {62f7a30a-2e5f-41d5-ae45-ec13a1f95ec8} TCPHandler: Code: 469. DB::Exception: Constraint `cs_value2` for table test_6gn87rve.table_for_rename (7ebf727c-5618-430b-a060-aa2191f6e763) is violated at row 1. Expression: (toInt64(value5) < toInt64(value3)). Column values: value5 = '11', value3 = '10'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:34.598026 [ 17663 ] {6c105df7-1041-4c69-be94-4eef610e9e42} executeQuery: Code: 469. DB::Exception: Constraint `cs_value1` for table test_6gn87rve.table_for_rename (7ebf727c-5618-430b-a060-aa2191f6e763) is violated at row 1. Expression: (toInt64(value1) < toInt64(value2)). Column values: value1 = '20', value2 = '20'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38504) (comment: 01277_alter_rename_column_constraint.sql) (in query: INSERT INTO table_for_rename SELECT toDate('2019-10-01') + number % 3, number, toString(number), toString(number), toString(number + 2) from numbers(20, 10);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:34.600112 [ 17663 ] {6c105df7-1041-4c69-be94-4eef610e9e42} TCPHandler: Code: 469. DB::Exception: Constraint `cs_value1` for table test_6gn87rve.table_for_rename (7ebf727c-5618-430b-a060-aa2191f6e763) is violated at row 1. Expression: (toInt64(value1) < toInt64(value2)). Column values: value1 = '20', value2 = '20'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:36.317829 [ 1435 ] {9222df8e-a218-4a56-9a55-6aff71ca2eee} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38614) (comment: 01277_toUnixTimestamp64.sql) (in query: -- Error cases SELECT toUnixTimestamp64Milli();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:36.318832 [ 1435 ] {9222df8e-a218-4a56-9a55-6aff71ca2eee} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Milli(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:36.367652 [ 1435 ] {eb46a9e6-a351-48c4-9d91-e38799bc5b8d} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38614) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Micro();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:36.375726 [ 1435 ] {eb46a9e6-a351-48c4-9d91-e38799bc5b8d} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Micro(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:36.386734 [ 1435 ] {3068e17e-a5a4-4742-87f0-01286b8fc207} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38614) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Nano();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:36.388851 [ 1435 ] {3068e17e-a5a4-4742-87f0-01286b8fc207} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 0, should be 1: While processing toUnixTimestamp64Nano(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:36.581732 [ 1435 ] {5dc19aa9-6fbd-4dc9-a29c-8c53557dcf1a} executeQuery: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Milli must be DateTime64: While processing toUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38614) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Milli('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6c825c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:49:36.586436 [ 1435 ] {5dc19aa9-6fbd-4dc9-a29c-8c53557dcf1a} TCPHandler: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Milli must be DateTime64: While processing toUnixTimestamp64Milli('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6c825c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:49:36.618969 [ 1435 ] {c09ab291-c6e7-4d33-b4bd-8c6bf52d6b22} executeQuery: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Micro must be DateTime64: While processing toUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38614) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Micro('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6c825c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:49:36.620485 [ 1435 ] {c09ab291-c6e7-4d33-b4bd-8c6bf52d6b22} TCPHandler: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Micro must be DateTime64: While processing toUnixTimestamp64Micro('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6c825c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:49:36.629124 [ 1435 ] {68719576-ebc5-419a-9558-1d1d6499e699} executeQuery: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Nano must be DateTime64: While processing toUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38614) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Nano('abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6c825c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:49:36.630416 [ 1435 ] {68719576-ebc5-419a-9558-1d1d6499e699} TCPHandler: Code: 43. DB::Exception: The only argument for function toUnixTimestamp64Nano must be DateTime64: While processing toUnixTimestamp64Nano('abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. DB::FunctionToUnixTimestamp64::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6c825c in /usr/bin/clickhouse 4. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 2024.05.01 14:49:36.645383 [ 1435 ] {a502121b-a42d-4eba-a0e3-8da2589a801f} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Milli('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38614) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Milli('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:36.648845 [ 1435 ] {a502121b-a42d-4eba-a0e3-8da2589a801f} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Milli doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Milli('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:36.666103 [ 1435 ] {91b6bf65-d212-4d11-953c-f04f5168234a} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Micro('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38614) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Micro('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:36.667189 [ 1435 ] {91b6bf65-d212-4d11-953c-f04f5168234a} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Micro doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Micro('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:36.676376 [ 1435 ] {c2ba72e8-520b-4334-9c6e-4e8ade4db2ad} executeQuery: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Nano('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38614) (comment: 01277_toUnixTimestamp64.sql) (in query: SELECT toUnixTimestamp64Nano('abc', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:36.677595 [ 1435 ] {c2ba72e8-520b-4334-9c6e-4e8ade4db2ad} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toUnixTimestamp64Nano doesn't match: passed 2, should be 1: While processing toUnixTimestamp64Nano('abc', 123). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:37.625194 [ 1435 ] {9d8d7421-95b7-4e39-b92c-dcc521c06823} executeQuery: Code: 36. DB::Exception: extractGroups length of 'needle' argument must be greater than 0.: While processing extractGroups('hello', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38646) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b9f13 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:37.626731 [ 1435 ] {9d8d7421-95b7-4e39-b92c-dcc521c06823} TCPHandler: Code: 36. DB::Exception: extractGroups length of 'needle' argument must be greater than 0.: While processing extractGroups('hello', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b9f13 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:37.837251 [ 1435 ] {93c8ca9f-345a-46de-be21-2578a8f755cf} executeQuery: Code: 36. DB::Exception: Length of 'needle' argument must be greater than 0.: While processing extractAllGroups('hello', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38646) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [52]) @ 0x00000000087c28e6 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b80d9 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:37.838596 [ 1435 ] {93c8ca9f-345a-46de-be21-2578a8f755cf} TCPHandler: Code: 36. DB::Exception: Length of 'needle' argument must be greater than 0.: While processing extractAllGroups('hello', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [52]) @ 0x00000000087c28e6 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b80d9 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:38.036426 [ 1435 ] {1bccd521-bda7-4f24-9850-3a7879fe0c8d} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractGroups('hello', ' '). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38646) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', ' ');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b9fa5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.036499 [ 8776 ] {9c24b776-3ed7-42ee-b51b-252877213590} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 0, should be 2: While processing extractGroups(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38672) (comment: 01273_extractGroups.sql) (in query: -- error cases SELECT extractGroups();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:38.037870 [ 1435 ] {1bccd521-bda7-4f24-9850-3a7879fe0c8d} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractGroups('hello', ' '). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b9fa5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.038410 [ 8776 ] {9c24b776-3ed7-42ee-b51b-252877213590} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 0, should be 2: While processing extractGroups(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:38.251211 [ 8776 ] {fbd1d2f3-a0bd-46a5-8ee5-907164be50e5} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 1, should be 2: While processing extractGroups('hello'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38672) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:38.251300 [ 1435 ] {be666f78-8333-4be3-92d7-928231f0aef6} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractAllGroups('hello', ' '). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38646) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', ' ');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b816b in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:38.252694 [ 1435 ] {be666f78-8333-4be3-92d7-928231f0aef6} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractAllGroups('hello', ' '). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b816b in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:38.252735 [ 8776 ] {fbd1d2f3-a0bd-46a5-8ee5-907164be50e5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractGroups doesn't match: passed 1, should be 2: While processing extractGroups('hello'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:38.432289 [ 1435 ] {b8d56f47-175f-404c-875a-5d24371b116c} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractGroups('hello', '\0'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38646) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', '\0');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b9fa5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.432420 [ 8776 ] {3a24b201-c862-4748-a411-d2420ae05443} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'needle' of function extractGroups, expected const String or const FixedString, got UInt8: While processing extractGroups('hello', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38672) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a3ba58b in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.433605 [ 1435 ] {b8d56f47-175f-404c-875a-5d24371b116c} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractGroups('hello', '\0'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b9fa5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.433624 [ 8776 ] {3a24b201-c862-4748-a411-d2420ae05443} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'needle' of function extractGroups, expected const String or const FixedString, got UInt8: While processing extractGroups('hello', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a3ba58b in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.441924 [ 8776 ] {640d0302-5979-44af-863c-608a06ea63af} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function extractGroups, expected const String or const FixedString, got UInt8: While processing extractGroups(123, 'world'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38672) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups(123, 'world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a3ba58b in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.442007 [ 1435 ] {dd05ebd8-c513-4d19-b5e7-c76c9f374e92} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractAllGroups('hello', '\0'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38646) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', '\0');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b816b in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:38.443064 [ 8776 ] {640d0302-5979-44af-863c-608a06ea63af} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function extractGroups, expected const String or const FixedString, got UInt8: While processing extractGroups(123, 'world'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a3ba58b in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.443129 [ 1435 ] {dd05ebd8-c513-4d19-b5e7-c76c9f374e92} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: : While processing extractAllGroups('hello', '\0'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b816b in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:38.452796 [ 1435 ] {7497cb3f-e993-47c0-a9e5-a1fb235e4745} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: world: While processing extractGroups('hello', 'world'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38646) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', 'world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b9fa5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.632810 [ 1435 ] {7497cb3f-e993-47c0-a9e5-a1fb235e4745} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: world: While processing extractGroups('hello', 'world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b9fa5 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.633702 [ 8776 ] {0a08c59e-b61f-4581-a652-c4d773125f2c} executeQuery: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: (((, error: missing ): (((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing extractGroups('hello world', '((('). (CANNOT_COMPILE_REGEXP) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38672) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello world', '(((');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x000000000f9ec92e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b95be in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:49:38.635242 [ 8776 ] {0a08c59e-b61f-4581-a652-c4d773125f2c} TCPHandler: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: (((, error: missing ): (((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing extractGroups('hello world', '((('). (CANNOT_COMPILE_REGEXP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x000000000f9ec92e in /usr/bin/clickhouse 4. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b95be in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:49:38.642978 [ 1435 ] {6ec279c2-9d6a-443a-8778-226839f00dba} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: world: While processing extractAllGroups('hello', 'world'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38646) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', 'world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b816b in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:38.644177 [ 1435 ] {6ec279c2-9d6a-443a-8778-226839f00dba} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: world: While processing extractAllGroups('hello', 'world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b816b in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:38.646641 [ 8776 ] {de239a4e-93f8-4b9f-a3b4-a7142cf9c19a} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'needle' of function extractGroups, expected const String or const FixedString, got String: While processing extractGroups('hello world', materialize('\\w+')). (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38672) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello world', materialize('\\w+'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a3ba58b in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.648187 [ 8776 ] {de239a4e-93f8-4b9f-a3b4-a7142cf9c19a} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'needle' of function extractGroups, expected const String or const FixedString, got String: While processing extractGroups('hello world', materialize('\\w+')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionExtractGroups::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a3ba58b in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.826507 [ 1435 ] {50de50fe-fca3-485b-9b20-d180fb8329fe} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: hello|world: While processing extractGroups('hello', 'hello|world'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38646) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractGroups('hello', 'hello|world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3ba039 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.826542 [ 8776 ] {929e3fa1-0ca1-46df-a587-4bce5fcd147b} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: \w+: While processing extractGroups('hello world', '\\w+'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38672) (comment: 01273_extractGroups.sql) (in query: SELECT extractGroups('hello world', '\\w+');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3ba039 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.828016 [ 8776 ] {929e3fa1-0ca1-46df-a587-4bce5fcd147b} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: \w+: While processing extractGroups('hello world', '\\w+'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3ba039 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:38.828075 [ 1435 ] {50de50fe-fca3-485b-9b20-d180fb8329fe} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: hello|world: While processing extractGroups('hello', 'hello|world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionExtractGroups::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3ba039 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:39.064682 [ 1435 ] {a74461f7-7af7-4153-9805-b12bdcb36752} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: hello|world: While processing extractAllGroups('hello', 'hello|world'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38646) (comment: 01275_extract_groups_check.sql) (in query: SELECT extractAllGroups('hello', 'hello|world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b81fd in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:39.066336 [ 1435 ] {a74461f7-7af7-4153-9805-b12bdcb36752} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: hello|world: While processing extractAllGroups('hello', 'hello|world'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::VerticalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b81fd in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:39.341061 [ 5065 ] {bc507014-2813-4ea9-9980-475d9336e478} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 101.05 MiB (attempt to allocate chunk of 1703936 bytes), maximum: 100.00 MiB.: while pushing to view test_8r5rx9xf.mv_01278_2 (3bb8b044-c9b7-4034-b70a-6f7def25888c). (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38500) (comment: 01278_min_insert_block_size_rows_for_materialized_views.sh) (in query: insert into data_01278 select number, reinterpretAsString(number), // s1 reinterpretAsString(number), // s2 reinterpretAsString(number), // s3 reinterpretAsString(number), // s4 reinterpretAsString(number), // s5 reinterpretAsString(number), // s6 reinterpretAsString(number), // s7 reinterpretAsString(number) // s8 from numbers(100000); -- { serverError 241 }), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::(anonymous namespace)::ResultOffsetsBuilder::reserve(long, unsigned long) @ 0x0000000019fdf3ef in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnsCommon.cpp:205: void DB::filterArraysImpl(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&, long) @ 0x0000000019fdf51c in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnString.cpp:0: DB::ColumnString::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x0000000019d4ec35 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnNullable.h:192: DB::ColumnNullable::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x0000000019d21274 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/FilterDescription.h:38: DB::FilterDescription::filter(DB::IColumn const&, long) const @ 0x000000001a003dcc in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001b30fdec in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:121: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001b30ee57 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001b3ef9bc in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b306b3d in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b306072 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 14:49:39.371165 [ 5065 ] {bc507014-2813-4ea9-9980-475d9336e478} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 101.05 MiB (attempt to allocate chunk of 1703936 bytes), maximum: 100.00 MiB.: while pushing to view test_8r5rx9xf.mv_01278_2 (3bb8b044-c9b7-4034-b70a-6f7def25888c). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::(anonymous namespace)::ResultOffsetsBuilder::reserve(long, unsigned long) @ 0x0000000019fdf3ef in /usr/bin/clickhouse 8. ./build_docker/./src/Columns/ColumnsCommon.cpp:205: void DB::filterArraysImpl(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul> const&, long) @ 0x0000000019fdf51c in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnString.cpp:0: DB::ColumnString::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x0000000019d4ec35 in /usr/bin/clickhouse 10. ./build_docker/./src/Columns/ColumnNullable.h:192: DB::ColumnNullable::filter(DB::PODArray, 63ul, 64ul> const&, long) const @ 0x0000000019d21274 in /usr/bin/clickhouse 11. ./build_docker/./src/Columns/FilterDescription.h:38: DB::FilterDescription::filter(DB::IColumn const&, long) const @ 0x000000001a003dcc in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001b30fdec in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:121: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001b30ee57 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Transforms/buildPushingToViewsChain.cpp:634: DB::ExecutingInnerQueryFromViewTransform::onGenerate() @ 0x000000001b3ef9bc in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:164: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b306b3d in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b306072 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 25. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 14:49:40.527597 [ 18906 ] {f0cfdd8d-e5ad-4821-aa89-425ab95520a0} executeQuery: Code: 43. DB::Exception: Illegal type String of argument of function toStartOfSecond. Should be Date, Date32, DateTime or DateTime64: While processing toStartOfSecond('123'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38774) (comment: 01269_toStartOfSecond.sql) (in query: -- Error cases SELECT toStartOfSecond('123');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6b0ca7 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6af3eb in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:49:40.528921 [ 18906 ] {f0cfdd8d-e5ad-4821-aa89-425ab95520a0} TCPHandler: Code: 43. DB::Exception: Illegal type String of argument of function toStartOfSecond. Should be Date, Date32, DateTime or DateTime64: While processing toStartOfSecond('123'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6b0ca7 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6af3eb in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:49:40.701024 [ 18906 ] {715466d4-a768-4124-bde1-3a6ce9abaffd} executeQuery: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: While processing toStartOfSecond(now()). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38774) (comment: 01269_toStartOfSecond.sql) (in query: SELECT toStartOfSecond(now());), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x000000000e6afeb4 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e6aef7e in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:49:40.701979 [ 18906 ] {715466d4-a768-4124-bde1-3a6ce9abaffd} TCPHandler: Code: 43. DB::Exception: Illegal type DateTime of argument for function toStartOfSecond: While processing toStartOfSecond(now()). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const* const&) @ 0x0000000007cc11ed in /usr/bin/clickhouse 3. COW::immutable_ptr DB::DateTimeTransformImpl::execute(std::vector> const&, std::shared_ptr const&, unsigned long, DB::ToStartOfSecondImpl const&) @ 0x000000000e6afeb4 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e6aef7e in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:49:40.876297 [ 18906 ] {9db354cd-312d-4e65-877f-5d7ce435f7e5} executeQuery: Code: 42. DB::Exception: Number of arguments for function toStartOfSecond doesn't match: passed 0, should be 1 or 2: While processing toStartOfSecond(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38774) (comment: 01269_toStartOfSecond.sql) (in query: SELECT toStartOfSecond();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6b0a3c in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6af3eb in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:49:40.877715 [ 18906 ] {9db354cd-312d-4e65-877f-5d7ce435f7e5} TCPHandler: Code: 42. DB::Exception: Number of arguments for function toStartOfSecond doesn't match: passed 0, should be 1 or 2: While processing toStartOfSecond(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6b0a3c in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6af3eb in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:49:41.068382 [ 18906 ] {15e4437c-84d7-403a-94df-3ee453050a6b} executeQuery: Code: 43. DB::Exception: Function toStartOfSecond supports 1 or 2 arguments. The optional 2nd argument must be a constant string with a timezone name: While processing toStartOfSecond(now64(), 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38774) (comment: 01269_toStartOfSecond.sql) (in query: SELECT toStartOfSecond(now64(), 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6b0ae6 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6af3eb in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:49:41.069989 [ 18906 ] {15e4437c-84d7-403a-94df-3ee453050a6b} TCPHandler: Code: 43. DB::Exception: Function toStartOfSecond supports 1 or 2 arguments. The optional 2nd argument must be a constant string with a timezone name: While processing toStartOfSecond(now64(), 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6b0ae6 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6af3eb in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:49:41.566457 [ 9606 ] {6a636f5e-b70b-4ee7-a335-34e275f5ba32} executeQuery: Code: 27. DB::ParsingException: Cannot parse input: expected '\t' at end of stream.: Buffer has gone, cannot extract information about what has been parsed.: While executing TabSeparatedRowInputFormat: (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:40490) (comment: 01271_http_code_parse_error.sh) (in query: insert into test (f1, f2) format TSV ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000000fa711b9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000000fa57af3 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:73: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000001b28334b in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b073808 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a59aa1 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:41.579921 [ 9606 ] {6a636f5e-b70b-4ee7-a335-34e275f5ba32} DynamicQueryHandler: Code: 27. DB::ParsingException: Cannot parse input: expected '\t' at end of stream.: Buffer has gone, cannot extract information about what has been parsed.: While executing TabSeparatedRowInputFormat: (at row 1) . (CANNOT_PARSE_INPUT_ASSERTION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ParsingException::ParsingException(int, FormatStringHelperImpl::type>, String&) @ 0x000000000fa711b9 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadHelpers.cpp:92: DB::throwAtAssertionFailed(char const*, DB::ReadBuffer&) @ 0x000000000fa57af3 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:73: DB::TabSeparatedFormatReader::skipFieldDelimiter() @ 0x000000001b28334b in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/RowInputFormatWithNamesAndTypes.cpp:0: DB::RowInputFormatWithNamesAndTypes::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b073808 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a59aa1 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:49:44.303851 [ 8754 ] {7c780401-2d96-44d4-905b-e93a64487a6c} executeQuery: Code: 47. DB::Exception: Missing columns: 'Arr.C3' 'ArrLen' while processing query: 'SELECT plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), (identity(_CAST((10.000100135803223, 0), 'Tuple(Float64, UInt64)')) AS _subquery268) > NULL)))), plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), _subquery268 > NULL)))), dummy, 65535) AS dummy, 65535) AS x, dummy ORDER BY ignore(-2) ASC, identity(x) DESC NULLS FIRST', required columns: 'ArrLen' 'Arr.C3' 'dummy', maybe you meant: 'dummy'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33432) (comment: 01247_some_msan_crashs_from_22517.sql) (in query: SELECT x FROM (SELECT dummy AS x, plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), (SELECT 10.000100135803223, count(*) FROM system.time_zones) > NULL)))), dummy, 65535) AS dummy ORDER BY ignore(-2) ASC, identity(x) DESC NULLS FIRST) FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x0000000019a6f119 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000019658050 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530551 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:44.305900 [ 8754 ] {7c780401-2d96-44d4-905b-e93a64487a6c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'Arr.C3' 'ArrLen' while processing query: 'SELECT plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), (identity(_CAST((10.000100135803223, 0), 'Tuple(Float64, UInt64)')) AS _subquery268) > NULL)))), plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL), _subquery268 > NULL)))), dummy, 65535) AS dummy, 65535) AS x, dummy ORDER BY ignore(-2) ASC, identity(x) DESC NULLS FIRST', required columns: 'ArrLen' 'Arr.C3' 'dummy', maybe you meant: 'dummy'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x0000000019a6f119 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000019658050 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530551 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 22. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:44.441052 [ 8754 ] {1b09b3c3-9a33-49b1-bddd-5f7645797964} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 0, should be 2: While processing extractAllGroupsHorizontal(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33462) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: -- error cases SELECT extractAllGroupsHorizontal();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:44.442600 [ 8754 ] {1b09b3c3-9a33-49b1-bddd-5f7645797964} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 0, should be 2: While processing extractAllGroupsHorizontal(). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:44.452169 [ 8754 ] {89535304-2d10-444e-936a-c55439e9d078} executeQuery: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 1, should be 2: While processing extractAllGroupsHorizontal('hello'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33462) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:44.453173 [ 8754 ] {89535304-2d10-444e-936a-c55439e9d078} TCPHandler: Code: 42. DB::Exception: Number of arguments for function extractAllGroupsHorizontal doesn't match: passed 1, should be 2: While processing extractAllGroupsHorizontal('hello'). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&) @ 0x0000000014d20c62 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::checkNumberOfArguments(unsigned long) const @ 0x0000000017a5a629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5ae1f in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 14:49:44.648083 [ 8754 ] {f107fa7b-f93e-4c5a-9849-dc5f0af4d9fb} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'needle' of function extractAllGroupsHorizontal, expected const String or const FixedString, got UInt8: While processing extractAllGroupsHorizontal('hello', 123). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33462) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello', 123);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a3b548e in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:44.649494 [ 8754 ] {f107fa7b-f93e-4c5a-9849-dc5f0af4d9fb} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'needle' of function extractAllGroupsHorizontal, expected const String or const FixedString, got UInt8: While processing extractAllGroupsHorizontal('hello', 123). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a3b548e in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:44.661262 [ 8754 ] {8f580192-c4f9-48e1-af1f-2715c55a7341} executeQuery: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function extractAllGroupsHorizontal, expected const String or const FixedString, got UInt8: While processing extractAllGroupsHorizontal(123, 'world'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33462) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal(123, 'world');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a3b548e in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:44.663187 [ 8754 ] {8f580192-c4f9-48e1-af1f-2715c55a7341} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #1 'haystack' of function extractAllGroupsHorizontal, expected const String or const FixedString, got UInt8: While processing extractAllGroupsHorizontal(123, 'world'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a3b548e in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:44.823413 [ 8754 ] {456c9e0c-dbb6-4455-9976-119eceeceea6} executeQuery: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: (((, error: missing ): (((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing extractAllGroupsHorizontal('hello world', '((('). (CANNOT_COMPILE_REGEXP) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33462) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', '(((');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x000000000f9ec92e in /usr/bin/clickhouse 4. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b394c in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:49:44.824629 [ 8754 ] {456c9e0c-dbb6-4455-9976-119eceeceea6} TCPHandler: Code: 427. DB::Exception: OptimizedRegularExpression: cannot compile re2: (((, error: missing ): (((. Look at https://github.com/google/re2/wiki/Syntax for reference. Please note that if you specify regex as an SQL string literal, the slashes have to be additionally escaped. For example, to match an opening brace, write '\(' -- the first slash is for SQL and the second one is for regex: While processing extractAllGroupsHorizontal('hello world', '((('). (CANNOT_COMPILE_REGEXP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Common/OptimizedRegularExpression.cpp:0: OptimizedRegularExpressionImpl::OptimizedRegularExpressionImpl(String const&, int) @ 0x000000000f9ec92e in /usr/bin/clickhouse 4. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b394c in /usr/bin/clickhouse 5. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 6. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:49:44.833566 [ 8754 ] {3238a874-312e-4052-bc4b-572cd5a22bc2} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'needle' of function extractAllGroupsHorizontal, expected const String or const FixedString, got String: While processing extractAllGroupsHorizontal('hello world', materialize('\\w+')). (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33462) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', materialize('\\w+'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a3b548e in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:44.834372 [ 8754 ] {3238a874-312e-4052-bc4b-572cd5a22bc2} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'needle' of function extractAllGroupsHorizontal, expected const String or const FixedString, got String: While processing extractAllGroupsHorizontal('hello world', materialize('\\w+')). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000a3b548e in /usr/bin/clickhouse 6. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:45.008337 [ 8754 ] {c95399cc-33c7-4b16-9e30-5a6170d518e3} executeQuery: Code: 36. DB::Exception: There are no groups in regexp: \w+: While processing extractAllGroupsHorizontal('hello world', '\\w+'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33462) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', '\\w+');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b4be9 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:45.153143 [ 8754 ] {c95399cc-33c7-4b16-9e30-5a6170d518e3} TCPHandler: Code: 36. DB::Exception: There are no groups in regexp: \w+: While processing extractAllGroupsHorizontal('hello world', '\\w+'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b4be9 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:45.255708 [ 2900 ] {b6708cfa-6640-4b68-8ecb-6f0ce2bb9fa3} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 100.38 MiB (attempt to allocate chunk of 1114112 bytes), maximum: 100.00 MiB.: while pushing to view test_8r5rx9xf.mv_01278_3 (56db36a7-9b48-4316-a888-0d4afe65eef9). (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38726) (comment: 01278_min_insert_block_size_rows_for_materialized_views.sh) (in query: insert into data_01278 select number, reinterpretAsString(number), // s1 reinterpretAsString(number), // s2 reinterpretAsString(number), // s3 reinterpretAsString(number), // s4 reinterpretAsString(number), // s5 reinterpretAsString(number), // s6 reinterpretAsString(number), // s7 reinterpretAsString(number) // s8 from numbers(100000); -- { serverError 241 }), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000000f983ee4 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x0000000007ca1b7b in /usr/bin/clickhouse 8. ./build_docker/./src/Common/PODArray.h:321: DB::ColumnString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x0000000019d4e7bd in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnNullable.cpp:246: DB::ColumnNullable::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x0000000019d20c47 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/SquashingTransform.cpp:0: void DB::SquashingTransform::append(DB::Block&&) @ 0x000000001ab503bd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/SquashingTransform.cpp:69: DB::Block DB::SquashingTransform::addImpl(DB::Block&&) @ 0x000000001ab4f6f2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/SquashingTransform.cpp:19: DB::SquashingTransform::add(DB::Block&&) @ 0x000000001ab4f0ca in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/SquashingChunksTransform.cpp:0: DB::SquashingChunksTransform::onConsume(DB::Chunk) @ 0x000000001b3ac02f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/SquashingChunksTransform.cpp:45: DB::SquashingChunksTransform::work() @ 0x000000001b3acc2e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:45.416999 [ 2900 ] {b6708cfa-6640-4b68-8ecb-6f0ce2bb9fa3} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 100.38 MiB (attempt to allocate chunk of 1114112 bytes), maximum: 100.00 MiB.: while pushing to view test_8r5rx9xf.mv_01278_3 (56db36a7-9b48-4316-a888-0d4afe65eef9). (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000000f983ee4 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x0000000007ca1b7b in /usr/bin/clickhouse 8. ./build_docker/./src/Common/PODArray.h:321: DB::ColumnString::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x0000000019d4e7bd in /usr/bin/clickhouse 9. ./build_docker/./src/Columns/ColumnNullable.cpp:246: DB::ColumnNullable::insertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x0000000019d20c47 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/SquashingTransform.cpp:0: void DB::SquashingTransform::append(DB::Block&&) @ 0x000000001ab503bd in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/SquashingTransform.cpp:69: DB::Block DB::SquashingTransform::addImpl(DB::Block&&) @ 0x000000001ab4f6f2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/SquashingTransform.cpp:19: DB::SquashingTransform::add(DB::Block&&) @ 0x000000001ab4f0ca in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Transforms/SquashingChunksTransform.cpp:0: DB::SquashingChunksTransform::onConsume(DB::Chunk) @ 0x000000001b3ac02f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/SquashingChunksTransform.cpp:45: DB::SquashingChunksTransform::work() @ 0x000000001b3acc2e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:45.417125 [ 8754 ] {92d95a13-8431-4c1f-b107-59413c528a8e} executeQuery: Code: 128. DB::Exception: Too many matches per row (> 0) in the result of function extractAllGroupsHorizontal: While processing extractAllGroupsHorizontal('hello world', '(\\w+)'). (TOO_LARGE_ARRAY_SIZE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33462) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', '(\\w+)') SETTINGS regexp_max_matches_per_row = 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception const&, String>(int, FormatStringHelperImpl const&>::type, std::type_identity::type>, DB::SettingFieldNumber const&, String&&) @ 0x000000000a3b5db0 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b4a7a in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:45.418302 [ 8754 ] {92d95a13-8431-4c1f-b107-59413c528a8e} TCPHandler: Code: 128. DB::Exception: Too many matches per row (> 0) in the result of function extractAllGroupsHorizontal: While processing extractAllGroupsHorizontal('hello world', '(\\w+)'). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception const&, String>(int, FormatStringHelperImpl const&>::type, std::type_identity::type>, DB::SettingFieldNumber const&, String&&) @ 0x000000000a3b5db0 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b4a7a in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:45.429282 [ 8754 ] {4443b48e-49f8-4417-a64f-ba0918cd21f2} executeQuery: Code: 128. DB::Exception: Too many matches per row (> 1) in the result of function extractAllGroupsHorizontal: While processing extractAllGroupsHorizontal('hello world', '(\\w+)'). (TOO_LARGE_ARRAY_SIZE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33462) (comment: 01246_extractAllGroupsHorizontal.sql) (in query: SELECT extractAllGroupsHorizontal('hello world', '(\\w+)') SETTINGS regexp_max_matches_per_row = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception const&, String>(int, FormatStringHelperImpl const&>::type, std::type_identity::type>, DB::SettingFieldNumber const&, String&&) @ 0x000000000a3b5db0 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b4a7a in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:45.430349 [ 8754 ] {4443b48e-49f8-4417-a64f-ba0918cd21f2} TCPHandler: Code: 128. DB::Exception: Too many matches per row (> 1) in the result of function extractAllGroupsHorizontal: While processing extractAllGroupsHorizontal('hello world', '(\\w+)'). (TOO_LARGE_ARRAY_SIZE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception const&, String>(int, FormatStringHelperImpl const&>::type, std::type_identity::type>, DB::SettingFieldNumber const&, String&&) @ 0x000000000a3b5db0 in /usr/bin/clickhouse 3. DB::FunctionExtractAllGroups<(anonymous namespace)::HorizontalImpl>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a3b4a7a in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:49:52.894096 [ 1524 ] {3b89771d-82fd-49ef-8477-08690f487229} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 151.11 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33576) (comment: 01231_log_queries_min_type.sql) (in query: select '01231_log_queries_min_type/EXCEPTION_WHILE_PROCESSING', max(number) from system.numbers limit 1e6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:52.896487 [ 1524 ] {3b89771d-82fd-49ef-8477-08690f487229} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 151.11 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:53.793100 [ 1140 ] {63ee7b36-ef7b-4a6d-8948-b5ce70bb8169} executeQuery: Code: 36. DB::Exception: Polygon is not valid: Geometry has interior rings defined outside the outer boundary: While processing pointInPolygon((97.641933, 16.5076538), [(97.66905, 16.5026053), (97.667878, 16.4979175), (97.661433, 16.4917645), (97.656745, 16.4859047), (97.656745, 16.4818029), (97.658796, 16.4785801), (97.665535, 16.4753572), (97.670808, 16.4730135), (97.676082, 16.4697907), (97.680477, 16.4677398), (97.68575, 16.4686189), (97.689559, 16.4727207), (97.69454, 16.4744788), (97.698055, 16.4747718), (97.702157, 16.4724279), (97.703036, 16.4683261), (97.703036, 16.4633453), (97.702451, 16.4594354), (97.699533, 16.4539205), (97.699106, 16.4521467), (97.699896, 16.4500714), (97.701852, 16.4474887), (97.701272, 16.4460233), (97.699896, 16.4439216), (97.699857, 16.4425297), (97.700705, 16.4417585), (97.699266, 16.4404319), (97.696817, 16.439585), (97.69468, 16.4391501), (97.690854, 16.439294), (97.686571, 16.4407665), (97.683728, 16.4428458), (97.680647, 16.444719), (97.678369, 16.445322), (97.675195, 16.4448526), (97.672627, 16.4435941), (97.670568, 16.4419727), (97.667276, 16.4410039), (97.666215, 16.439402), (97.66599, 16.43656), (97.664579, 16.435632), (97.66195, 16.4344612), (97.659174, 16.4324549), (97.658693, 16.4290256), (97.659289, 16.4246502), (97.660882, 16.422609), (97.663533, 16.4225057), (97.666402, 16.4210711), (97.67148, 16.4170395), (97.673433, 16.4146478), (97.674184, 16.4124121), (97.6742, 16.4085257), (97.674894, 16.4055148), (97.675906, 16.4019452), (97.675287, 16.3996593), (97.675062, 16.3963334), (97.675798, 16.3936434), (97.675676, 16.3909321), (97.67508, 16.386655), (97.679839, 16.386241), (97.689403, 16.3726191), (97.692011, 16.372909), (97.696359, 16.3679819), (97.699866, 16.360968), (97.697233, 16.3609438), (97.693077, 16.3596272), (97.686631, 16.3584552), (97.68165, 16.3558182), (97.674619, 16.3496653), (97.667588, 16.3482003), (97.664072, 16.3502511), (97.659384, 16.3540599), (97.652353, 16.3578686), (97.649716, 16.3625565), (97.650595, 16.3672443), (97.65206, 16.3701742), (97.65206, 16.3733971), (97.651181, 16.3760339), (97.646493, 16.3763268), (97.6462, 16.3801357), (97.646786, 16.3851165), (97.643563, 16.3883393), (97.638583, 16.3889252), (97.636239, 16.392148), (97.630379, 16.3933199), (97.629132, 16.3964903), (97.624347, 16.4056104), (97.615377, 16.4165245), (97.614779, 16.4229534), (97.611938, 16.4335685), (97.613882, 16.4410439), (97.619713, 16.4461272), (97.62375, 16.4542007), (97.62345, 16.4640683), (97.618965, 16.4793181), (97.617321, 16.4884382), (97.617747, 16.4985751), (97.623301, 16.5026416), (97.629303, 16.5016624), (97.63272, 16.4986048), (97.640862, 16.498226), (97.647134, 16.5006382), (97.650873, 16.5051263), (97.654987, 16.5089598), (97.65639, 16.5118583), (97.658166, 16.5160658), (97.660395, 16.5197566), (97.66612, 16.5140318), (97.668757, 16.507879), (97.66905, 16.5026053)], [(97.666491, 16.5599384), (97.665077, 16.5589283), (97.662417, 16.5607013), (97.659315, 16.5700096), (97.655104, 16.5821991), (97.654882, 16.5855235), (97.654593, 16.5931971), (97.659381, 16.5957754), (97.669927, 16.5995844), (97.683111, 16.6022215), (97.695123, 16.6028077), (97.704206, 16.5984131), (97.704499, 16.5825917), (97.70007, 16.5731793), (97.698976, 16.572997), (97.697211, 16.5717833), (97.692114, 16.5691237), (97.684358, 16.5691235), (97.675936, 16.567572), (97.66818, 16.5611446), (97.666491, 16.5599384)], [(97.653232, 16.574263), (97.652445, 16.5679244), (97.655949, 16.5683449), (97.659594, 16.5627383), (97.659734, 16.5585335), (97.662257, 16.5550293), (97.660855, 16.5512449), (97.658613, 16.5490023), (97.659173, 16.544517), (97.654407, 16.5408727), (97.641933, 16.5363874), (97.63086, 16.5303604), (97.628057, 16.5312014), (97.625954, 16.5415736), (97.63072, 16.5613367), (97.638569, 16.5820811), (97.645017, 16.5892294), (97.649743, 16.5887155), (97.653232, 16.574263)], [(97.625696, 16.5488739), (97.623579, 16.5396268), (97.620589, 16.5423678), (97.616353, 16.5530826), (97.611619, 16.5637974), (97.61112, 16.5725187), (97.613339, 16.5792777), (97.635042, 16.5874696), (97.64152, 16.5981844), (97.643015, 16.605909), (97.645756, 16.6066565), (97.650989, 16.6034172), (97.644012, 16.5984335), (97.64219, 16.5877556), (97.636038, 16.5804926), (97.63252, 16.570307), (97.628314, 16.5603089), (97.625696, 16.5488739)], [(97.607902, 16.3798949), (97.604911, 16.3719709), (97.602519, 16.3749612), (97.601323, 16.3955933), (97.604014, 16.406059), (97.604762, 16.4084511), (97.607896, 16.4081673), (97.609397, 16.397537), (97.609397, 16.3882674), (97.607902, 16.3798949)], [(97.64902, 16.5107163), (97.645437, 16.5073734), (97.641933, 16.5076538), (97.641933, 16.5108776), (97.645717, 16.5160636), (97.651112, 16.5211243), (97.655721, 16.5238328), (97.656392, 16.5184349), (97.654359, 16.515696), (97.64902, 16.5107163)]). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60376) (comment: 01213_point_in_Myanmar.sql) (in query: SELECT pointInPolygon((97.641933, 16.5076538), [(97.66905, 16.5026053), (97.667878, 16.4979175), (97.661433, 16.4917645), (97.656745, 16.4859047), (97.656745, 16.4818029), (97.658796, 16.4785801), (97.665535, 16.4753572), (97.670808, 16.4730135), (97.676082, 16.4697907), (97.680477, 16.4677398), (97.68575, 16.4686189), (97.689559, 16.4727207), (97.69454, 16.4744788), (97.698055, 16.4747718), (97.702157, 16.4724279), (97.703036, 16.4683261), (97.703036, 16.4633453), (97.702451, 16.4594354), (97.699533, 16.4539205), (97.699106, 16.4521467), (97.699896, 16.4500714), (97.701852, 16.4474887), (97.701272, 16.4460233), (97.699896, 16.4439216), (97.699857, 16.4425297), (97.700705, 16.4417585), (97.699266, 16.4404319), (97.696817, 16.439585), (97.69468, 16.4391501), (97.690854, 16.439294), (97.686571, 16.4407665), (97.683728, 16.4428458), (97.680647, 16.444719), (97.678369, 16.445322), (97.675195, 16.4448526), (97.672627, 16.4435941), (97.670568, 16.4419727), (97.667276, 16.4410039), (97.666215, 16.439402), (97.66599, 16.43656), (97.664579, 16.435632), (97.66195, 16.4344612), (97.659174, 16.4324549), (97.658693, 16.4290256), (97.659289, 16.4246502), (97.660882, 16.422609), (97.663533, 16.4225057), (97.666402, 16.4210711), (97.67148, 16.4170395), (97.673433, 16.4146478), (97.674184, 16.4124121), (97.6742, 16.4085257), (97.674894, 16.4055148), (97.675906, 16.4019452), (97.675287, 16.3996593), (97.675062, 16.3963334), (97.675798, 16.3936434), (97.675676, 16.3909321), (97.67508, 16.386655), (97.679839, 16.386241), (97.689403, 16.3726191), (97.692011, 16.372909), (97.696359, 16.3679819), (97.699866, 16.360968), (97.697233, 16.3609438), (97.693077, 16.3596272), (97.686631, 16.3584552), (97.68165, 16.3558182), (97.674619, 16.3496653), (97.667588, 16.3482003), (97.664072, 16.3502511), (97.659384, 16.3540599), (97.652353, 16.3578686), (97.649716, 16.3625565), (97.650595, 16.3672443), (97.65206, 16.3701742), (97.65206, 16.3733971), (97.651181, 16.3760339), (97.646493, 16.3763268), (97.6462, 16.3801357), (97.646786, 16.3851165), (97.643563, 16.3883393), (97.638583, 16.3889252), (97.636239, 16.392148), (97.630379, 16.3933199), (97.629132, 16.3964903), (97.624347, 16.4056104), (97.615377, 16.4165245), (97.614779, 16.4229534), (97.611938, 16.4335685), (97.613882, 16.4410439), (97.619713, 16.4461272), (97.62375, 16.4542007), (97.62345, 16.4640683), (97.618965, 16.4793181), (97.617321, 16.4884382), (97.617747, 16.4985751), (97.623301, 16.5026416), (97.629303, 16.5016624), (97.63272, 16.4986048), (97.640862, 16.498226), (97.647134, 16.5006382), (97.650873, 16.5051263), (97.654987, 16.5089598), (97.65639, 16.5118583), (97.658166, 16.5160658), (97.660395, 16.5197566), (97.66612, 16.5140318), (97.668757, 16.507879), (97.66905, 16.5026053)], [(97.666491, 16.5599384), (97.665077, 16.5589283), (97.662417, 16.5607013), (97.659315, 16.5700096), (97.655104, 16.5821991), (97.654882, 16.5855235), (97.654593, 16.5931971), (97.659381, 16.5957754), (97.669927, 16.5995844), (97.683111, 16.6022215), (97.695123, 16.6028077), (97.704206, 16.5984131), (97.704499, 16.5825917), (97.70007, 16.5731793), (97.698976, 16.572997), (97.697211, 16.5717833), (97.692114, 16.5691237), (97.684358, 16.5691235), (97.675936, 16.567572), (97.66818, 16.5611446), (97.666491, 16.5599384)], [(97.653232, 16.574263), (97.652445, 16.5679244), (97.655949, 16.5683449), (97.659594, 16.5627383), (97.659734, 16.5585335), (97.662257, 16.5550293), (97.660855, 16.5512449), (97.658613, 16.5490023), (97.659173, 16.544517), (97.654407, 16.5408727), (97.641933, 16.5363874), (97.63086, 16.5303604), (97.628057, 16.5312014), (97.625954, 16.5415736), (97.63072, 16.5613367), (97.638569, 16.5820811), (97.645017, 16.5892294), (97.649743, 16.5887155), (97.653232, 16.574263)], [(97.625696, 16.5488739), (97.623579, 16.5396268), (97.620589, 16.5423678), (97.616353, 16.5530826), (97.611619, 16.5637974), (97.61112, 16.5725187), (97.613339, 16.5792777), (97.635042, 16.5874696), (97.64152, 16.5981844), (97.643015, 16.605909), (97.645756, 16.6066565), (97.650989, 16.6034172), (97.644012, 16.5984335), (97.64219, 16.5877556), (97.636038, 16.5804926), (97.63252, 16.570307), (97.628314, 16.5603089), (97.625696, 16.5488739)], [(97.607902, 16.3798949), (97.604911, 16.3719709), (97.602519, 16.3749612), (97.601323, 16.3955933), (97.604014, 16.406059), (97.604762, 16.4084511), (97.607896, 16.4081673), (97.609397, 16.397537), (97.609397, 16.3882674), (97.607902, 16.3798949)], [(97.64902, 16.5107163), (97.645437, 16.5073734), (97.641933, 16.5076538), (97.641933, 16.5108776), (97.645717, 16.5160636), (97.651112, 16.5211243), (97.655721, 16.5238328), (97.656392, 16.5184349), (97.654359, 16.515696), (97.64902, 16.5107163)]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000db9f3f1 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:53.816169 [ 1140 ] {63ee7b36-ef7b-4a6d-8948-b5ce70bb8169} TCPHandler: Code: 36. DB::Exception: Polygon is not valid: Geometry has interior rings defined outside the outer boundary: While processing pointInPolygon((97.641933, 16.5076538), [(97.66905, 16.5026053), (97.667878, 16.4979175), (97.661433, 16.4917645), (97.656745, 16.4859047), (97.656745, 16.4818029), (97.658796, 16.4785801), (97.665535, 16.4753572), (97.670808, 16.4730135), (97.676082, 16.4697907), (97.680477, 16.4677398), (97.68575, 16.4686189), (97.689559, 16.4727207), (97.69454, 16.4744788), (97.698055, 16.4747718), (97.702157, 16.4724279), (97.703036, 16.4683261), (97.703036, 16.4633453), (97.702451, 16.4594354), (97.699533, 16.4539205), (97.699106, 16.4521467), (97.699896, 16.4500714), (97.701852, 16.4474887), (97.701272, 16.4460233), (97.699896, 16.4439216), (97.699857, 16.4425297), (97.700705, 16.4417585), (97.699266, 16.4404319), (97.696817, 16.439585), (97.69468, 16.4391501), (97.690854, 16.439294), (97.686571, 16.4407665), (97.683728, 16.4428458), (97.680647, 16.444719), (97.678369, 16.445322), (97.675195, 16.4448526), (97.672627, 16.4435941), (97.670568, 16.4419727), (97.667276, 16.4410039), (97.666215, 16.439402), (97.66599, 16.43656), (97.664579, 16.435632), (97.66195, 16.4344612), (97.659174, 16.4324549), (97.658693, 16.4290256), (97.659289, 16.4246502), (97.660882, 16.422609), (97.663533, 16.4225057), (97.666402, 16.4210711), (97.67148, 16.4170395), (97.673433, 16.4146478), (97.674184, 16.4124121), (97.6742, 16.4085257), (97.674894, 16.4055148), (97.675906, 16.4019452), (97.675287, 16.3996593), (97.675062, 16.3963334), (97.675798, 16.3936434), (97.675676, 16.3909321), (97.67508, 16.386655), (97.679839, 16.386241), (97.689403, 16.3726191), (97.692011, 16.372909), (97.696359, 16.3679819), (97.699866, 16.360968), (97.697233, 16.3609438), (97.693077, 16.3596272), (97.686631, 16.3584552), (97.68165, 16.3558182), (97.674619, 16.3496653), (97.667588, 16.3482003), (97.664072, 16.3502511), (97.659384, 16.3540599), (97.652353, 16.3578686), (97.649716, 16.3625565), (97.650595, 16.3672443), (97.65206, 16.3701742), (97.65206, 16.3733971), (97.651181, 16.3760339), (97.646493, 16.3763268), (97.6462, 16.3801357), (97.646786, 16.3851165), (97.643563, 16.3883393), (97.638583, 16.3889252), (97.636239, 16.392148), (97.630379, 16.3933199), (97.629132, 16.3964903), (97.624347, 16.4056104), (97.615377, 16.4165245), (97.614779, 16.4229534), (97.611938, 16.4335685), (97.613882, 16.4410439), (97.619713, 16.4461272), (97.62375, 16.4542007), (97.62345, 16.4640683), (97.618965, 16.4793181), (97.617321, 16.4884382), (97.617747, 16.4985751), (97.623301, 16.5026416), (97.629303, 16.5016624), (97.63272, 16.4986048), (97.640862, 16.498226), (97.647134, 16.5006382), (97.650873, 16.5051263), (97.654987, 16.5089598), (97.65639, 16.5118583), (97.658166, 16.5160658), (97.660395, 16.5197566), (97.66612, 16.5140318), (97.668757, 16.507879), (97.66905, 16.5026053)], [(97.666491, 16.5599384), (97.665077, 16.5589283), (97.662417, 16.5607013), (97.659315, 16.5700096), (97.655104, 16.5821991), (97.654882, 16.5855235), (97.654593, 16.5931971), (97.659381, 16.5957754), (97.669927, 16.5995844), (97.683111, 16.6022215), (97.695123, 16.6028077), (97.704206, 16.5984131), (97.704499, 16.5825917), (97.70007, 16.5731793), (97.698976, 16.572997), (97.697211, 16.5717833), (97.692114, 16.5691237), (97.684358, 16.5691235), (97.675936, 16.567572), (97.66818, 16.5611446), (97.666491, 16.5599384)], [(97.653232, 16.574263), (97.652445, 16.5679244), (97.655949, 16.5683449), (97.659594, 16.5627383), (97.659734, 16.5585335), (97.662257, 16.5550293), (97.660855, 16.5512449), (97.658613, 16.5490023), (97.659173, 16.544517), (97.654407, 16.5408727), (97.641933, 16.5363874), (97.63086, 16.5303604), (97.628057, 16.5312014), (97.625954, 16.5415736), (97.63072, 16.5613367), (97.638569, 16.5820811), (97.645017, 16.5892294), (97.649743, 16.5887155), (97.653232, 16.574263)], [(97.625696, 16.5488739), (97.623579, 16.5396268), (97.620589, 16.5423678), (97.616353, 16.5530826), (97.611619, 16.5637974), (97.61112, 16.5725187), (97.613339, 16.5792777), (97.635042, 16.5874696), (97.64152, 16.5981844), (97.643015, 16.605909), (97.645756, 16.6066565), (97.650989, 16.6034172), (97.644012, 16.5984335), (97.64219, 16.5877556), (97.636038, 16.5804926), (97.63252, 16.570307), (97.628314, 16.5603089), (97.625696, 16.5488739)], [(97.607902, 16.3798949), (97.604911, 16.3719709), (97.602519, 16.3749612), (97.601323, 16.3955933), (97.604014, 16.406059), (97.604762, 16.4084511), (97.607896, 16.4081673), (97.609397, 16.397537), (97.609397, 16.3882674), (97.607902, 16.3798949)], [(97.64902, 16.5107163), (97.645437, 16.5073734), (97.641933, 16.5076538), (97.641933, 16.5108776), (97.645717, 16.5160636), (97.651112, 16.5211243), (97.655721, 16.5238328), (97.656392, 16.5184349), (97.654359, 16.515696), (97.64902, 16.5107163)]). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionPointInPolygon>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000db9f3f1 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:49:55.310544 [ 1524 ] {7afc4096-61d3-4125-8cda-a5e3d3de6e80} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 151.11 thousand: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33576) (comment: 01231_log_queries_min_type.sql) (in query: select '01231_log_queries_min_type w/ Settings/EXCEPTION_WHILE_PROCESSING', max(number) from system.numbers limit 1e6;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:49:55.313179 [ 1524 ] {7afc4096-61d3-4125-8cda-a5e3d3de6e80} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 100.00 thousand, current rows: 151.11 thousand: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:01.041749 [ 7349 ] {9a34c109-f3e9-4510-b497-f53b6dd04ed0} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60828) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(8, 8)', 0, 1) where d not in (-1, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x0000000019a1cd00 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:229: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a168db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:452: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a187ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1457: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017749374 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:01.064173 [ 7349 ] {9a34c109-f3e9-4510-b497-f53b6dd04ed0} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x0000000019a1cd00 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:229: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a168db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:452: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a187ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1457: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017749374 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:01.092404 [ 7349 ] {a1e06d07-83f6-41fa-9c34-107de95ef744} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60828) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(8, 8)', 0, 2) where d not in (1, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x0000000019a1cd00 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:229: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a168db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:452: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a187ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1457: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017749374 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:01.093612 [ 7349 ] {a1e06d07-83f6-41fa-9c34-107de95ef744} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(8, 8). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x0000000019a1cd00 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:229: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a168db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:452: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a187ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1457: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017749374 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:01.467836 [ 7349 ] {b791807e-e6e0-4b94-8729-38019a152861} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60828) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(9, 8)', 0, 3) where d not in (-9223372036854775808, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x0000000019a1cdae in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:229: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a168db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x0000000019a18bfb in /usr/bin/clickhouse 7. ./build_docker/./src/Core/SettingsFields.h:47: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9726f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:50:01.477448 [ 7349 ] {b791807e-e6e0-4b94-8729-38019a152861} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x0000000019a1cdae in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:229: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a168db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x0000000019a18bfb in /usr/bin/clickhouse 7. ./build_docker/./src/Core/SettingsFields.h:47: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9726f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:50:01.753781 [ 7349 ] {f72951da-22bd-43df-94c9-f80211a152e3} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60828) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(9, 8)', 0, 4) where d not in (18446744073709551615, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x0000000019a1cd00 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:229: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a168db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x0000000019a18bfb in /usr/bin/clickhouse 7. ./build_docker/./src/Core/SettingsFields.h:47: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9726f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:50:01.760692 [ 7349 ] {f72951da-22bd-43df-94c9-f80211a152e3} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(9, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x0000000019a1cd00 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:229: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a168db in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x0000000019a18bfb in /usr/bin/clickhouse 7. ./build_docker/./src/Core/SettingsFields.h:47: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9726f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:50:01.980390 [ 7349 ] {27ea9138-1963-4669-81bc-f1f7f49f7791} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60828) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(18, 8)', 0, 5) where d not in (-9223372036854775808, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x0000000019a1d75f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:230: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a16a85 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x0000000019a18bfb in /usr/bin/clickhouse 7. ./build_docker/./src/Core/SettingsFields.h:47: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9726f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:50:02.130410 [ 7349 ] {27ea9138-1963-4669-81bc-f1f7f49f7791} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x0000000019a1d75f in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:230: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a16a85 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x0000000019a18bfb in /usr/bin/clickhouse 7. ./build_docker/./src/Core/SettingsFields.h:47: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9726f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:50:02.130659 [ 2900 ] {3d6be3cb-4f75-41b2-9a15-a333899d4185} executeQuery: Code: 649. DB::Exception: There is no current transaction. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631602 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:02.135122 [ 2900 ] {3d6be3cb-4f75-41b2-9a15-a333899d4185} TCPHandler: Code: 649. DB::Exception: There is no current transaction. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631602 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:02.244274 [ 2900 ] {82a07141-a9b2-40fa-b5ef-634c3f05c2e2} executeQuery: Code: 649. DB::Exception: There is no current transaction. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: rollback), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeRollback(std::shared_ptr) @ 0x0000000019631fc2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:31: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630b46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:02.492853 [ 2900 ] {82a07141-a9b2-40fa-b5ef-634c3f05c2e2} TCPHandler: Code: 649. DB::Exception: There is no current transaction. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeRollback(std::shared_ptr) @ 0x0000000019631fc2 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:31: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630b46 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:02.494450 [ 7349 ] {12001cdd-c081-4785-80fe-077062891a34} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60828) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(18, 8)', 0, 6) where d not in (18446744073709551615, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x0000000019a1d6b1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:230: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a16a85 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x0000000019a18bfb in /usr/bin/clickhouse 7. ./build_docker/./src/Core/SettingsFields.h:47: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9726f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:50:02.496159 [ 7349 ] {12001cdd-c081-4785-80fe-077062891a34} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(18, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>(DB::Field const&, DB::DataTypeDecimal> const&) @ 0x0000000019a1d6b1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:230: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a16a85 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x0000000019a18bfb in /usr/bin/clickhouse 7. ./build_docker/./src/Core/SettingsFields.h:47: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9726f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:50:02.763511 [ 7349 ] {75cefd85-caeb-465e-9a4b-4ff336a98a82} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(26, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60828) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(26, 8)', 0, 7) where d not in (-9223372036854775808, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x0000000019a1e2a9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:231: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a16e78 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x0000000019a18bfb in /usr/bin/clickhouse 7. ./build_docker/./src/Core/SettingsFields.h:47: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9726f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:50:02.780799 [ 7349 ] {75cefd85-caeb-465e-9a4b-4ff336a98a82} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(26, 8): While processing d NOT IN (-9223372036854775808, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x0000000019a1e2a9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:231: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a16e78 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x0000000019a18bfb in /usr/bin/clickhouse 7. ./build_docker/./src/Core/SettingsFields.h:47: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9726f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:50:03.036716 [ 7349 ] {0251c166-ce0f-4d86-9af2-58801df57898} executeQuery: Code: 69. DB::Exception: Number is too big to place in Decimal(27, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60828) (comment: 01178_int_field_to_decimal.sql) (in query: select d from values('d Decimal(27, 8)', 0, 8) where d not in (18446744073709551615, 0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x0000000019a1e380 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:231: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a16e78 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x0000000019a18bfb in /usr/bin/clickhouse 7. ./build_docker/./src/Core/SettingsFields.h:47: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9726f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:50:03.043667 [ 7349 ] {0251c166-ce0f-4d86-9af2-58801df57898} TCPHandler: Code: 69. DB::Exception: Number is too big to place in Decimal(27, 8): While processing d NOT IN (18446744073709551615, 0). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::Field DB::(anonymous namespace)::convertDecimalType>>>(DB::Field const&, DB::DataTypeDecimal>> const&) @ 0x0000000019a1e380 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:231: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a16e78 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 6. ./build_docker/./src/Core/Field.h:448: DB::convertFieldToTypeStrict(DB::Field const&, DB::IDataType const&) @ 0x0000000019a18bfb in /usr/bin/clickhouse 7. ./build_docker/./src/Core/SettingsFields.h:47: DB::makeExplicitSet(DB::ASTFunction const*, DB::ActionsDAG const&, std::shared_ptr, DB::PreparedSets&) @ 0x0000000018a9726f in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1443: DB::ActionsMatcher::makeSet(DB::ASTFunction const&, DB::ActionsMatcher::Data&, bool) @ 0x0000000018aabb02 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:921: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9f297 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendWhere(DB::ExpressionActionsChain&, bool) @ 0x0000000018a74108 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1891: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7beb4 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 2024.05.01 14:50:03.658873 [ 2900 ] {d248bcc9-3ae5-4da8-a438-7babc86cb040} executeQuery: Code: 649. DB::Exception: Nested transactions are not supported. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: begin transaction), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000bac64e6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:41: DB::InterpreterTransactionControlQuery::executeBegin(std::shared_ptr) @ 0x0000000019630f1e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:27: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630b16 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:03.665809 [ 2900 ] {d248bcc9-3ae5-4da8-a438-7babc86cb040} TCPHandler: Code: 649. DB::Exception: Nested transactions are not supported. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000bac64e6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:41: DB::InterpreterTransactionControlQuery::executeBegin(std::shared_ptr) @ 0x0000000019630f1e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:27: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630b16 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:04.275553 [ 2900 ] {8cd03665-bb16-4aa6-a267-858b7fc92489} executeQuery: Code: 46. DB::Exception: Unknown function functionThatDoesNotExist: While processing functionThatDoesNotExist(). (UNKNOWN_FUNCTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: -- rollback on exception before start select functionThatDoesNotExist();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x000000000fad523c in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x0000000017a6119c in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x0000000017a61a1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa086f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 31. ? @ 0x00007f5975bcaac3 in ? 2024.05.01 14:50:04.369615 [ 2900 ] {8cd03665-bb16-4aa6-a267-858b7fc92489} TCPHandler: Code: 46. DB::Exception: Unknown function functionThatDoesNotExist: While processing functionThatDoesNotExist(). (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&) @ 0x000000000fad523c in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionFactory.cpp:68: DB::FunctionFactory::getImpl(String const&, std::shared_ptr) const @ 0x0000000017a6119c in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/FunctionFactory.cpp:87: DB::FunctionFactory::get(String const&, std::shared_ptr) const @ 0x0000000017a61a1b in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1070: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa086f in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 23. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 27. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 31. ? @ 0x00007f5975bcaac3 in ? 2024.05.01 14:50:04.498359 [ 2900 ] {4b986833-59d7-4762-92d4-46d7ad7c73e3} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: -- cannot commit after exception commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:04.499636 [ 2900 ] {4b986833-59d7-4762-92d4-46d7ad7c73e3} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:04.530592 [ 2900 ] {1d7a6eed-10a4-4c7a-9203-a490217efdc2} executeQuery: Code: 649. DB::Exception: Nested transactions are not supported. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: begin transaction), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000bac64e6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:41: DB::InterpreterTransactionControlQuery::executeBegin(std::shared_ptr) @ 0x0000000019630f1e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:27: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630b16 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:04.531475 [ 2900 ] {1d7a6eed-10a4-4c7a-9203-a490217efdc2} TCPHandler: Code: 649. DB::Exception: Nested transactions are not supported. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [38]) @ 0x000000000bac64e6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:41: DB::InterpreterTransactionControlQuery::executeBegin(std::shared_ptr) @ 0x0000000019630f1e in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:27: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630b16 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:05.132766 [ 2900 ] {0606af14-2daa-4e3e-9a7c-a41d0c2561ce} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(less(100, number) :: 2) -> throwIf(less(100, number)) UInt8 : 0'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: -- rollback on exception while processing select throwIf(100 < number) from numbers(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:05.133359 [ 2900 ] {0606af14-2daa-4e3e-9a7c-a41d0c2561ce} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(less(100, number) :: 2) -> throwIf(less(100, number)) UInt8 : 0'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:05.152733 [ 2900 ] {5e714353-e693-4bc6-a4c8-b29ae555185c} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: -- cannot commit after exception commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:05.157311 [ 2900 ] {5e714353-e693-4bc6-a4c8-b29ae555185c} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:05.263835 [ 2900 ] {47ed86c3-cf84-42de-a4c0-49e6a86c2f34} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: insert into mt1 values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:05.270062 [ 2900 ] {47ed86c3-cf84-42de-a4c0-49e6a86c2f34} TCPHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:05.290137 [ 2900 ] {428568e4-c9e9-41a3-a88a-9128c01ea970} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: insert into mt2 values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:05.292029 [ 2900 ] {428568e4-c9e9-41a3-a88a-9128c01ea970} TCPHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:05.305239 [ 2900 ] {7c793201-9d33-477f-bb57-689b6f850972} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: select 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:05.306057 [ 2900 ] {7c793201-9d33-477f-bb57-689b6f850972} TCPHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.407195 [ 2900 ] {199ecf05-16f6-45ef-a5d9-b47d7e4ae33c} executeQuery: Code: 649. DB::Exception: Cannot set snapshot to reserved CSN. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: set transaction snapshot 5), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeSetSnapshot(std::shared_ptr, unsigned long) @ 0x000000001963227a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630b84 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.412114 [ 2900 ] {199ecf05-16f6-45ef-a5d9-b47d7e4ae33c} TCPHandler: Code: 649. DB::Exception: Cannot set snapshot to reserved CSN. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeSetSnapshot(std::shared_ptr, unsigned long) @ 0x000000001963227a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630b84 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.522603 [ 2900 ] {320ced5a-2d37-4915-8302-36658ebfa4f1} executeQuery: Code: 48. DB::Exception: Transactions are not supported for this type of query (CreateQuery__m). (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: create table m (n int) engine=Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55294 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.525212 [ 2900 ] {320ced5a-2d37-4915-8302-36658ebfa4f1} TCPHandler: Code: 48. DB::Exception: Transactions are not supported for this type of query (CreateQuery__m). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55294 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.544413 [ 2900 ] {5776228f-db74-4380-adcb-97cc1f2a46b8} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.549305 [ 2900 ] {5776228f-db74-4380-adcb-97cc1f2a46b8} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.703408 [ 2900 ] {9cb29c7d-d8ca-455e-ae43-639c5181a393} executeQuery: Code: 48. DB::Exception: Storage Memory (table test_85x9894s.m (b0e3cc79-393b-4a3b-a2c6-563c51c3c2a6)) does not support transactions. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: insert into m values ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/IInterpreter.cpp:0: DB::IInterpreter::checkStorageSupportsTransactionsIfNeeded(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001937e6ab in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000019506baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.711103 [ 2900 ] {9cb29c7d-d8ca-455e-ae43-639c5181a393} TCPHandler: Code: 48. DB::Exception: Storage Memory (table test_85x9894s.m (b0e3cc79-393b-4a3b-a2c6-563c51c3c2a6)) does not support transactions. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/IInterpreter.cpp:0: DB::IInterpreter::checkStorageSupportsTransactionsIfNeeded(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001937e6ab in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x0000000019506baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.726769 [ 2900 ] {3b0bd4a1-1211-46b5-a9a5-1a56d07cb6cd} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: select * from m;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.729371 [ 2900 ] {3b0bd4a1-1211-46b5-a9a5-1a56d07cb6cd} TCPHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.762581 [ 2900 ] {67637956-3f84-44da-9d98-f72f40dc7e23} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.768250 [ 2900 ] {67637956-3f84-44da-9d98-f72f40dc7e23} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.973943 [ 2900 ] {fb4e0086-93b0-47d9-8361-6b6b7af4e962} executeQuery: Code: 48. DB::Exception: Storage Memory (table test_85x9894s.m (b0e3cc79-393b-4a3b-a2c6-563c51c3c2a6)) does not support transactions. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: select * from m;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/IInterpreter.cpp:0: DB::IInterpreter::checkStorageSupportsTransactionsIfNeeded(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001937e6ab in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195306d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.983987 [ 2900 ] {fb4e0086-93b0-47d9-8361-6b6b7af4e962} TCPHandler: Code: 48. DB::Exception: Storage Memory (table test_85x9894s.m (b0e3cc79-393b-4a3b-a2c6-563c51c3c2a6)) does not support transactions. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/IInterpreter.cpp:0: DB::IInterpreter::checkStorageSupportsTransactionsIfNeeded(std::shared_ptr const&, std::shared_ptr, bool) @ 0x000000001937e6ab in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195306d7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.994252 [ 2900 ] {acccb454-aa48-4a38-8e01-09de6d8d7b55} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48940) (comment: 01173_transaction_control_queries.sql) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:06.998542 [ 2900 ] {acccb454-aa48-4a38-8e01-09de6d8d7b55} TCPHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:07.625037 [ 8776 ] {01167_isolation_hermitage_test_p5fg7plx_tx2_20695} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_4.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 2626668804766009039'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59664) (in query: alter table test update value=12 where id=1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001aa32f18 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001aa32ccc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001ac74b35 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001ac759f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:07.643858 [ 8776 ] {01167_isolation_hermitage_test_p5fg7plx_tx2_20695} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_4.txt' with part 'all_1_1_0' reason: 'Serialization error: part all_1_1_0 is locked by transaction 2626668804766009039'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001aa32f18 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001aa32ccc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001ac74b35 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001ac759f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:08.018950 [ 9606 ] {01167_isolation_hermitage_test_p5fg7plx_tx2_22996} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59694) (in query: alter table test update value=22 where id=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:08.020148 [ 9606 ] {01167_isolation_hermitage_test_p5fg7plx_tx2_22996} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:08.140936 [ 18906 ] {01167_isolation_hermitage_test_p5fg7plx_tx2_30992} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:59696) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:08.147874 [ 18906 ] {01167_isolation_hermitage_test_p5fg7plx_tx2_30992} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:09.366813 [ 8776 ] {b1337d98-f0f0-4725-a001-ea793d4dc743} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (39, 33, 840854c5-65fa-4420-a97c-a72c4387e949) tried to remove data part all_1_1_0 from test_aiaw105b.src (64b80d4e-c30d-4053-992d-d9ceeba251a8), but it's locked by another transaction (TID: (39, 34, 840854c5-65fa-4420-a97c-a72c4387e949), TIDH: 17156426547786831293) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49144) (comment: 01169_old_alter_partition_isolation_stress.sh) (in query: ALTER TABLE src DROP PARTITION ID 'all';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001996a3dc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TransactionVersionMetadata.cpp:0: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x0000000019966175 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:0: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001968447e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x00000000196842e9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001a865620 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8bf2a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879121 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:09.395678 [ 8776 ] {b1337d98-f0f0-4725-a001-ea793d4dc743} TCPHandler: Code: 650. DB::Exception: Serialization error: Transaction (39, 33, 840854c5-65fa-4420-a97c-a72c4387e949) tried to remove data part all_1_1_0 from test_aiaw105b.src (64b80d4e-c30d-4053-992d-d9ceeba251a8), but it's locked by another transaction (TID: (39, 34, 840854c5-65fa-4420-a97c-a72c4387e949), TIDH: 17156426547786831293) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001996a3dc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TransactionVersionMetadata.cpp:0: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x0000000019966175 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:0: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001968447e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x00000000196842e9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001a865620 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8bf2a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879121 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:13.874790 [ 9611 ] {4d82e89e-b37a-4135-86f2-d27feda5c122} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (55, 38, 840854c5-65fa-4420-a97c-a72c4387e949) tried to remove data part all_45_45_0 from test_aiaw105b.src (64b80d4e-c30d-4053-992d-d9ceeba251a8), but it's locked by another transaction (TID: (55, 35, 840854c5-65fa-4420-a97c-a72c4387e949), TIDH: 9294891776101355428) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42848) (comment: 01169_old_alter_partition_isolation_stress.sh) (in query: ALTER TABLE src DROP PARTITION ID 'all';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001996a3dc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TransactionVersionMetadata.cpp:0: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x0000000019966175 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:0: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001968447e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x00000000196842e9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001a865620 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8bf2a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879121 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:13.892460 [ 9611 ] {4d82e89e-b37a-4135-86f2-d27feda5c122} TCPHandler: Code: 650. DB::Exception: Serialization error: Transaction (55, 38, 840854c5-65fa-4420-a97c-a72c4387e949) tried to remove data part all_45_45_0 from test_aiaw105b.src (64b80d4e-c30d-4053-992d-d9ceeba251a8), but it's locked by another transaction (TID: (55, 35, 840854c5-65fa-4420-a97c-a72c4387e949), TIDH: 9294891776101355428) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001996a3dc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TransactionVersionMetadata.cpp:0: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x0000000019966175 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:0: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001968447e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x00000000196842e9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001a865620 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8bf2a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879121 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:14.493480 [ 1435 ] {01167_isolation_hermitage_test_p5fg7plx_tx3_26793} test_p5fg7plx.test (eb44e351-914c-4d68-9b41-a59313325907): Cannot find transaction (35, 36, 840854c5-65fa-4420-a97c-a72c4387e949) which had started mutation mutation_5.txt, probably it finished 2024.05.01 14:50:16.071537 [ 1435 ] {36d1d0af-68a1-40f4-92a0-4ea09ce0e5c6} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (59, 34, 840854c5-65fa-4420-a97c-a72c4387e949) tried to remove data part all_56_56_0 from test_aiaw105b.src (64b80d4e-c30d-4053-992d-d9ceeba251a8), but it's locked by another transaction (TID: (59, 35, 840854c5-65fa-4420-a97c-a72c4387e949), TIDH: 17530370177272599956) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42940) (comment: 01169_old_alter_partition_isolation_stress.sh) (in query: ALTER TABLE src DROP PARTITION ID 'all';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001996a3dc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TransactionVersionMetadata.cpp:0: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x0000000019966175 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:0: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001968447e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x00000000196842e9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001a865620 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8bf2a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879121 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:16.084624 [ 1435 ] {36d1d0af-68a1-40f4-92a0-4ea09ce0e5c6} TCPHandler: Code: 650. DB::Exception: Serialization error: Transaction (59, 34, 840854c5-65fa-4420-a97c-a72c4387e949) tried to remove data part all_56_56_0 from test_aiaw105b.src (64b80d4e-c30d-4053-992d-d9ceeba251a8), but it's locked by another transaction (TID: (59, 35, 840854c5-65fa-4420-a97c-a72c4387e949), TIDH: 17530370177272599956) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001996a3dc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TransactionVersionMetadata.cpp:0: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x0000000019966175 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:0: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001968447e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x00000000196842e9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001a865620 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8bf2a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879121 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:19.732680 [ 32822 ] {e77d97e7-80ec-4c2d-9687-8dbf76b1b26b} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (68, 33, 840854c5-65fa-4420-a97c-a72c4387e949) tried to remove data part all_79_79_0 from test_aiaw105b.src (64b80d4e-c30d-4053-992d-d9ceeba251a8), but it's locked by another transaction (TID: (68, 35, 840854c5-65fa-4420-a97c-a72c4387e949), TIDH: 15970735897023433160) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:43156) (comment: 01169_old_alter_partition_isolation_stress.sh) (in query: ALTER TABLE src DROP PARTITION ID 'all';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001996a3dc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TransactionVersionMetadata.cpp:0: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x0000000019966175 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:0: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001968447e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x00000000196842e9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001a865620 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8bf2a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879121 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:19.744553 [ 32822 ] {e77d97e7-80ec-4c2d-9687-8dbf76b1b26b} TCPHandler: Code: 650. DB::Exception: Serialization error: Transaction (68, 33, 840854c5-65fa-4420-a97c-a72c4387e949) tried to remove data part all_79_79_0 from test_aiaw105b.src (64b80d4e-c30d-4053-992d-d9ceeba251a8), but it's locked by another transaction (TID: (68, 35, 840854c5-65fa-4420-a97c-a72c4387e949), TIDH: 15970735897023433160) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001996a3dc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TransactionVersionMetadata.cpp:0: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x0000000019966175 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:0: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001968447e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x00000000196842e9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001a865620 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8bf2a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879121 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:21.734415 [ 32817 ] {69549c3e-1565-4756-bb90-9e2b85d0563d} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (73, 35, 840854c5-65fa-4420-a97c-a72c4387e949) tried to remove data part all_96_96_0 from test_aiaw105b.src (64b80d4e-c30d-4053-992d-d9ceeba251a8), but it's locked by another transaction (TID: (73, 33, 840854c5-65fa-4420-a97c-a72c4387e949), TIDH: 10957094941086615071) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33774) (comment: 01169_old_alter_partition_isolation_stress.sh) (in query: ALTER TABLE src DROP PARTITION ID 'all';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001996a3dc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TransactionVersionMetadata.cpp:0: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x0000000019966175 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:0: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001968447e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x00000000196842e9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001a865620 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8bf2a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879121 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:21.751453 [ 32817 ] {69549c3e-1565-4756-bb90-9e2b85d0563d} TCPHandler: Code: 650. DB::Exception: Serialization error: Transaction (73, 35, 840854c5-65fa-4420-a97c-a72c4387e949) tried to remove data part all_96_96_0 from test_aiaw105b.src (64b80d4e-c30d-4053-992d-d9ceeba251a8), but it's locked by another transaction (TID: (73, 33, 840854c5-65fa-4420-a97c-a72c4387e949), TIDH: 10957094941086615071) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001996a3dc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TransactionVersionMetadata.cpp:0: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x0000000019966175 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:0: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001968447e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x00000000196842e9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001a865620 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8bf2a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879121 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:22.254496 [ 7302 ] {01167_isolation_hermitage_test_p5fg7plx_tx5_3794} test_p5fg7plx.test (eb44e351-914c-4d68-9b41-a59313325907): Cannot find transaction (35, 36, 840854c5-65fa-4420-a97c-a72c4387e949) which had started mutation mutation_5.txt, probably it finished 2024.05.01 14:50:24.044230 [ 32846 ] {74956f59-f4ce-4392-ab52-2a1196e9916e} executeQuery: Code: 650. DB::Exception: Serialization error: Transaction (79, 42, 840854c5-65fa-4420-a97c-a72c4387e949) tried to remove data part all_111_111_0 from test_aiaw105b.src (64b80d4e-c30d-4053-992d-d9ceeba251a8), but it's locked by another transaction (TID: (79, 39, 840854c5-65fa-4420-a97c-a72c4387e949), TIDH: 364107258832740287) which is currently removing this part. (SERIALIZATION_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33942) (comment: 01169_old_alter_partition_isolation_stress.sh) (in query: ALTER TABLE src DROP PARTITION ID 'all';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001996a3dc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TransactionVersionMetadata.cpp:0: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x0000000019966175 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:0: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001968447e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x00000000196842e9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001a865620 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8bf2a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879121 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:24.046503 [ 32846 ] {74956f59-f4ce-4392-ab52-2a1196e9916e} TCPHandler: Code: 650. DB::Exception: Serialization error: Transaction (79, 42, 840854c5-65fa-4420-a97c-a72c4387e949) tried to remove data part all_111_111_0 from test_aiaw105b.src (64b80d4e-c30d-4053-992d-d9ceeba251a8), but it's locked by another transaction (TID: (79, 39, 840854c5-65fa-4420-a97c-a72c4387e949), TIDH: 364107258832740287) which is currently removing this part. (SERIALIZATION_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, DB::TransactionID const&, String&, String&&, DB::TransactionID&&, unsigned long&) @ 0x000000001996a3dc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TransactionVersionMetadata.cpp:0: DB::VersionMetadata::lockRemovalTID(DB::TransactionID const&, DB::TransactionInfoContext const&) @ 0x0000000019966175 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:0: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::TransactionInfoContext const&) @ 0x000000001968447e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/MergeTreeTransaction.cpp:93: DB::MergeTreeTransaction::removeOldPart(std::shared_ptr const&, std::shared_ptr const&, DB::MergeTreeTransaction*) @ 0x00000000196842e9 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::removePartsFromWorkingSet(DB::MergeTreeTransaction*, std::vector, std::allocator>> const&, bool, DB::DataPartsLock&) @ 0x000000001a865620 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::dropPartition(std::shared_ptr const&, bool, std::shared_ptr) @ 0x000000001ac8bf2a in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:5144: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a879121 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:27.726542 [ 32846 ] {10ec8f38-8c57-4da9-a5a5-3af6019eb57b} executeQuery: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statement with subquery may be nondeterministic, see allow_nondeterministic_mutations setting. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34214) (comment: 01162_strange_mutations.sh) (in query: ALTER TABLE test UPDATE test = (SELECT groupArray(id) FROM t1 GROUP BY 'dummy')[n - 99] WHERE 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [120]) @ 0x000000001840c086 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/MutationsInterpreter.cpp:0: DB::MutationsInterpreter::validate() @ 0x000000001969f8ba in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193742b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:27.728227 [ 32846 ] {10ec8f38-8c57-4da9-a5a5-3af6019eb57b} TCPHandler: Code: 36. DB::Exception: ALTER UPDATE/ALTER DELETE statement with subquery may be nondeterministic, see allow_nondeterministic_mutations setting. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [120]) @ 0x000000001840c086 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/MutationsInterpreter.cpp:0: DB::MutationsInterpreter::validate() @ 0x000000001969f8ba in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193742b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:30.920953 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx7_1261} test_p5fg7plx.test (eb44e351-914c-4d68-9b41-a59313325907): Cannot find transaction (74, 41, 840854c5-65fa-4420-a97c-a72c4387e949) which had started mutation mutation_13.txt, probably it finished 2024.05.01 14:50:31.026840 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx8_18675} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_17.txt' with part 'all_14_14_0' reason: 'Serialization error: part all_14_14_0 is locked by transaction 16185220864661561484'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55542) (in query: alter table test update value=22 where id=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001aa32f18 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001aa32ccc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001ac74b35 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001ac759f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:31.027822 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx8_18675} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_17.txt' with part 'all_14_14_0' reason: 'Serialization error: part all_14_14_0 is locked by transaction 16185220864661561484'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001aa32f18 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001aa32ccc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001ac74b35 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001ac759f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:31.092623 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx8_25545} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55568) (in query: select 9, * from test order by id), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:31.093962 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx8_25545} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:31.244913 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx8_22882} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55586) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:31.246080 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx8_22882} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:35.915047 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx9_20299} test_p5fg7plx.test (eb44e351-914c-4d68-9b41-a59313325907): Cannot find transaction (87, 58, 840854c5-65fa-4420-a97c-a72c4387e949) which had started mutation mutation_16.txt, probably it finished 2024.05.01 14:50:36.195140 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx10_22981} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_22.txt' with part 'all_18_18_0' reason: 'Serialization error: part all_18_18_0 is locked by transaction 4166570877691237164'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55662) (in query: alter table test update value = 12 where id = 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001aa32f18 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001aa32ccc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001ac74b35 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001ac759f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:36.198055 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx10_22981} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_22.txt' with part 'all_18_18_0' reason: 'Serialization error: part all_18_18_0 is locked by transaction 4166570877691237164'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001aa32f18 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001aa32ccc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001ac74b35 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001ac759f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:36.322715 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx10_18850} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55680) (in query: alter table test update value = 18 where id = 2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:36.325331 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx10_18850} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:36.420614 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx10_379} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:55696) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:36.422784 [ 32849 ] {01167_isolation_hermitage_test_p5fg7plx_tx10_379} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:37.703727 [ 19111 ] {a46e46c8-6185-4047-87f9-db8e3c4daadd} executeQuery: Code: 191. DB::Exception: Limit for IN-set exceeded, max rows: 20.00, current rows: 21.00: While executing CreatingSetsTransform. (SET_SIZE_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49992) (comment: 01134_set_overflow_mode.sql) (in query: SELECT arrayJoin([5, 25]) IN (SELECT DISTINCT toUInt8(intDiv(number, 10)) FROM numbers(300));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, DB::SetKeyColumns&) @ 0x00000000197bffe4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x00000000197bf3c8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector> const&) @ 0x00000000197bf19f in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:146: DB::CreatingSetsTransform::consume(DB::Chunk) @ 0x000000001b2ea4aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::IAccumulatingTransform::work() @ 0x000000001b2ef608 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:52: DB::CreatingSetsTransform::work() @ 0x000000001b2e74a1 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:37.704856 [ 19111 ] {a46e46c8-6185-4047-87f9-db8e3c4daadd} TCPHandler: Code: 191. DB::Exception: Limit for IN-set exceeded, max rows: 20.00, current rows: 21.00: While executing CreatingSetsTransform. (SET_SIZE_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, DB::SetKeyColumns&) @ 0x00000000197bffe4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x00000000197bf3c8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector> const&) @ 0x00000000197bf19f in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:146: DB::CreatingSetsTransform::consume(DB::Chunk) @ 0x000000001b2ea4aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::IAccumulatingTransform::work() @ 0x000000001b2ef608 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:52: DB::CreatingSetsTransform::work() @ 0x000000001b2e74a1 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:37.922987 [ 19111 ] {e825f5f5-a5b1-43c9-9351-43f5f895a7c7} executeQuery: Code: 191. DB::Exception: Limit for IN-set exceeded, max rows: 20.00, current rows: 21.00: While executing CreatingSetsTransform. (SET_SIZE_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49992) (comment: 01134_set_overflow_mode.sql) (in query: SELECT arrayJoin([5, 25]) IN (SELECT DISTINCT toUInt8(intDiv(number, 10)) FROM numbers(210));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, DB::SetKeyColumns&) @ 0x00000000197bffe4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x00000000197bf3c8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector> const&) @ 0x00000000197bf19f in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:146: DB::CreatingSetsTransform::consume(DB::Chunk) @ 0x000000001b2ea4aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::IAccumulatingTransform::work() @ 0x000000001b2ef608 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:52: DB::CreatingSetsTransform::work() @ 0x000000001b2e74a1 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:37.924055 [ 19111 ] {e825f5f5-a5b1-43c9-9351-43f5f895a7c7} TCPHandler: Code: 191. DB::Exception: Limit for IN-set exceeded, max rows: 20.00, current rows: 21.00: While executing CreatingSetsTransform. (SET_SIZE_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, DB::SetKeyColumns&) @ 0x00000000197bffe4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromColumns(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x00000000197bf3c8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Set.cpp:0: DB::Set::insertFromBlock(std::vector> const&) @ 0x00000000197bf19f in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:146: DB::CreatingSetsTransform::consume(DB::Chunk) @ 0x000000001b2ea4aa in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::IAccumulatingTransform::work() @ 0x000000001b2ef608 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/CreatingSetsTransform.cpp:52: DB::CreatingSetsTransform::work() @ 0x000000001b2e74a1 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 15. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:38.094246 [ 32876 ] {c5044363-35d2-48ee-91e6-aeb64a8dfbbb} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 30.00: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50066) (comment: 01132_max_rows_to_read.sql) (in query: SELECT count() FROM numbers(30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:38.096099 [ 32876 ] {c5044363-35d2-48ee-91e6-aeb64a8dfbbb} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 30.00: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:38.259846 [ 32876 ] {670bdc1f-8804-4e6d-8efa-d04b63d544e7} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 21.00: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50066) (comment: 01132_max_rows_to_read.sql) (in query: SELECT count() FROM numbers(21);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:38.260954 [ 32876 ] {670bdc1f-8804-4e6d-8efa-d04b63d544e7} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 21.00: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 9. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:38.271951 [ 32876 ] {18fcfa0e-beec-4a0b-a4ed-fe53ad7ec405} executeQuery: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 30.00: While executing Numbers. (TOO_MANY_ROWS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50066) (comment: 01132_max_rows_to_read.sql) (in query: -- check early exception if the estimated number of rows is high SELECT * FROM numbers(30);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:38.272461 [ 32876 ] {18fcfa0e-beec-4a0b-a4ed-fe53ad7ec405} TCPHandler: Code: 158. DB::Exception: Limit for rows or bytes to read exceeded, max rows: 20.00, current rows: 30.00: While executing Numbers. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/ReadProgressCallback.cpp:109: DB::ReadProgressCallback::onProgress(unsigned long, unsigned long, std::list> const&) @ 0x00000000183e69c7 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:62: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f631 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 10. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:40.595673 [ 19111 ] {795dddd7-1feb-4f79-b470-cc6f0e05863b} executeQuery: Code: 630. DB::Exception: Cannot drop or rename test_bsx3dse4.join, because some tables depend on it: test_bsx3dse4.t (40977d1e-210b-4d60-9295-b3903e815924), test_bsx3dse4.s, test_bsx3dse4.dict2. (HAVE_DEPENDENT_OBJECTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50228) (comment: 01160_table_dependencies.sh) (in query: rename table join to join1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x00000000189d5bdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x00000000189d01db in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1382: DB::DatabaseCatalog::removeDependencies(DB::StorageID const&, bool, bool, bool) @ 0x00000000189cfbd2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521bf5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:40.597363 [ 19111 ] {795dddd7-1feb-4f79-b470-cc6f0e05863b} TCPHandler: Code: 630. DB::Exception: Cannot drop or rename test_bsx3dse4.join, because some tables depend on it: test_bsx3dse4.t (40977d1e-210b-4d60-9295-b3903e815924), test_bsx3dse4.s, test_bsx3dse4.dict2. (HAVE_DEPENDENT_OBJECTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x00000000189d5bdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x00000000189d01db in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1382: DB::DatabaseCatalog::removeDependencies(DB::StorageID const&, bool, bool, bool) @ 0x00000000189cfbd2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521bf5 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:41.116286 [ 32829 ] {e1937ac7-84be-41a5-8282-70e04d02bbff} executeQuery: Code: 630. DB::Exception: Cannot drop or rename test_bsx3dse4.join (dcbcbd24-5759-432e-9559-0e7ad9ab1534), because some tables depend on it: test_bsx3dse4.t (40977d1e-210b-4d60-9295-b3903e815924), test_bsx3dse4.s, test_bsx3dse4.dict2. (HAVE_DEPENDENT_OBJECTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39486) (comment: 01160_table_dependencies.sh) (in query: drop table join), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x00000000189d5bdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x00000000189d01db in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x00000000189d0695 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000019390124 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:41.222834 [ 32829 ] {e1937ac7-84be-41a5-8282-70e04d02bbff} TCPHandler: Code: 630. DB::Exception: Cannot drop or rename test_bsx3dse4.join (dcbcbd24-5759-432e-9559-0e7ad9ab1534), because some tables depend on it: test_bsx3dse4.t (40977d1e-210b-4d60-9295-b3903e815924), test_bsx3dse4.s, test_bsx3dse4.dict2. (HAVE_DEPENDENT_OBJECTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x00000000189d5bdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x00000000189d01db in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x00000000189d0695 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000019390124 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:41.222996 [ 32876 ] {a068ec84-661a-4fc8-8a8f-bbf6800d9d78} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 128.00 MiB (attempt to allocate chunk of 134221824 bytes), maximum: 15.26 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39470) (comment: 01109_inflating_cross_join.sql) (in query: SELECT count(*) FROM numbers(10000) n1 CROSS JOIN numbers(1000) n2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnVector::reserve(unsigned long) @ 0x0000000019dcd71a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::HashJoin::joinBlockImplCross(DB::Block&, std::shared_ptr&) const @ 0x00000000190670c6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/HashJoin.cpp:0: DB::HashJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x0000000019069818 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1570: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001b310962 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/JoinStep.cpp:29: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001b55416b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540beb in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:41.223865 [ 32876 ] {a068ec84-661a-4fc8-8a8f-bbf6800d9d78} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 128.00 MiB (attempt to allocate chunk of 134221824 bytes), maximum: 15.26 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::ColumnVector::reserve(unsigned long) @ 0x0000000019dcd71a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::HashJoin::joinBlockImplCross(DB::Block&, std::shared_ptr&) const @ 0x00000000190670c6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/HashJoin.cpp:0: DB::HashJoin::joinBlock(DB::Block&, std::shared_ptr&) @ 0x0000000019069818 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1570: DB::JoiningTransform::transformHeader(DB::Block, std::shared_ptr const&) @ 0x000000001b310962 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/QueryPlan/JoinStep.cpp:29: DB::JoinStep::JoinStep(DB::DataStream const&, DB::DataStream const&, std::shared_ptr, unsigned long, unsigned long, bool) @ 0x000000001b55416b in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540beb in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:41.646838 [ 8776 ] {fce3a32f-3944-4303-8877-844a2fad0e85} executeQuery: Code: 630. DB::Exception: Cannot drop or rename test_bsx3dse4.dict1 (58a28315-7992-4a5a-bcba-0c792351625f), because some tables depend on it: test_bsx3dse4.t (40977d1e-210b-4d60-9295-b3903e815924), test_bsx3dse4.join. (HAVE_DEPENDENT_OBJECTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39518) (comment: 01160_table_dependencies.sh) (in query: detach dictionary dict1 permanently), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x00000000189d5bdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x00000000189d01db in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1382: DB::DatabaseCatalog::removeDependencies(DB::StorageID const&, bool, bool, bool) @ 0x00000000189cfbd2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001939044d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:41.648464 [ 8776 ] {fce3a32f-3944-4303-8877-844a2fad0e85} TCPHandler: Code: 630. DB::Exception: Cannot drop or rename test_bsx3dse4.dict1 (58a28315-7992-4a5a-bcba-0c792351625f), because some tables depend on it: test_bsx3dse4.t (40977d1e-210b-4d60-9295-b3903e815924), test_bsx3dse4.join. (HAVE_DEPENDENT_OBJECTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x00000000189d5bdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x00000000189d01db in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1382: DB::DatabaseCatalog::removeDependencies(DB::StorageID const&, bool, bool, bool) @ 0x00000000189cfbd2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001939044d in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.901938 [ 32876 ] {ca89de5e-41ae-4156-8c66-1cde5adad80a} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39610) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.902351 [ 9603 ] {4f6246e2-eefd-4e33-8518-72c8aac3bec5} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39656) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.902370 [ 8758 ] {d585b365-7664-452f-bf2e-6f7e47c285a8} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39644) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.902467 [ 5065 ] {b4ef3323-c724-49f7-8ae7-87beab9d53c9} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39672) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.902447 [ 8754 ] {e46ebf8e-b16b-471b-ba3a-72cee1101dff} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39628) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.902524 [ 11350 ] {da2ba0b8-ebc8-4b52-878e-f871df87202a} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39650) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.914236 [ 11350 ] {da2ba0b8-ebc8-4b52-878e-f871df87202a} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.914570 [ 8758 ] {d585b365-7664-452f-bf2e-6f7e47c285a8} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.914609 [ 5065 ] {b4ef3323-c724-49f7-8ae7-87beab9d53c9} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.914889 [ 32829 ] {f8c461ca-2313-4bf1-910d-e01b3d4c538a} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39678) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.915000 [ 8754 ] {e46ebf8e-b16b-471b-ba3a-72cee1101dff} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.916856 [ 9603 ] {4f6246e2-eefd-4e33-8518-72c8aac3bec5} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.916945 [ 32876 ] {ca89de5e-41ae-4156-8c66-1cde5adad80a} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.918292 [ 32823 ] {ce20fb62-b99c-4923-910a-aa952b82be45} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39710) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.919721 [ 32823 ] {ce20fb62-b99c-4923-910a-aa952b82be45} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:42.921713 [ 32829 ] {f8c461ca-2313-4bf1-910d-e01b3d4c538a} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:43.037247 [ 32821 ] {ace4cfa4-97c5-43da-bbeb-bb2ed6e77a50} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table (this might take several minutes) 2024.05.01 14:50:43.042490 [ 32821 ] {ace4cfa4-97c5-43da-bbeb-bb2ed6e77a50} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table were removed by another replica 2024.05.01 14:50:43.055092 [ 32821 ] {ace4cfa4-97c5-43da-bbeb-bb2ed6e77a50} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table (this might take several minutes) 2024.05.01 14:50:43.056733 [ 32821 ] {ace4cfa4-97c5-43da-bbeb-bb2ed6e77a50} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table were removed by another replica 2024.05.01 14:50:43.065200 [ 32821 ] {ace4cfa4-97c5-43da-bbeb-bb2ed6e77a50} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table (this might take several minutes) 2024.05.01 14:50:43.068135 [ 32821 ] {ace4cfa4-97c5-43da-bbeb-bb2ed6e77a50} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table were removed by another replica 2024.05.01 14:50:43.069543 [ 32855 ] {6fbf949d-a089-42d2-ba2b-74d4c92a3614} executeQuery: Code: 48. DB::Exception: Table engine Join supports only DELETE mutations. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39722) (comment: 01162_strange_mutations.sh) (in query: ALTER TABLE test UPDATE test = (SELECT groupArray(id) FROM t1)[n - 99] WHERE 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x0000000008effa26 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageJoin.cpp:120: DB::StorageJoin::checkMutationIsPossible(DB::MutationCommands const&, DB::Settings const&) const @ 0x000000001a16fc32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374112 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:43.071608 [ 32855 ] {6fbf949d-a089-42d2-ba2b-74d4c92a3614} TCPHandler: Code: 48. DB::Exception: Table engine Join supports only DELETE mutations. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x0000000008effa26 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageJoin.cpp:120: DB::StorageJoin::checkMutationIsPossible(DB::MutationCommands const&, DB::Settings const&) const @ 0x000000001a16fc32 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374112 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:43.076645 [ 32821 ] {ace4cfa4-97c5-43da-bbeb-bb2ed6e77a50} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table (this might take several minutes) 2024.05.01 14:50:43.078598 [ 32821 ] {ace4cfa4-97c5-43da-bbeb-bb2ed6e77a50} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table were removed by another replica 2024.05.01 14:50:43.094776 [ 32821 ] {ace4cfa4-97c5-43da-bbeb-bb2ed6e77a50} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table (this might take several minutes) 2024.05.01 14:50:43.096178 [ 32821 ] {ace4cfa4-97c5-43da-bbeb-bb2ed6e77a50} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table were removed by another replica 2024.05.01 14:50:43.106899 [ 32821 ] {ace4cfa4-97c5-43da-bbeb-bb2ed6e77a50} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table (this might take several minutes) 2024.05.01 14:50:43.109981 [ 32821 ] {ace4cfa4-97c5-43da-bbeb-bb2ed6e77a50} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table were removed by another replica 2024.05.01 14:50:43.330226 [ 17586 ] {bafa1670-0316-4d95-b99f-fa3e126eda72} executeQuery: Code: 57. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39648) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192b0012 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:43.332268 [ 17586 ] {bafa1670-0316-4d95-b99f-fa3e126eda72} TCPHandler: Code: 57. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192b0012 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:43.333466 [ 32852 ] {a6765b14-0012-4fdf-9071-7222ac4c9ad2} executeQuery: Code: 57. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39716) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192b0012 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:43.350624 [ 32852 ] {a6765b14-0012-4fdf-9071-7222ac4c9ad2} TCPHandler: Code: 57. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192b0012 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:43.578222 [ 11350 ] {1e81474a-d5bd-4ce6-b957-38f1713ab1eb} executeQuery: Code: 630. DB::Exception: Cannot drop or rename test_bsx3dse4.dict1, because some tables depend on it: test_bsx3dse4.t (40977d1e-210b-4d60-9295-b3903e815924), test_bsx3dse4.join. (HAVE_DEPENDENT_OBJECTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39794) (comment: 01160_table_dependencies.sh) (in query: rename database test_bsx3dse4 to test_bsx3dse4_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x00000000189d5bdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x00000000189d01db in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x00000000189d0695 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::DatabaseAtomic::renameDatabase(std::shared_ptr, String const&) @ 0x00000000186453e1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToDatabase(DB::ASTRenameQuery const&, std::vector> const&) @ 0x0000000019521228 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:73: DB::InterpreterRenameQuery::execute() @ 0x00000000195200a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:43.583958 [ 11350 ] {1e81474a-d5bd-4ce6-b957-38f1713ab1eb} TCPHandler: Code: 630. DB::Exception: Cannot drop or rename test_bsx3dse4.dict1, because some tables depend on it: test_bsx3dse4.t (40977d1e-210b-4d60-9295-b3903e815924), test_bsx3dse4.join. (HAVE_DEPENDENT_OBJECTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type>, DB::StorageID const&, fmt::v8::join_view, std::__wrap_iter, char>&&) @ 0x00000000189d5bdd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:1422: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamedUnlocked(DB::StorageID const&, bool, bool, bool) const @ 0x00000000189d01db in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseCatalog::checkTableCanBeRemovedOrRenamed(DB::StorageID const&, bool, bool, bool) const @ 0x00000000189d0695 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::DatabaseAtomic::renameDatabase(std::shared_ptr, String const&) @ 0x00000000186453e1 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::executeToDatabase(DB::ASTRenameQuery const&, std::vector> const&) @ 0x0000000019521228 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:73: DB::InterpreterRenameQuery::execute() @ 0x00000000195200a6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.132939 [ 19121 ] {845bd7ec-32ef-4391-b03e-1a766e30a499} executeQuery: Code: 81. DB::Exception: Database test_bsx3dse4_2 does not exist. Maybe you meant test_bsx3dse4?. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39854) (comment: 01160_table_dependencies.sh) (in query: rename table t to test_bsx3dse4_2.t), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c39d9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:144: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521ccf in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.441900 [ 849 ] {} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): void DB::StorageReplicatedMergeTree::queueUpdatingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5266: DB::StorageReplicatedMergeTree::queueUpdatingTask() @ 0x000000001a2cf4ec in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_1, void ()>>(std::__function::__policy_storage const*) @ 0x000000001a377962 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x0000000018064f78 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x000000001806842e in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000018068d0b in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 11. ? @ 0x00007f5975bcaac3 in ? 12. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:44.572486 [ 730 ] {} test_e6fum6fa.concurrent_optimize_table (5bebf684-49fe-4a91-94df-f447e571feb2): void DB::StorageReplicatedMergeTree::mergeSelectingTask(): Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:5266: DB::StorageReplicatedMergeTree::mergeSelectingTask() @ 0x000000001a2d4bbe in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool)::$_3, void ()>>(std::__function::__policy_storage const*) @ 0x000000001a3779e2 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::BackgroundSchedulePoolTaskInfo::execute() @ 0x0000000018064f78 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::BackgroundSchedulePool::threadFunction() @ 0x000000001806842e in /usr/bin/clickhouse 7. ./build_docker/./src/Core/BackgroundSchedulePool.cpp:0: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl, StrongTypedef, char const*)::$_0>(DB::BackgroundSchedulePool::BackgroundSchedulePool(unsigned long, StrongTypedef, StrongTypedef, char const*)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000018068d0b in /usr/bin/clickhouse 8. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 10. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 11. ? @ 0x00007f5975bcaac3 in ? 12. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:44.572602 [ 19121 ] {845bd7ec-32ef-4391-b03e-1a766e30a499} TCPHandler: Code: 81. DB::Exception: Database test_bsx3dse4_2 does not exist. Maybe you meant test_bsx3dse4?. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c39d9 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:144: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521ccf in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.671193 [ 19106 ] {a21c1ae9-8155-439e-b154-9d45fadb76c4} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39898) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f9a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.671330 [ 9606 ] {97865e92-6ec5-4cd7-ada0-f6c71f3f1dac} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39914) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f9a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.671472 [ 18910 ] {476e4a5c-b360-4fcb-bb15-502baa39bc66} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39934) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f9a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.671716 [ 8754 ] {7228925b-a840-4df8-9123-5d9cfa57157e} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39774) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.672762 [ 19106 ] {a21c1ae9-8155-439e-b154-9d45fadb76c4} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f9a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.672871 [ 9606 ] {97865e92-6ec5-4cd7-ada0-f6c71f3f1dac} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f9a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.673513 [ 32876 ] {d562452d-c0ad-4139-bd95-d2c6cbe4231c} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39762) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.673703 [ 32829 ] {ae618264-364b-4568-aba9-7d3c3f8fe730} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39772) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.838666 [ 18910 ] {476e4a5c-b360-4fcb-bb15-502baa39bc66} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f9a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.838739 [ 8754 ] {7228925b-a840-4df8-9123-5d9cfa57157e} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.838920 [ 690 ] {60228681-5bcf-4c2d-b80d-77037c08cd0a} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39894) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.840169 [ 32876 ] {d562452d-c0ad-4139-bd95-d2c6cbe4231c} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.840295 [ 32829 ] {ae618264-364b-4568-aba9-7d3c3f8fe730} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.840525 [ 8758 ] {8081c544-51e0-4cc6-8697-84d9d30134d5} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39788) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.842875 [ 690 ] {60228681-5bcf-4c2d-b80d-77037c08cd0a} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.845391 [ 8758 ] {8081c544-51e0-4cc6-8697-84d9d30134d5} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.920730 [ 32823 ] {b18693fd-4ddc-4e6d-afce-f6f48ab606cd} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39952) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:44.921985 [ 32823 ] {b18693fd-4ddc-4e6d-afce-f6f48ab606cd} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:45.030568 [ 32876 ] {27faafbf-8cdc-4d35-9d69-fddd3180170d} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39960) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:45.032170 [ 32876 ] {27faafbf-8cdc-4d35-9d69-fddd3180170d} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:45.183675 [ 11350 ] {7be5ac40-f8f2-4b18-a6fa-97a1feec04f5} executeQuery: Code: 341. DB::Exception: Log entry log-0000000006 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39848) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6344: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f998d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:45.183700 [ 32823 ] {b50c2d23-4dbe-4733-82eb-3fde43726f68} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39996) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:45.183999 [ 9606 ] {fc92c251-5066-40b4-9f22-7c5748c5cb62} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40008) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:45.185195 [ 9606 ] {fc92c251-5066-40b4-9f22-7c5748c5cb62} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:45.185595 [ 690 ] {5808e9b3-ed83-4b2c-ad11-f31590b56f60} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40016) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:45.186591 [ 690 ] {5808e9b3-ed83-4b2c-ad11-f31590b56f60} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:45.187025 [ 32823 ] {b50c2d23-4dbe-4733-82eb-3fde43726f68} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:45.187747 [ 11350 ] {7be5ac40-f8f2-4b18-a6fa-97a1feec04f5} TCPHandler: Code: 341. DB::Exception: Log entry log-0000000006 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6344: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f998d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:45.200201 [ 19106 ] {b68c865f-db32-4650-a6cb-8daaf78924e8} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40026) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:45.201302 [ 19106 ] {b68c865f-db32-4650-a6cb-8daaf78924e8} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.246481 [ 32855 ] {182254b1-2095-4244-a24a-e4d4ae4b548c} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40234) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f9a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.248991 [ 32855 ] {182254b1-2095-4244-a24a-e4d4ae4b548c} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f9a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.260949 [ 17919 ] {f64dee78-b779-4deb-b3f7-6559bd8f3277} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40122) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.261013 [ 1140 ] {a31f0f8b-f570-4255-862d-6989a62a732e} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40102) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.262768 [ 18910 ] {d988610d-932e-4167-9cde-1ebd343e0b14} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40106) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.263748 [ 9606 ] {28e5e3ec-3edd-4d43-88e6-f1ba3962b5e7} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40092) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.266526 [ 17919 ] {f64dee78-b779-4deb-b3f7-6559bd8f3277} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.271117 [ 1140 ] {a31f0f8b-f570-4255-862d-6989a62a732e} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.277547 [ 18910 ] {d988610d-932e-4167-9cde-1ebd343e0b14} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.280072 [ 9606 ] {28e5e3ec-3edd-4d43-88e6-f1ba3962b5e7} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.534543 [ 32821 ] {573c83ec-5cd0-4957-8a5f-86eca999f814} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40236) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.537315 [ 32821 ] {573c83ec-5cd0-4957-8a5f-86eca999f814} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.576825 [ 32855 ] {503d2f48-cc59-4124-9f90-e740fb8138dd} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40250) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.581193 [ 32855 ] {503d2f48-cc59-4124-9f90-e740fb8138dd} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.617077 [ 32829 ] {472d7269-7e15-4d6f-84cc-ee6ba9786c90} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40280) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.618766 [ 32829 ] {472d7269-7e15-4d6f-84cc-ee6ba9786c90} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.622641 [ 8754 ] {5a55aa09-6ee7-4b87-8e44-5d94f93a5387} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40294) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.624019 [ 8754 ] {5a55aa09-6ee7-4b87-8e44-5d94f93a5387} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.633679 [ 7349 ] {a9f8f859-a6d2-4235-9f0b-6f2bad1abf7e} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40284) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.635098 [ 7349 ] {a9f8f859-a6d2-4235-9f0b-6f2bad1abf7e} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.645861 [ 11350 ] {e0f87cf4-5040-4985-ac42-92d037bc7c45} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40312) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.647043 [ 11350 ] {e0f87cf4-5040-4985-ac42-92d037bc7c45} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.662571 [ 19121 ] {c9abb108-ed58-44fb-8cb2-5e4454af25aa} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40320) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.662932 [ 8758 ] {66d889ff-4e93-43f6-9996-e9483afdb713} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40310) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.664710 [ 8758 ] {66d889ff-4e93-43f6-9996-e9483afdb713} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:46.665286 [ 19121 ] {c9abb108-ed58-44fb-8cb2-5e4454af25aa} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.021154 [ 32855 ] {1e58f03e-3dcc-4204-8b08-667ff02337d3} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40356) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.022432 [ 32855 ] {1e58f03e-3dcc-4204-8b08-667ff02337d3} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.094958 [ 32852 ] {24cbf5e5-a472-4661-8c6d-bc450fdc05e4} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40362) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.106071 [ 32852 ] {24cbf5e5-a472-4661-8c6d-bc450fdc05e4} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.112361 [ 7349 ] {5ccf9478-283e-4f48-bb7f-1f23e67f3797} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40378) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.112607 [ 32829 ] {76150945-3112-4b0b-a1d6-d1e3591ee5cd} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40400) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.113746 [ 32849 ] {b7e3a921-f2a1-44a5-9300-05afdf524634} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40390) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.114481 [ 32829 ] {76150945-3112-4b0b-a1d6-d1e3591ee5cd} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.114670 [ 7349 ] {5ccf9478-283e-4f48-bb7f-1f23e67f3797} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.115446 [ 32849 ] {b7e3a921-f2a1-44a5-9300-05afdf524634} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.126222 [ 1524 ] {ac6803a2-423c-4ee0-a1e0-cb05281cbd1c} executeQuery: Code: 341. DB::Exception: Log entry log-0000000004 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40154) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6344: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f998d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.127750 [ 1524 ] {ac6803a2-423c-4ee0-a1e0-cb05281cbd1c} TCPHandler: Code: 341. DB::Exception: Log entry log-0000000004 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6344: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f998d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.350694 [ 32860 ] {6bc4457c-a829-4ffd-adbc-ae2135847b93} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40418) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.352230 [ 32860 ] {6bc4457c-a829-4ffd-adbc-ae2135847b93} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.378028 [ 8757 ] {e5081f11-cbf4-4299-8aa9-3278ee3641b6} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40432) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f9a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:47.379532 [ 8757 ] {e5081f11-cbf4-4299-8aa9-3278ee3641b6} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f9a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.223580 [ 8776 ] {c3217e56-a22c-4850-9a79-874b2570c14c} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40458) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.230002 [ 8776 ] {c3217e56-a22c-4850-9a79-874b2570c14c} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.243145 [ 32872 ] {5b6a99c6-3297-48ff-9292-8fa08e98a5ce} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40450) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.247383 [ 32872 ] {5b6a99c6-3297-48ff-9292-8fa08e98a5ce} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.253359 [ 2900 ] {61925ed9-452a-4c93-8731-943f844eb44e} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40438) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.259237 [ 2900 ] {61925ed9-452a-4c93-8731-943f844eb44e} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.324194 [ 19111 ] {706956b5-df66-4c9a-8d88-f15ea19ebcc1} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40446) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.328997 [ 19111 ] {706956b5-df66-4c9a-8d88-f15ea19ebcc1} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.329431 [ 7349 ] {d57fe537-33f2-42df-b589-e25c9a62e620} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40526) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.330996 [ 7349 ] {d57fe537-33f2-42df-b589-e25c9a62e620} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.390306 [ 19111 ] {c65b6165-c5ee-4c35-9295-54aa98790a44} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40542) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.391800 [ 19111 ] {c65b6165-c5ee-4c35-9295-54aa98790a44} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.394824 [ 2900 ] {a31ffa8e-96cf-446f-b74f-9e71e3151b79} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40538) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.408429 [ 2900 ] {a31ffa8e-96cf-446f-b74f-9e71e3151b79} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.565951 [ 2900 ] {ea2416af-cad6-45c2-8ce1-0a6b10531642} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40566) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.567295 [ 2900 ] {ea2416af-cad6-45c2-8ce1-0a6b10531642} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.594689 [ 8776 ] {a774e577-f2fe-4eaa-95c2-0d5170cbbeb2} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40580) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.595615 [ 19111 ] {fc1b4595-2a95-4811-92ca-d7fbe89b3035} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40582) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.596200 [ 8776 ] {a774e577-f2fe-4eaa-95c2-0d5170cbbeb2} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.596857 [ 19111 ] {fc1b4595-2a95-4811-92ca-d7fbe89b3035} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.626633 [ 32852 ] {bc7a88d7-ed3a-43d1-a06f-96708836e02e} executeQuery: Code: 57. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40514) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192b0012 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:48.627994 [ 32852 ] {bc7a88d7-ed3a-43d1-a06f-96708836e02e} TCPHandler: Code: 57. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192b0012 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.601622 [ 8758 ] {88f31096-28a7-4d27-86e0-3b85a606e34a} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40676) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.605918 [ 19111 ] {64c57eb1-34b9-476a-b23e-e0ac99836431} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40638) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.606568 [ 7349 ] {e95c074e-4a54-4528-bf43-73aba85f9ce5} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40650) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.606610 [ 32873 ] {1ed49e4d-f72a-48fe-9569-0d6e5067d8d8} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40590) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.607745 [ 8758 ] {88f31096-28a7-4d27-86e0-3b85a606e34a} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.610264 [ 19111 ] {64c57eb1-34b9-476a-b23e-e0ac99836431} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.611607 [ 7349 ] {e95c074e-4a54-4528-bf43-73aba85f9ce5} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.611761 [ 32873 ] {1ed49e4d-f72a-48fe-9569-0d6e5067d8d8} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.659960 [ 9606 ] {5457b9ca-f0f2-4d5a-9376-e0de6f940a58} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40760) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.661528 [ 9606 ] {5457b9ca-f0f2-4d5a-9376-e0de6f940a58} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.692392 [ 19119 ] {b82bdcd7-422d-4bf6-8ee1-4f12ceaf7e3c} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40748) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.693829 [ 19119 ] {b82bdcd7-422d-4bf6-8ee1-4f12ceaf7e3c} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.753523 [ 7349 ] {a0b1715a-ac19-4dbb-8563-10c86ed50ff3} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40776) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.754980 [ 7349 ] {a0b1715a-ac19-4dbb-8563-10c86ed50ff3} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.966199 [ 7349 ] {108ef412-cfe0-46ac-9931-934d80264fe9} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40814) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.967777 [ 7349 ] {108ef412-cfe0-46ac-9931-934d80264fe9} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.975503 [ 19111 ] {a5755cf2-5e17-47d1-82cb-350038be90c4} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40798) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.977148 [ 19111 ] {a5755cf2-5e17-47d1-82cb-350038be90c4} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.980494 [ 8776 ] {ef939abe-7974-4bea-97bf-2a6e89814b1f} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40800) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:49.982342 [ 8776 ] {ef939abe-7974-4bea-97bf-2a6e89814b1f} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.000437 [ 8758 ] {91a038b0-7034-4011-878f-7dc16d5fdc25} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40822) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.002337 [ 8758 ] {91a038b0-7034-4011-878f-7dc16d5fdc25} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.028286 [ 5065 ] {abad9714-4ee3-4f75-81ac-3998ebac0cc8} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40834) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.029619 [ 5065 ] {abad9714-4ee3-4f75-81ac-3998ebac0cc8} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.372876 [ 19121 ] {13b06ff8-2225-4911-a350-5639fb4a576d} executeQuery: Code: 341. DB::Exception: Log entry log-0000000021 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40690) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6344: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f998d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.411537 [ 7349 ] {ab887382-9a69-47d3-a640-d3804bd18d75} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40912) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.414403 [ 8776 ] {e60b016d-a042-499f-9648-9600400e8872} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40900) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.416017 [ 7349 ] {ab887382-9a69-47d3-a640-d3804bd18d75} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.416263 [ 8776 ] {e60b016d-a042-499f-9648-9600400e8872} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.416256 [ 19121 ] {13b06ff8-2225-4911-a350-5639fb4a576d} TCPHandler: Code: 341. DB::Exception: Log entry log-0000000021 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6344: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f998d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.454370 [ 11350 ] {4361ed89-e1b6-471d-998d-ad492098a9c3} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40938) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.456048 [ 11350 ] {4361ed89-e1b6-471d-998d-ad492098a9c3} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.460852 [ 5065 ] {a9302859-a680-455f-b999-92359298e8cb} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40942) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.461345 [ 32849 ] {2e1c33b7-d105-49a8-8574-effcaa7ad921} executeQuery: Code: 341. DB::Exception: Log entry log-0000000015 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40658) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6344: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f998d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.462111 [ 5065 ] {a9302859-a680-455f-b999-92359298e8cb} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.462653 [ 32849 ] {2e1c33b7-d105-49a8-8574-effcaa7ad921} TCPHandler: Code: 341. DB::Exception: Log entry log-0000000015 is not precessed on local replica, most likely because the replica was shut down. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6344: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f998d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.545694 [ 690 ] {38c8e136-0b0f-4739-88d9-996b678b7de9} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36032) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.549578 [ 690 ] {38c8e136-0b0f-4739-88d9-996b678b7de9} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.612106 [ 7349 ] {089d7453-e4b2-4d5a-9d24-136516aa9a91} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36048) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.613539 [ 7349 ] {089d7453-e4b2-4d5a-9d24-136516aa9a91} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.767533 [ 32876 ] {01167_isolation_hermitage_test_p5fg7plx_tx14_26846} test_p5fg7plx.test (eb44e351-914c-4d68-9b41-a59313325907): Cannot find transaction (88, 44, 840854c5-65fa-4420-a97c-a72c4387e949) which had started mutation mutation_21.txt, probably it finished 2024.05.01 14:50:50.862001 [ 32876 ] {01167_isolation_hermitage_test_p5fg7plx_tx15_4625} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_29.txt' with part 'all_26_26_0' reason: 'Serialization error: part all_26_26_0 is locked by transaction 13306180127984236227'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35202) (in query: alter table test delete where value = 20), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001aa32f18 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001aa32ccc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001ac74b35 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001ac759f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.863043 [ 32876 ] {01167_isolation_hermitage_test_p5fg7plx_tx15_4625} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_29.txt' with part 'all_26_26_0' reason: 'Serialization error: part all_26_26_0 is locked by transaction 13306180127984236227'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001aa32f18 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001aa32ccc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001ac74b35 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001ac759f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:50.917084 [ 32876 ] {01167_isolation_hermitage_test_p5fg7plx_tx15_11648} executeQuery: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35210) (in query: select 17, * from test order by id), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.919245 [ 32876 ] {01167_isolation_hermitage_test_p5fg7plx_tx15_11648} DynamicQueryHandler: Code: 649. DB::Exception: Cannot execute query because current transaction failed. Expecting ROLLBACK statement. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [86]) @ 0x000000000b5fd1a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/executeQuery.cpp:799: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a57616 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:50.939191 [ 32876 ] {01167_isolation_hermitage_test_p5fg7plx_tx15_30190} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35214) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:50.940177 [ 32876 ] {01167_isolation_hermitage_test_p5fg7plx_tx15_30190} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:51.102756 [ 17919 ] {be9ef7c5-a287-4cf9-a4b5-c40148d80beb} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36142) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.109738 [ 17919 ] {be9ef7c5-a287-4cf9-a4b5-c40148d80beb} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.127925 [ 1524 ] {638158f0-e237-423e-8810-60473646ac67} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36166) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.131207 [ 1524 ] {638158f0-e237-423e-8810-60473646ac67} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.178338 [ 5065 ] {bfcc91d9-3429-4c42-9c68-0a91ee7d10b6} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36108) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.184013 [ 5065 ] {bfcc91d9-3429-4c42-9c68-0a91ee7d10b6} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.227121 [ 11350 ] {d33c023d-34f4-4feb-b14a-56deb0ce659e} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36098) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.233586 [ 11350 ] {d33c023d-34f4-4feb-b14a-56deb0ce659e} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.250709 [ 8758 ] {e44214bc-5070-4a32-a215-0ee006129859} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36086) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.254663 [ 32823 ] {b4a77c54-2987-4deb-97a4-7149649b70e5} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36114) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.256607 [ 8758 ] {e44214bc-5070-4a32-a215-0ee006129859} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.259690 [ 32823 ] {b4a77c54-2987-4deb-97a4-7149649b70e5} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.300938 [ 1140 ] {3e52f2fb-762b-424f-b1b3-79f069326438} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36174) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.302341 [ 1140 ] {3e52f2fb-762b-424f-b1b3-79f069326438} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.374517 [ 8758 ] {45bb3617-db28-43bf-817d-73770fb3282d} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36188) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.376292 [ 8758 ] {45bb3617-db28-43bf-817d-73770fb3282d} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.867998 [ 17663 ] {b0827d31-1b3a-4121-ab19-36d2745f347d} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36252) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.869242 [ 17663 ] {b0827d31-1b3a-4121-ab19-36d2745f347d} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.873065 [ 11350 ] {9c8e5cba-9470-44f1-9738-d938303b2a09} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36198) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.880062 [ 11350 ] {9c8e5cba-9470-44f1-9738-d938303b2a09} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.958302 [ 8758 ] {a9617963-0f9d-412f-9fc0-beb6ab194854} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36202) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.963677 [ 8758 ] {a9617963-0f9d-412f-9fc0-beb6ab194854} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.965088 [ 5065 ] {3799182d-3fe6-4706-9ee2-68420cbe2b4a} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36206) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.966236 [ 32823 ] {6208e9f2-bc3b-4f55-8632-ca72533c870f} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36212) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.969417 [ 5065 ] {3799182d-3fe6-4706-9ee2-68420cbe2b4a} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:51.970873 [ 32823 ] {6208e9f2-bc3b-4f55-8632-ca72533c870f} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.101223 [ 18910 ] {2b3d433e-47fe-4748-a580-6a4858b0cd72} test_e6fum6fa.concurrent_optimize_table (25421591-2854-41a3-8f7b-5874d03e6323): Removing leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table (this might take several minutes) 2024.05.01 14:50:52.113475 [ 18910 ] {2b3d433e-47fe-4748-a580-6a4858b0cd72} test_e6fum6fa.concurrent_optimize_table (25421591-2854-41a3-8f7b-5874d03e6323): The leftovers from table /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table were removed by another replica 2024.05.01 14:50:52.143250 [ 32815 ] {a6951b45-ea44-4514-8351-2dc96d2e31a4} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36314) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.148083 [ 32815 ] {a6951b45-ea44-4514-8351-2dc96d2e31a4} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.329466 [ 17919 ] {1dd48532-f910-46b8-a7fe-6f4138486d22} executeQuery: Code: 57. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36238) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192b0012 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.339576 [ 17919 ] {1dd48532-f910-46b8-a7fe-6f4138486d22} TCPHandler: Code: 57. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192b0012 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.358378 [ 1435 ] {d01ccc77-085c-481d-9631-3970e04f03c4} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36356) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.360772 [ 1435 ] {d01ccc77-085c-481d-9631-3970e04f03c4} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.362785 [ 32826 ] {0f6c8df3-6b1f-4db2-a0fa-b0459f0a2344} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36336) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.365158 [ 32832 ] {fd334932-4270-4313-90ef-0aaa46258383} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36352) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.367119 [ 32822 ] {dcdf436b-251f-48fa-ba1e-c595f7de8287} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36334) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.368715 [ 32832 ] {fd334932-4270-4313-90ef-0aaa46258383} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.368782 [ 32826 ] {0f6c8df3-6b1f-4db2-a0fa-b0459f0a2344} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.375791 [ 7302 ] {298ef5b1-71ab-4e97-9d54-1fcd480b5ad1} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36384) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.383487 [ 32822 ] {dcdf436b-251f-48fa-ba1e-c595f7de8287} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.384430 [ 7302 ] {298ef5b1-71ab-4e97-9d54-1fcd480b5ad1} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.490400 [ 1524 ] {3a89d0a1-b83f-4ef6-8416-0ea3f3509ea6} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36386) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.498638 [ 1524 ] {3a89d0a1-b83f-4ef6-8416-0ea3f3509ea6} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.577052 [ 18910 ] {13090d12-54f6-4da8-81fc-72e5f8cd9a07} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36406) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.578849 [ 18910 ] {13090d12-54f6-4da8-81fc-72e5f8cd9a07} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.837830 [ 7349 ] {976044f3-557d-47d8-87e9-1cf81cc90991} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36440) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.839196 [ 7349 ] {976044f3-557d-47d8-87e9-1cf81cc90991} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.845137 [ 17919 ] {6b9569b5-c33e-4ee8-afa1-f1c258fcf547} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36448) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.845912 [ 17663 ] {48260a32-3b07-4895-b395-916e4ae14325} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36452) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.847118 [ 17919 ] {6b9569b5-c33e-4ee8-afa1-f1c258fcf547} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:52.847418 [ 17663 ] {48260a32-3b07-4895-b395-916e4ae14325} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.583587 [ 1524 ] {0dcf2f6d-8aad-4f33-993d-4a7af186c416} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36468) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.588441 [ 32815 ] {38e0d8e4-c2b4-4ca9-afef-8d97e456c52d} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36570) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.589771 [ 1524 ] {0dcf2f6d-8aad-4f33-993d-4a7af186c416} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.592790 [ 32815 ] {38e0d8e4-c2b4-4ca9-afef-8d97e456c52d} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.595560 [ 17663 ] {3982217c-c8b1-4a65-bd3e-5f59baab56a8} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36554) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.600055 [ 17663 ] {3982217c-c8b1-4a65-bd3e-5f59baab56a8} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.612506 [ 32832 ] {8b43653a-1982-4e7d-9bba-3641be583a92} executeQuery: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36598) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.616916 [ 32832 ] {8b43653a-1982-4e7d-9bba-3641be583a92} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode due to shutdown: replica_path=/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1. (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:574: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44e94 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac28a7d in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.702444 [ 17919 ] {bee6af43-79f7-40e8-b2c0-1fb8c7277a8d} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36628) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.720780 [ 17919 ] {bee6af43-79f7-40e8-b2c0-1fb8c7277a8d} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.862668 [ 32826 ] {956838e6-643f-4c44-9070-7e9d42d390ad} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36666) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.882440 [ 32826 ] {956838e6-643f-4c44-9070-7e9d42d390ad} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.977523 [ 32832 ] {83154ac3-74fa-4a7b-afb2-896ea494809d} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36682) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:53.991058 [ 32832 ] {83154ac3-74fa-4a7b-afb2-896ea494809d} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:54.052963 [ 18906 ] {ed725fa6-bc33-4444-89f6-75854170602e} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36696) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:54.054989 [ 1435 ] {dfdcd706-981d-42da-9f44-d7fdc5426086} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36690) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:54.066431 [ 18906 ] {ed725fa6-bc33-4444-89f6-75854170602e} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:54.081125 [ 1435 ] {dfdcd706-981d-42da-9f44-d7fdc5426086} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:54.097913 [ 32815 ] {bddb0efe-4f40-499b-ba3a-211421fce8cc} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36704) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:54.116679 [ 32815 ] {bddb0efe-4f40-499b-ba3a-211421fce8cc} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::getTable(DB::ASTInsertQuery&) @ 0x0000000019502b08 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:380: DB::InterpreterInsertQuery::execute() @ 0x0000000019506b24 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:54.127277 [ 17919 ] {addcd27e-da2d-489f-bb7c-746d8730352f} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36708) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:54.145956 [ 17919 ] {addcd27e-da2d-489f-bb7c-746d8730352f} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:54.222220 [ 1140 ] {3800c0e9-f659-479e-b90c-a5a46cc8632d} executeQuery: Code: 57. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36606) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192b0012 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:54.232026 [ 32817 ] {dc085a89-7bfd-4beb-be2b-914f5d4f96fb} executeQuery: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36732) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f9a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:54.250202 [ 1140 ] {3800c0e9-f659-479e-b90c-a5a46cc8632d} TCPHandler: Code: 57. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192b0012 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:54.261684 [ 32817 ] {dc085a89-7bfd-4beb-be2b-914f5d4f96fb} TCPHandler: Code: 242. DB::Exception: Table is in readonly mode (replica path: /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1). (TABLE_IS_READ_ONLY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::optimize(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, bool, bool, std::vector> const&, bool, std::shared_ptr) @ 0x000000001a2f9a1d in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:0: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951d508 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.614181 [ 1140 ] {f4c176af-c557-48df-85f6-beb01e2db0ab} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36858) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.614250 [ 17663 ] {fd23e311-f2be-45ad-ae2b-78c405aa577f} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 1 ('BADREQUEST'): BADREQUEST . Expected one of: Query, Query with output, EXPLAIN, SELECT query, possibly with UNION, list of union elements, SELECT query, subquery, possibly with UNION, SELECT subquery, SELECT query, WITH, FROM, SELECT, SHOW CREATE QUOTA query, SHOW CREATE, SHOW [FULL] [TEMPORARY] TABLES|DATABASES|CLUSTERS|CLUSTER 'name' [[NOT] [I]LIKE 'str'] [LIMIT expr], SHOW, SHOW COLUMNS query, SHOW ENGINES query, SHOW ENGINES, SHOW INDEXES query, EXISTS or SHOW CREATE query, EXISTS, DESCRIBE FILESYSTEM CACHE query, DESCRIBE, DESC, DESCRIBE query, SHOW PROCESSLIST query, SHOW PROCESSLIST, CREATE TABLE or ATTACH TABLE query, CREATE, ATTACH, REPLACE, CREATE DATABASE query, CREATE VIEW query, CREATE DICTIONARY, CREATE LIVE VIEW query, CREATE WINDOW VIEW query, ALTER query, ALTER TABLE, ALTER LIVE VIEW, ALTER DATABASE, RENAME query, RENAME TABLE, EXCHANGE TABLES, RENAME DICTIONARY, EXCHANGE DICTIONARIES, RENAME DATABASE, DROP query, DROP, DETACH, TRUNCATE, UNDROP query, UNDROP, CHECK TABLE, KILL QUERY query, KILL, OPTIMIZE query, OPTIMIZE TABLE, WATCH query, WATCH, SHOW ACCESS query, SHOW ACCESS, ShowAccessEntitiesQuery, SHOW GRANTS query, SHOW GRANTS, SHOW PRIVILEGES query, SHOW PRIVILEGES, INSERT query, INSERT INTO, USE query, USE, SET ROLE or SET DEFAULT ROLE query, SET ROLE DEFAULT, SET ROLE, SET DEFAULT ROLE, SET query, SET, SYSTEM query, SYSTEM, CREATE USER or ALTER USER query, ALTER USER, CREATE USER, CREATE ROLE or ALTER ROLE query, ALTER ROLE, CREATE ROLE, CREATE QUOTA or ALTER QUOTA query, ALTER QUOTA, CREATE QUOTA, CREATE ROW POLICY or ALTER ROW POLICY query, ALTER POLICY, ALTER ROW POLICY, CREATE POLICY, CREATE ROW POLICY, CREATE SETTINGS PROFILE or ALTER SETTINGS PROFILE query, ALTER SETTINGS PROFILE, ALTER PROFILE, CREATE SETTINGS PROFILE, CREATE PROFILE, CREATE FUNCTION query, DROP FUNCTION query, CREATE NAMED COLLECTION, DROP NAMED COLLECTION query, Alter NAMED COLLECTION query, ALTER, CREATE INDEX query, DROP INDEX query, DROP access entity query, MOVE access entity query, MOVE, GRANT or REVOKE query, REVOKE, GRANT, EXTERNAL DDL query, EXTERNAL DDL FROM, TCL query, BEGIN TRANSACTION, COMMIT, ROLLBACK, SET TRANSACTION SNAPSHOT, Delete query, DELETE, BACKUP or RESTORE query, BACKUP, RESTORE. (SYNTAX_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45260) (comment: 01071_http_header_exception_code.sh) (in query: BADREQUEST ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x00000000082a4d63 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001ba647a9 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001ba6486e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a520ef in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.614458 [ 1435 ] {d096b96e-5815-41dc-85e0-293c85e9f266} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36890) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.614198 [ 18906 ] {a0f8dadf-7796-42fc-a3bb-769d23e67e49} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36874) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.615126 [ 32832 ] {108c8283-56f4-479f-8df6-fff62271ae22} executeQuery: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36926) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: OPTIMIZE TABLE concurrent_optimize_table FINAL), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.615688 [ 32841 ] {871dd245-70e1-4465-ae36-f3704bf2145d} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36908) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.716727 [ 18906 ] {a0f8dadf-7796-42fc-a3bb-769d23e67e49} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.717971 [ 17663 ] {fd23e311-f2be-45ad-ae2b-78c405aa577f} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 1 ('BADREQUEST'): BADREQUEST . Expected one of: Query, Query with output, EXPLAIN, SELECT query, possibly with UNION, list of union elements, SELECT query, subquery, possibly with UNION, SELECT subquery, SELECT query, WITH, FROM, SELECT, SHOW CREATE QUOTA query, SHOW CREATE, SHOW [FULL] [TEMPORARY] TABLES|DATABASES|CLUSTERS|CLUSTER 'name' [[NOT] [I]LIKE 'str'] [LIMIT expr], SHOW, SHOW COLUMNS query, SHOW ENGINES query, SHOW ENGINES, SHOW INDEXES query, EXISTS or SHOW CREATE query, EXISTS, DESCRIBE FILESYSTEM CACHE query, DESCRIBE, DESC, DESCRIBE query, SHOW PROCESSLIST query, SHOW PROCESSLIST, CREATE TABLE or ATTACH TABLE query, CREATE, ATTACH, REPLACE, CREATE DATABASE query, CREATE VIEW query, CREATE DICTIONARY, CREATE LIVE VIEW query, CREATE WINDOW VIEW query, ALTER query, ALTER TABLE, ALTER LIVE VIEW, ALTER DATABASE, RENAME query, RENAME TABLE, EXCHANGE TABLES, RENAME DICTIONARY, EXCHANGE DICTIONARIES, RENAME DATABASE, DROP query, DROP, DETACH, TRUNCATE, UNDROP query, UNDROP, CHECK TABLE, KILL QUERY query, KILL, OPTIMIZE query, OPTIMIZE TABLE, WATCH query, WATCH, SHOW ACCESS query, SHOW ACCESS, ShowAccessEntitiesQuery, SHOW GRANTS query, SHOW GRANTS, SHOW PRIVILEGES query, SHOW PRIVILEGES, INSERT query, INSERT INTO, USE query, USE, SET ROLE or SET DEFAULT ROLE query, SET ROLE DEFAULT, SET ROLE, SET DEFAULT ROLE, SET query, SET, SYSTEM query, SYSTEM, CREATE USER or ALTER USER query, ALTER USER, CREATE USER, CREATE ROLE or ALTER ROLE query, ALTER ROLE, CREATE ROLE, CREATE QUOTA or ALTER QUOTA query, ALTER QUOTA, CREATE QUOTA, CREATE ROW POLICY or ALTER ROW POLICY query, ALTER POLICY, ALTER ROW POLICY, CREATE POLICY, CREATE ROW POLICY, CREATE SETTINGS PROFILE or ALTER SETTINGS PROFILE query, ALTER SETTINGS PROFILE, ALTER PROFILE, CREATE SETTINGS PROFILE, CREATE PROFILE, CREATE FUNCTION query, DROP FUNCTION query, CREATE NAMED COLLECTION, DROP NAMED COLLECTION query, Alter NAMED COLLECTION query, ALTER, CREATE INDEX query, DROP INDEX query, DROP access entity query, MOVE access entity query, MOVE, GRANT or REVOKE query, REVOKE, GRANT, EXTERNAL DDL query, EXTERNAL DDL FROM, TCL query, BEGIN TRANSACTION, COMMIT, ROLLBACK, SET TRANSACTION SNAPSHOT, Delete query, DELETE, BACKUP or RESTORE query, BACKUP, RESTORE. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x00000000082a4d63 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001ba647a9 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001ba6486e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a520ef in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:50:58.718304 [ 32832 ] {108c8283-56f4-479f-8df6-fff62271ae22} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.718415 [ 1435 ] {d096b96e-5815-41dc-85e0-293c85e9f266} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.719013 [ 1140 ] {f4c176af-c557-48df-85f6-beb01e2db0ab} TCPHandler: Code: 60. DB::Exception: Table test_e6fum6fa.concurrent_optimize_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterOptimizeQuery.cpp:38: DB::InterpreterOptimizeQuery::execute() @ 0x000000001951c8de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.719500 [ 32841 ] {871dd245-70e1-4465-ae36-f3704bf2145d} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.720256 [ 17927 ] {7826eb55-b8d9-4c15-b911-77ab6fe7b638} executeQuery: Code: 60. DB::Exception: Table test_zuye4yr9.test_table_for_01070_exception_code_in_query_log_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36946) (comment: 01070_exception_code_in_query_log_table.sql) (in query: SELECT * FROM test_table_for_01070_exception_code_in_query_log_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.721455 [ 32816 ] {56428a14-782f-4e44-bcb3-089c696085c4} executeQuery: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36944) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: CREATE TABLE concurrent_optimize_table (`a` UInt8, `b` Int16, `c` Float32, `d` String, `e` Array(UInt8), `f` Nullable(UUID), `g` Tuple(UInt8, UInt16)) ENGINE = ReplicatedMergeTree('/clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table', '1') PARTITION BY b % 10 ORDER BY a SETTINGS old_parts_lifetime = 1, cleanup_delay_period = 0, cleanup_delay_period_random_add = 0, cleanup_thread_preferred_points_per_iteration = 0, index_granularity = 41875, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 1., merge_max_block_size = 3932, prefer_fetch_merged_part_size_threshold = 7458947044, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 100, min_merge_bytes_to_use_direct_io = 10737418240, index_granularity_bytes = 11335225, allow_vertical_merges_from_compact_to_wide_parts = true, marks_compress_block_size = 30282, primary_key_compress_block_size = 49961), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.723312 [ 18906 ] {a0f8dadf-7796-42fc-a3bb-769d23e67e49} TCPHandler: Client has gone away. 2024.05.01 14:50:58.723358 [ 32832 ] {108c8283-56f4-479f-8df6-fff62271ae22} TCPHandler: Client has gone away. 2024.05.01 14:50:58.725402 [ 17927 ] {7826eb55-b8d9-4c15-b911-77ab6fe7b638} TCPHandler: Code: 60. DB::Exception: Table test_zuye4yr9.test_table_for_01070_exception_code_in_query_log_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.725893 [ 1435 ] {d096b96e-5815-41dc-85e0-293c85e9f266} TCPHandler: Client has gone away. 2024.05.01 14:50:58.727671 [ 1140 ] {f4c176af-c557-48df-85f6-beb01e2db0ab} TCPHandler: Client has gone away. 2024.05.01 14:50:58.742215 [ 32841 ] {871dd245-70e1-4465-ae36-f3704bf2145d} TCPHandler: Client has gone away. 2024.05.01 14:50:58.743358 [ 32816 ] {56428a14-782f-4e44-bcb3-089c696085c4} TCPHandler: Code: 253. DB::Exception: Replica /clickhouse/tables/01103_optimize_drop_race_zookeeper_test_e6fum6fa/concurrent_optimize_table/replicas/1 already exists. (REPLICA_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::createReplica(std::shared_ptr const&) @ 0x000000001a25fd91 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:531: DB::StorageReplicatedMergeTree::StorageReplicatedMergeTree(String const&, String const&, bool, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, DB::RenamingRestrictions, bool) @ 0x000000001a24ef02 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, DB::RenamingRestrictions&, bool&, void>(std::allocator const&, String&, String&, bool const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&, DB::RenamingRestrictions&, bool&) @ 0x000000001ac6b8c1 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68409 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 8. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:50:58.768073 [ 32816 ] {56428a14-782f-4e44-bcb3-089c696085c4} TCPHandler: Client has gone away. 2024.05.01 14:51:00.516967 [ 32822 ] {014ee9dc-6900-43c1-a52b-394b6bc9e1e1} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36800). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36800) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:00.520025 [ 32818 ] {10d55f76-3959-411a-a99d-7b621a03af1e} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36788). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36788) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:00.521420 [ 17919 ] {29db581a-8585-42f1-9323-fcdfd09f4134} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36814). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36814) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:00.526248 [ 32815 ] {0541eda1-20d2-49c8-a89b-760b5c926002} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36770). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36770) (comment: 01103_optimize_drop_race_zookeeper.sh) (in query: INSERT INTO concurrent_optimize_table SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(10000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:00.541116 [ 32818 ] {10d55f76-3959-411a-a99d-7b621a03af1e} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36788). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:51:00.541432 [ 32818 ] {10d55f76-3959-411a-a99d-7b621a03af1e} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36788). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:00.543724 [ 32822 ] {014ee9dc-6900-43c1-a52b-394b6bc9e1e1} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36800). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:51:00.544016 [ 32822 ] {014ee9dc-6900-43c1-a52b-394b6bc9e1e1} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36800). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:00.556966 [ 17919 ] {29db581a-8585-42f1-9323-fcdfd09f4134} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36814). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:51:00.557297 [ 17919 ] {29db581a-8585-42f1-9323-fcdfd09f4134} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36814). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:00.563794 [ 32815 ] {0541eda1-20d2-49c8-a89b-760b5c926002} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36770). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:51:00.564176 [ 32815 ] {0541eda1-20d2-49c8-a89b-760b5c926002} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:36770). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:00.567764 [ 32822 ] {014ee9dc-6900-43c1-a52b-394b6bc9e1e1} TCPHandler: Client has gone away. 2024.05.01 14:51:00.575361 [ 32818 ] {10d55f76-3959-411a-a99d-7b621a03af1e} TCPHandler: Client has gone away. 2024.05.01 14:51:00.596623 [ 17919 ] {29db581a-8585-42f1-9323-fcdfd09f4134} TCPHandler: Client has gone away. 2024.05.01 14:51:00.622730 [ 32815 ] {0541eda1-20d2-49c8-a89b-760b5c926002} TCPHandler: Client has gone away. 2024.05.01 14:51:01.114419 [ 32851 ] {01167_isolation_hermitage_test_p5fg7plx_tx16_18914} test_p5fg7plx.test (eb44e351-914c-4d68-9b41-a59313325907): Cannot find transaction (90, 42, 840854c5-65fa-4420-a97c-a72c4387e949) which had started mutation mutation_28.txt, probably it finished 2024.05.01 14:51:01.399917 [ 32846 ] {96feb265-0909-473d-a9fb-8a733b732934} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (16) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 16). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60970) (comment: 01070_h3_to_children.sql) (in query: SELECT h3ToChildren(599405990164561919, 16);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b230a1b in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:51:01.605034 [ 32846 ] {96feb265-0909-473d-a9fb-8a733b732934} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (16) of function h3ToChildren is out of bounds because the maximum resolution in H3 library is 15: While processing h3ToChildren(599405990164561919, 16). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionH3ToChildren::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b230a1b in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:51:01.605232 [ 32816 ] {c82a4b51-caac-419a-8dc7-991f14930ff6} executeQuery: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(9, 1) from String: While processing toDecimal32('e', 1). (CANNOT_PARSE_NUMBER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60978) (comment: 01070_to_decimal_or_null_exception.sql) (in query: SELECT toDecimal32('e', 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x000000001808cec7 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x00000000185084c1 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000018593741 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x00000000083abc8e in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x00000000083a595c in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000083978e8 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000083970c6 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000083963a0 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 2024.05.01 14:51:01.614712 [ 32816 ] {c82a4b51-caac-419a-8dc7-991f14930ff6} TCPHandler: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(9, 1) from String: While processing toDecimal32('e', 1). (CANNOT_PARSE_NUMBER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x000000001808cec7 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x00000000185084c1 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000018593741 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x00000000083abc8e in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x00000000083a595c in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000083978e8 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000083970c6 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal32, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000083963a0 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 2024.05.01 14:51:01.658476 [ 32851 ] {01167_isolation_hermitage_test_p5fg7plx_tx17_1998} executeQuery: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_33.txt' with part 'all_30_30_0' reason: 'Serialization error: part all_30_30_0 is locked by transaction 7810675028823551061'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51302) (in query: alter table test update value = 11 where id = 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001aa32f18 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001aa32ccc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001ac74b35 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001ac759f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:01.827919 [ 32816 ] {a7d5531d-8d03-4ea9-81c5-7b8d136a748a} executeQuery: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(18, 2) from String: While processing toDecimal64('e', 2). (CANNOT_PARSE_NUMBER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60978) (comment: 01070_to_decimal_or_null_exception.sql) (in query: SELECT toDecimal64('e', 2);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x000000001808db95 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000018508c61 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000018594981 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x00000000083c3d9e in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x00000000083bda7c in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000083afa28 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000083af206 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000083ae4e0 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 2024.05.01 14:51:01.828305 [ 32851 ] {01167_isolation_hermitage_test_p5fg7plx_tx17_1998} DynamicQueryHandler: Code: 341. DB::Exception: Exception happened during execution of mutation 'mutation_33.txt' with part 'all_30_30_0' reason: 'Serialization error: part all_30_30_0 is locked by transaction 7810675028823551061'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&&, String&, String&) @ 0x000000001aa32f18 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeMutationStatus.cpp:0: DB::checkMutationStatus(std::optional&, std::set, std::allocator> const&) @ 0x000000001aa32ccc in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageMergeTree.cpp:0: DB::StorageMergeTree::waitForMutation(long, String const&, bool) @ 0x000000001ac74b35 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageMergeTree::mutate(DB::MutationCommands const&, std::shared_ptr) @ 0x000000001ac759f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193743bf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:51:01.833641 [ 32816 ] {a7d5531d-8d03-4ea9-81c5-7b8d136a748a} TCPHandler: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(18, 2) from String: While processing toDecimal64('e', 2). (CANNOT_PARSE_NUMBER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>(DB::ReadBuffer&, DB::Decimal&, unsigned int&, int&, bool) @ 0x000000001808db95 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText, void>(DB::ReadBuffer&, DB::Decimal&, unsigned int, unsigned int&, bool) @ 0x0000000018508c61 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>::readText(DB::Decimal&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000018594981 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>, DB::NameToDecimal64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x00000000083c3d9e in /usr/bin/clickhouse 7. bool DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x00000000083bda7c in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>, DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000083afa28 in /usr/bin/clickhouse 9. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000083af206 in /usr/bin/clickhouse 10. DB::FunctionConvert>, DB::NameToDecimal64, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000083ae4e0 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 2024.05.01 14:51:02.061247 [ 32816 ] {046e4207-d366-422e-8c4e-76ce0d46f928} executeQuery: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(38, 3) from String: While processing toDecimal128('e', 3). (CANNOT_PARSE_NUMBER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60978) (comment: 01070_to_decimal_or_null_exception.sql) (in query: SELECT toDecimal128('e', 3);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>>(DB::ReadBuffer&, DB::Decimal>&, unsigned int&, int&, bool) @ 0x000000001808eab5 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000018509480 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000018595cc4 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x00000000083dcb0e in /usr/bin/clickhouse 7. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x00000000083d61bc in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000083c7b28 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000083c7306 in /usr/bin/clickhouse 10. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000083c65e0 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 2024.05.01 14:51:02.070393 [ 32816 ] {046e4207-d366-422e-8c4e-76ce0d46f928} TCPHandler: Code: 72. DB::ParsingException: Cannot parse exponent while reading decimal: Cannot parse Decimal(38, 3) from String: While processing toDecimal128('e', 3). (CANNOT_PARSE_NUMBER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::ParsingException::ParsingException<>(int, FormatStringHelperImpl<>) @ 0x0000000007cd9626 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/readDecimalText.h:124: bool DB::readDigits>>(DB::ReadBuffer&, DB::Decimal>&, unsigned int&, int&, bool) @ 0x000000001808eab5 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/readDecimalText.h:0: void DB::readDecimalText>, void>(DB::ReadBuffer&, DB::Decimal>&, unsigned int, unsigned int&, bool) @ 0x0000000018509480 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/Serializations/SerializationDecimal.cpp:42: DB::SerializationDecimal>>::readText(DB::Decimal>&, DB::ReadBuffer&, unsigned int, unsigned int, bool) @ 0x0000000018595cc4 in /usr/bin/clickhouse 6. COW::immutable_ptr DB::ConvertThroughParsing>>, DB::NameToDecimal128, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, unsigned int) @ 0x00000000083dcb0e in /usr/bin/clickhouse 7. bool DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)::operator()>>>, DB::ConvertDefaultBehaviorTag>(auto const&, auto const&) const @ 0x00000000083d61bc in /usr/bin/clickhouse 8. bool DB::callOnIndexAndDataType>>, DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x00000000083c7b28 in /usr/bin/clickhouse 9. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000083c7306 in /usr/bin/clickhouse 10. DB::FunctionConvert>>, DB::NameToDecimal128, DB::UnknownMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000083c65e0 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 2024.05.01 14:51:02.335633 [ 32816 ] {01167_isolation_hermitage_test_p5fg7plx_tx17_21668} executeQuery: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:51326) (in query: commit), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:02.340675 [ 32816 ] {01167_isolation_hermitage_test_p5fg7plx_tx17_21668} DynamicQueryHandler: Code: 649. DB::Exception: Transaction is not in RUNNING state. (INVALID_TRANSACTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterTransactionControlQuery.cpp:0: DB::InterpreterTransactionControlQuery::executeCommit(std::shared_ptr) @ 0x0000000019631629 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterTransactionControlQuery::execute() @ 0x0000000019630baf in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:51:12.073809 [ 32860 ] {01167_isolation_hermitage_test_p5fg7plx_tx19_18052} test_p5fg7plx.test (eb44e351-914c-4d68-9b41-a59313325907): Cannot find transaction (91, 46, 840854c5-65fa-4420-a97c-a72c4387e949) which had started mutation mutation_32.txt, probably it finished 2024.05.01 14:51:36.720634 [ 32876 ] {adb08d12-b368-47c8-934f-841753f4eb50} executeQuery: Code: 42. DB::Exception: Storage ODBC requires exactly 3 parameters: ODBC('DSN', database or schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39618) (comment: 01033_storage_odbc_parsing_exception_check.sql) (in query: CREATE TABLE BannerDict (`BannerID` UInt64, `CompaignID` UInt64) ENGINE = ODBC('DSN=pgconn;Database=postgres', bannerdict);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageXDBC.cpp:174: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl(DB::StorageFactory&, String const&)::'lambda'(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a491a9e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:36.912799 [ 32876 ] {adb08d12-b368-47c8-934f-841753f4eb50} TCPHandler: Code: 42. DB::Exception: Storage ODBC requires exactly 3 parameters: ODBC('DSN', database or schema, table). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageXDBC.cpp:174: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl(DB::StorageFactory&, String const&)::'lambda'(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a491a9e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:36.912814 [ 19119 ] {f0796e18-3619-4385-80cf-ce0a2c5e62f6} executeQuery: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39688) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url_syntax (id UInt32) ENGINE = URL('') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0x0000000007c84186 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:621: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x000000001af3346a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000001a46d3c4 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a471dea in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:36.915456 [ 19119 ] {f0796e18-3619-4385-80cf-ce0a2c5e62f6} TCPHandler: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0x0000000007c84186 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:621: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x000000001af3346a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000001a46d3c4 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a471dea in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:37.177525 [ 19119 ] {d24f094f-7043-44b0-9ca1-bdfe40649faf} executeQuery: Code: 42. DB::Exception: Storage URL requires 1-4 arguments: url, name of used format (taken from file extension by default), optional compression method, optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39688) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url_syntax (id UInt32) ENGINE = URL('','','','') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const* const&) @ 0x000000001a1c93e9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageURL.cpp:1287: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000001a46d5a7 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a471dea in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:37.184608 [ 19119 ] {d24f094f-7043-44b0-9ca1-bdfe40649faf} TCPHandler: Code: 42. DB::Exception: Storage URL requires 1-4 arguments: url, name of used format (taken from file extension by default), optional compression method, optional headers (specified as `headers('name'='value', 'name2'='value2')`). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const* const&) @ 0x000000001a1c93e9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageURL.cpp:1287: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000001a46d5a7 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a471dea in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:37.205367 [ 19119 ] {756107e3-f168-4dff-8f3b-aae2e7adc803} executeQuery: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39688) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0x0000000007c84186 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:621: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x000000001af3346a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000001a46d3c4 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a471dea in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:37.207777 [ 19119 ] {756107e3-f168-4dff-8f3b-aae2e7adc803} TCPHandler: Code: 36. DB::Exception: Cannot determine the file format by it's extension. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [51]) @ 0x0000000007c84186 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:621: DB::FormatFactory::getFormatFromFileName(String, bool) @ 0x000000001af3346a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::StorageURL::getConfiguration(absl::lts_20211102::InlinedVector, 7ul, std::allocator>>&, std::shared_ptr) @ 0x000000001a46d3c4 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a471dea in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:37.524014 [ 19119 ] {dd9cba2f-fd2a-42bd-99e6-e8145e796ca7} executeQuery: Code: 73. DB::Exception: Unknown format ErrorFormat. (UNKNOWN_FORMAT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39688) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'ErrorFormat') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:786: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001af3525a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a4607eb in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:1133: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a469e4f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001a4853dd in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001a485145 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a471f03 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:37.529093 [ 19119 ] {dd9cba2f-fd2a-42bd-99e6-e8145e796ca7} TCPHandler: Code: 73. DB::Exception: Unknown format ErrorFormat. (UNKNOWN_FORMAT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/FormatFactory.cpp:786: DB::FormatFactory::checkFormatName(String const&) const @ 0x000000001af3525a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:0: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a4607eb in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:1133: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a469e4f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001a4853dd in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001a485145 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a471f03 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:42.673686 [ 19119 ] {6d6d61c7-c060-4131-b1f1-98cade8ef646} executeQuery: Code: 48. DB::Exception: Unknown compression method 'zip'. Only 'auto', 'none', 'gzip', 'deflate', 'br', 'xz', 'zstd', 'lz4', 'bz2', 'snappy' are supported as compression methods. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39688) (comment: 01030_storage_url_syntax.sql) (in query: create table test_table_url(id UInt32) ENGINE = URL('http://localhost/endpoint', 'JSONEachRow', 'zip') ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/CompressionMethod.cpp:120: DB::chooseCompressionMethod(String const&, String const&) @ 0x0000000014256a93 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:115: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a4603bd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:1133: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a469e4f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001a4853dd in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001a485145 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a471f03 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:42.675141 [ 19119 ] {6d6d61c7-c060-4131-b1f1-98cade8ef646} TCPHandler: Code: 48. DB::Exception: Unknown compression method 'zip'. Only 'auto', 'none', 'gzip', 'deflate', 'br', 'xz', 'zstd', 'lz4', 'bz2', 'snappy' are supported as compression methods. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/CompressionMethod.cpp:120: DB::chooseCompressionMethod(String const&, String const&) @ 0x0000000014256a93 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageURL.cpp:115: DB::IStorageURLBase::IStorageURLBase(String const&, std::shared_ptr, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a4603bd in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageURL.cpp:1133: DB::StorageURL::StorageURL(String const&, DB::StorageID const&, String const&, std::optional const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String const&, std::vector> const&, String const&, std::shared_ptr, bool) @ 0x000000001a469e4f in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: std::__shared_ptr_emplace>::__shared_ptr_emplace[abi:v15000], String&, std::vector>&, String&, std::shared_ptr&>(std::allocator, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001a4853dd in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:953: std::shared_ptr std::allocate_shared[abi:v15000], String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr, String&, std::vector>&, String&, std::shared_ptr&, void>(std::allocator const&, String&, DB::StorageID const&, String&, DB::FormatSettings&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, std::shared_ptr&&, String&, std::vector>&, String&, std::shared_ptr&) @ 0x000000001a485145 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a471f03 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.412586 [ 17663 ] {6ea88b67-f87f-4508-b6d1-bd50333f2615} executeQuery: Code: 206. DB::Exception: JOIN (SELECT 1 AS A, 2 AS B FROM system.one) AS X ALL LEFT JOIN (SELECT 3 AS A, 2 AS B FROM system.one) USING (B) no alias for subquery or table function SELECT 3 AS A, 2 AS B. In scope SELECT * FROM (SELECT 1 AS A, 2 AS B) AS X ALL LEFT JOIN (SELECT 3 AS A, 2 AS B) USING (B) (set joined_subquery_requires_alias = 0 to disable restriction). (ALIAS_REQUIRED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49388) (comment: 01000_subquery_requires_alias.sql) (in query: SELECT * FROM (SELECT 1 as A, 2 as B) X ALL LEFT JOIN (SELECT 3 as A, 2 as B) USING (B);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::validateJoinTableExpressionWithoutAlias(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019418c6b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1467: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000193ee869 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db237 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.412740 [ 1140 ] {f453907b-34ad-4c03-836b-7c37033016cf} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained (6935927e-8e88-4944-bc4b-dc364e60adcb) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49414) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.413683 [ 17663 ] {6ea88b67-f87f-4508-b6d1-bd50333f2615} TCPHandler: Code: 206. DB::Exception: JOIN (SELECT 1 AS A, 2 AS B FROM system.one) AS X ALL LEFT JOIN (SELECT 3 AS A, 2 AS B FROM system.one) USING (B) no alias for subquery or table function SELECT 3 AS A, 2 AS B. In scope SELECT * FROM (SELECT 1 AS A, 2 AS B) AS X ALL LEFT JOIN (SELECT 3 AS A, 2 AS B) USING (B) (set joined_subquery_requires_alias = 0 to disable restriction). (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::validateJoinTableExpressionWithoutAlias(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019418c6b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1467: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000193ee869 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db237 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.414004 [ 1140 ] {f453907b-34ad-4c03-836b-7c37033016cf} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained (6935927e-8e88-4944-bc4b-dc364e60adcb) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.516957 [ 17663 ] {0aa057b9-aa34-4714-af56-0dad3ab66080} executeQuery: Code: 206. DB::Exception: JOIN (SELECT 1 AS A, 2 AS B FROM system.one) ALL LEFT JOIN (SELECT 3 AS A, 2 AS B FROM system.one) AS Y USING (B) no alias for subquery or table function SELECT 1 AS A, 2 AS B. In scope SELECT * FROM (SELECT 1 AS A, 2 AS B) ALL LEFT JOIN (SELECT 3 AS A, 2 AS B) AS Y USING (B) (set joined_subquery_requires_alias = 0 to disable restriction). (ALIAS_REQUIRED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49388) (comment: 01000_subquery_requires_alias.sql) (in query: SELECT * FROM (SELECT 1 as A, 2 as B) ALL LEFT JOIN (SELECT 3 as A, 2 as B) Y USING (B);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::validateJoinTableExpressionWithoutAlias(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019418c6b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000193ee825 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db237 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.517043 [ 1140 ] {b339fc2b-d170-4bd9-bf66-7b61a906fb9c} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_dcktoxyj.constrained (6935927e-8e88-4944-bc4b-dc364e60adcb) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49414) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.517834 [ 17663 ] {0aa057b9-aa34-4714-af56-0dad3ab66080} TCPHandler: Code: 206. DB::Exception: JOIN (SELECT 1 AS A, 2 AS B FROM system.one) ALL LEFT JOIN (SELECT 3 AS A, 2 AS B FROM system.one) AS Y USING (B) no alias for subquery or table function SELECT 1 AS A, 2 AS B. In scope SELECT * FROM (SELECT 1 AS A, 2 AS B) ALL LEFT JOIN (SELECT 3 AS A, 2 AS B) AS Y USING (B) (set joined_subquery_requires_alias = 0 to disable restriction). (ALIAS_REQUIRED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::validateJoinTableExpressionWithoutAlias(std::shared_ptr const&, std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019418c6b in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1457: DB::(anonymous namespace)::QueryAnalyzer::resolveQueryJoinTreeNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, DB::(anonymous namespace)::QueryExpressionsAliasVisitor&) @ 0x00000000193ee825 in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db237 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.517909 [ 1140 ] {b339fc2b-d170-4bd9-bf66-7b61a906fb9c} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_dcktoxyj.constrained (6935927e-8e88-4944-bc4b-dc364e60adcb) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.557141 [ 1140 ] {9132a9ed-0ea9-4dc4-b127-181d681f4c6a} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained (fe286a44-b9f8-4d96-98d3-24c1ec5cce9b) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49414) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.557616 [ 1140 ] {9132a9ed-0ea9-4dc4-b127-181d681f4c6a} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained (fe286a44-b9f8-4d96-98d3-24c1ec5cce9b) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.593848 [ 1140 ] {28bbc009-48b6-4396-97f8-099a34b1dbbe} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_dcktoxyj.constrained (fe286a44-b9f8-4d96-98d3-24c1ec5cce9b) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49414) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.594308 [ 1140 ] {28bbc009-48b6-4396-97f8-099a34b1dbbe} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_dcktoxyj.constrained (fe286a44-b9f8-4d96-98d3-24c1ec5cce9b) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.681467 [ 1140 ] {38572c02-74ff-47a5-83df-07984467209d} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained (d57e105c-51da-444b-a1a3-6886a8b02995) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49414) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.682443 [ 1140 ] {38572c02-74ff-47a5-83df-07984467209d} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained (d57e105c-51da-444b-a1a3-6886a8b02995) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.730983 [ 1140 ] {55180b3d-0ed9-4ee1-a5de-146292ee19cb} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_dcktoxyj.constrained (d57e105c-51da-444b-a1a3-6886a8b02995) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49414) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.732107 [ 1140 ] {55180b3d-0ed9-4ee1-a5de-146292ee19cb} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_dcktoxyj.constrained (d57e105c-51da-444b-a1a3-6886a8b02995) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.858716 [ 1140 ] {7143a82f-2aa9-46dc-b9b9-74aa5fa42384} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained (f878ea6e-d5ca-4874-9493-61801a63c493) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49414) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.859265 [ 1140 ] {7143a82f-2aa9-46dc-b9b9-74aa5fa42384} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained (f878ea6e-d5ca-4874-9493-61801a63c493) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.919461 [ 1140 ] {9d13a728-f309-4b51-b622-d5fb2c666e5c} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_dcktoxyj.constrained (f878ea6e-d5ca-4874-9493-61801a63c493) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49414) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:44.920261 [ 1140 ] {9d13a728-f309-4b51-b622-d5fb2c666e5c} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_dcktoxyj.constrained (f878ea6e-d5ca-4874-9493-61801a63c493) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:45.047214 [ 1140 ] {8d8ef465-0f09-4ad3-8cb3-43f4bfd74379} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained (f467cdc5-6c38-473a-84f3-eb828ea06777) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49414) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:45.047994 [ 1140 ] {8d8ef465-0f09-4ad3-8cb3-43f4bfd74379} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained (f467cdc5-6c38-473a-84f3-eb828ea06777) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:45.100640 [ 1140 ] {e448953d-438a-40f1-96f4-8a819fa020b6} executeQuery: Code: 469. DB::Exception: Constraint `is_utf8` for table test_dcktoxyj.constrained (f467cdc5-6c38-473a-84f3-eb828ea06777) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49414) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:45.101437 [ 1140 ] {e448953d-438a-40f1-96f4-8a819fa020b6} TCPHandler: Code: 469. DB::Exception: Constraint `is_utf8` for table test_dcktoxyj.constrained (f467cdc5-6c38-473a-84f3-eb828ea06777) is violated at row 3. Expression: (isValidUTF8(URL)). Column values: URL = 'https://censor.net/teÿst'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:45.259102 [ 1140 ] {29d695e5-68dc-45aa-b548-a1c8ab7bf2f8} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained (462c8895-affc-48df-9552-005e42b9c37e) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49414) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:45.259862 [ 1140 ] {29d695e5-68dc-45aa-b548-a1c8ab7bf2f8} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained (462c8895-affc-48df-9552-005e42b9c37e) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:45.272055 [ 1140 ] {e17f459d-bf8a-488e-9915-27b784ce232d} executeQuery: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained2 (e450e2f1-9d6b-41de-9abb-2a8f31a4bf90) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49414) (comment: 00998_constraints_all_tables.sql) (in query: INSERT INTO constrained2 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:45.272886 [ 1140 ] {e17f459d-bf8a-488e-9915-27b784ce232d} TCPHandler: Code: 469. DB::Exception: Constraint `is_censor` for table test_dcktoxyj.constrained2 (e450e2f1-9d6b-41de-9abb-2a8f31a4bf90) is violated at row 2. Expression: (domainWithoutWWW(URL) = 'censor.net'). Column values: URL = 'Hello'. (VIOLATED_CONSTRAINT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, unsigned long&&, String&&, String&) @ 0x000000001b2e1332 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Transforms/CheckConstraintsTransform.cpp:0: DB::CheckConstraintsTransform::onConsume(DB::Chunk) @ 0x000000001b2e06e5 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:123: DB::PushingPipelineExecutor::finish() @ 0x000000001af99d2c in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processInsertQuery() @ 0x000000001af07516 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:46.355804 [ 19106 ] {2554a08a-4c78-4f1d-a89e-6ff5593bf5ab} executeQuery: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasToken(s :: 0, 'abc,def,zzz' :: 1) -> hasToken(s, 'abc,def,zzz') UInt8 : 2': While executing MergeTreeInOrder. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49520) (comment: 00990_hasToken_and_tokenbf.sql) (in query: SELECT max(id) FROM bloom_filter WHERE hasToken(s, 'abc,def,zzz');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000b24a34e in /usr/bin/clickhouse 4. DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b249421 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001aa97bcd in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa95705 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa93e26 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001aa8405b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001aa84e68 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001aa814fe in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000001b5ad0ca in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:46.357732 [ 19106 ] {2554a08a-4c78-4f1d-a89e-6ff5593bf5ab} TCPHandler: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasToken(s :: 0, 'abc,def,zzz' :: 1) -> hasToken(s, 'abc,def,zzz') UInt8 : 2': While executing MergeTreeInOrder. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000b24a34e in /usr/bin/clickhouse 4. DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b249421 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001aa97bcd in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa95705 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa93e26 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001aa8405b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001aa84e68 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001aa814fe in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000001b5ad0ca in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:46.518243 [ 19106 ] {7278c9db-41d6-48ac-9872-5d4bd1b78597} executeQuery: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasTokenCaseInsensitive(s :: 0, 'abc,def,zzz' :: 1) -> hasTokenCaseInsensitive(s, 'abc,def,zzz') UInt8 : 2': While executing MergeTreeInOrder. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49520) (comment: 00990_hasToken_and_tokenbf.sql) (in query: SELECT max(id) FROM bloom_filter WHERE hasTokenCaseInsensitive(s, 'abc,def,zzz');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000b24e9ae in /usr/bin/clickhouse 4. DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b24da81 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001aa97bcd in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa95705 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa93e26 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001aa8405b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001aa84e68 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001aa814fe in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000001b5ad0ca in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:46.520094 [ 19106 ] {7278c9db-41d6-48ac-9872-5d4bd1b78597} TCPHandler: Code: 36. DB::Exception: Needle must not contain whitespace or separator characters: while executing 'FUNCTION hasTokenCaseInsensitive(s :: 0, 'abc,def,zzz' :: 1) -> hasTokenCaseInsensitive(s, 'abc,def,zzz') UInt8 : 2': While executing MergeTreeInOrder. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. DB::HasTokenImpl>, false>::vectorConstant(DB::PODArray, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul> const&, String const&, COW::immutable_ptr const&, DB::PODArray, 63ul, 64ul>&, DB::ColumnVector*) @ 0x000000000b24e9ae in /usr/bin/clickhouse 4. DB::FunctionsStringSearch>, false>, (DB::ExecutionErrorPolicy)1>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b24da81 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 11. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::executePrewhereActionsAndFilterColumns(DB::MergeTreeRangeReader::ReadResult&) const @ 0x000000001aa97bcd in /usr/bin/clickhouse 12. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa95705 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa93e26 in /usr/bin/clickhouse 14. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001aa8405b in /usr/bin/clickhouse 15. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001aa84e68 in /usr/bin/clickhouse 16. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001aa814fe in /usr/bin/clickhouse 17. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000001b5ad0ca in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 23. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:46.681847 [ 18906 ] {54a13873-100a-480d-9164-d4e9dd466bba} executeQuery: Code: 269. DB::Exception: Distributed table distr looks at itself. (INFINITE_LOOP) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49736) (comment: 00987_distributed_stack_overflow.sql) (in query: CREATE TABLE distr (x UInt8) ENGINE = Distributed(test_shard_localhost, currentDatabase(), distr);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:376: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001a0efa5d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&, void>(std::allocator const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&) @ 0x000000001a110ddb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a10ae49 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:46.682835 [ 18906 ] {54a13873-100a-480d-9164-d4e9dd466bba} TCPHandler: Code: 269. DB::Exception: Distributed table distr looks at itself. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:376: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001a0efa5d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&, void>(std::allocator const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&) @ 0x000000001a110ddb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a10ae49 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:46.689650 [ 18906 ] {20e418ca-ca75-4767-8267-2e7e696bdf13} StorageDistributed (distr0): Name of remote database is empty. Default database will be used implicitly. 2024.05.01 14:51:46.690646 [ 18906 ] {20e418ca-ca75-4767-8267-2e7e696bdf13} executeQuery: Code: 269. DB::Exception: Distributed table distr0 looks at itself. (INFINITE_LOOP) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49736) (comment: 00987_distributed_stack_overflow.sql) (in query: CREATE TABLE distr0 (x UInt8) ENGINE = Distributed(test_shard_localhost, '', distr0);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:376: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001a0efa5d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&, void>(std::allocator const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&) @ 0x000000001a110ddb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a10ae49 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:46.691495 [ 18906 ] {20e418ca-ca75-4767-8267-2e7e696bdf13} TCPHandler: Code: 269. DB::Exception: Distributed table distr0 looks at itself. (INFINITE_LOOP), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDistributed.cpp:376: DB::StorageDistributed::StorageDistributed(DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String const&, String const&, String const&, std::shared_ptr, std::shared_ptr const&, String const&, String const&, DB::DistributedSettings const&, bool, std::shared_ptr, std::shared_ptr) @ 0x000000001a0efa5d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&, void>(std::allocator const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, String const&, String&, String&, String&, std::shared_ptr const&, std::shared_ptr const&, String&, String const&, DB::DistributedSettings&, bool const&) @ 0x000000001a110ddb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a10ae49 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:46.804291 [ 18906 ] {ab62de30-c80c-4a11-8bcc-eb43ee99270f} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49736) (comment: 00987_distributed_stack_overflow.sql) (in query: SELECT * FROM distr1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000007ca4646 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:172: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a119081 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 2024.05.01 14:51:46.805327 [ 18906 ] {ab62de30-c80c-4a11-8bcc-eb43ee99270f} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000007ca4646 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:172: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a119081 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 2024.05.01 14:51:46.846222 [ 18906 ] {440e0f61-69fd-43e4-b71e-9e6bfb187bf8} executeQuery: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49736) (comment: 00987_distributed_stack_overflow.sql) (in query: SELECT * FROM distr2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000007ca4646 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:172: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a119081 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 2024.05.01 14:51:46.847622 [ 18906 ] {440e0f61-69fd-43e4-b71e-9e6bfb187bf8} TCPHandler: Code: 581. DB::Exception: Maximum distributed depth exceeded. (TOO_LARGE_DISTRIBUTED_DEPTH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000007ca4646 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:172: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a119081 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp:0: DB::createLocalPlan(std::shared_ptr const&, DB::Block const&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long, unsigned long, unsigned long, std::shared_ptr, StrongTypedef, DB::UUIDTag>) @ 0x000000001b5276db in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:126: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool)::$_0::operator()() const @ 0x000000001a113b1c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ClusterProxy/SelectStreamFactory.cpp:190: DB::ClusterProxy::SelectStreamFactory::createForShard(DB::Cluster::ShardInfo const&, std::shared_ptr const&, DB::StorageID const&, std::shared_ptr const&, std::shared_ptr, std::vector>, std::allocator>>>&, std::vector>&, unsigned int, bool) @ 0x000000001a112891 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ClusterProxy/executeQuery.cpp:220: DB::ClusterProxy::executeQuery(DB::QueryPlan&, DB::Block const&, DB::QueryProcessingStage::Enum, DB::StorageID const&, std::shared_ptr const&, DB::ClusterProxy::SelectStreamFactory&, Poco::Logger*, std::shared_ptr const&, std::shared_ptr, DB::SelectQueryInfo const&, std::shared_ptr const&, String const&, std::shared_ptr const&, std::function (unsigned long)>) @ 0x000000001a117d01 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageDistributed::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a0f72a2 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 2024.05.01 14:51:47.586633 [ 19106 ] {de228a3a-e834-41d6-902d-e8b3eecdc489} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 2.05 thousand. (TOO_MANY_ROWS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49520) (comment: 00990_hasToken_and_tokenbf.sql) (in query: -- invert result -- this does not work as expected, reading more rows that it should -- SELECT max(id) FROM bloom_filter WHERE NOT hasToken(s, 'yyy'); -- accessing to many rows SELECT max(id) FROM bloom_filter WHERE hasToken(s, 'yyy');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591e2b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:47.587447 [ 19106 ] {de228a3a-e834-41d6-902d-e8b3eecdc489} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 2.05 thousand. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591e2b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:47.628471 [ 19106 ] {f1c1fe6d-d4eb-4ab7-9a9d-74b9299aa2e2} executeQuery: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 3.08 thousand. (TOO_MANY_ROWS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49520) (comment: 00990_hasToken_and_tokenbf.sql) (in query: -- this syntax is not supported by tokenbf SELECT max(id) FROM bloom_filter WHERE hasToken(s, 'zzz') == 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591e2b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:47.629215 [ 19106 ] {f1c1fe6d-d4eb-4ab7-9a9d-74b9299aa2e2} TCPHandler: Code: 158. DB::Exception: Limit for rows (controlled by 'max_rows_to_read' setting) exceeded, max rows: 16.00, current rows: 3.08 thousand. (TOO_MANY_ROWS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, String&&, String&&) @ 0x00000000184031d3 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:0: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402d83 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/QueryPlan/ReadFromMergeTree.cpp:233: DB::ReadFromMergeTree::initializePipeline(DB::QueryPipelineBuilder&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b591e2b in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/QueryPlan/ISourceStep.cpp:24: DB::ISourceStep::updatePipeline(std::vector>, std::allocator>>>, DB::BuildQueryPipelineSettings const&) @ 0x000000001b544402 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/QueryPlan/QueryPlan.cpp:188: DB::QueryPlan::buildQueryPipeline(DB::QueryPlanOptimizationSettings const&, DB::BuildQueryPipelineSettings const&) @ 0x000000001b569135 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:379: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a8c2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:48.133798 [ 32850 ] {65d8b34f-44ed-4dc3-90c1-16e4e498abd0} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(x, 1500000) :: 4) -> throwIf(equals(x, 1500000)) UInt8 : 3'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49886) (comment: 00995_exception_while_insert.sh) (in query: INSERT INTO check(x) FORMAT TSV), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001b3087ce in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000001af99a5a in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000001af99b2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processInsertQuery() @ 0x000000001af0731d in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:48.147626 [ 32850 ] {65d8b34f-44ed-4dc3-90c1-16e4e498abd0} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(x, 1500000) :: 4) -> throwIf(equals(x, 1500000)) UInt8 : 3'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ConvertingTransform::onConsume(DB::Chunk) @ 0x000000001b3087ce in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PushingPipelineExecutor.cpp:105: DB::PushingPipelineExecutor::push(DB::Chunk) @ 0x000000001af99a5a in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PushingPipelineExecutor::push(DB::Block) @ 0x000000001af99b2c in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__hash_table:1473: DB::TCPHandler::processInsertQuery() @ 0x000000001af0731d in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdeec in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:48.239739 [ 32850 ] {} TCPHandler: Code: 101. DB::NetException: Unexpected packet Data received from client. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, char const (&) [44]) @ 0x000000001af1bee6 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:1848: DB::TCPHandler::receiveUnexpectedData(bool) @ 0x000000001af14714 in /usr/bin/clickhouse 4. ./build_docker/./src/Server/TCPHandler.cpp:1453: DB::TCPHandler::receivePacket() @ 0x000000001af06517 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefd2ce in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:48.797545 [ 32873 ] {584b0e3a-ecc4-4d8b-a972-15195bc0a819} executeQuery: Code: 306. DB::Exception: Maximum parse depth (1000) exceeded. Consider rising max_parser_depth parameter. (TOO_DEEP_RECURSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:52178) (comment: 00984_parser_stack_overflow.sh) (in query: ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x0000000017acf1ed in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2503 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c997e in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:15: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba37329 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9a6f62 in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba50292 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c997e in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:15: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba37329 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9a6f62 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba50292 in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c997e in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:15: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba37329 in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9a6f62 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba50292 in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c997e in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:15: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba37329 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 2024.05.01 14:51:48.799014 [ 32873 ] {584b0e3a-ecc4-4d8b-a972-15195bc0a819} DynamicQueryHandler: Code: 306. DB::Exception: Maximum parse depth (1000) exceeded. Consider rising max_parser_depth parameter. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x0000000017acf1ed in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2503 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c997e in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:15: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba37329 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9a6f62 in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba50292 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c997e in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:15: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba37329 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9a6f62 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba50292 in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c997e in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:15: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba37329 in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserSubquery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9a6f62 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba50292 in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c997e in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/ParserSelectWithUnionQuery.cpp:15: DB::ParserSelectWithUnionQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba37329 in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:51:48.993124 [ 32873 ] {27e07670-30e6-42f0-b63d-864ca9022962} executeQuery: Code: 306. DB::Exception: Maximum parse depth (1000) exceeded. Consider rising max_parser_depth parameter. (TOO_DEEP_RECURSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:52180) (comment: 00984_parser_stack_overflow.sh) (in query: SELECT [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x0000000017acf1ed in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2503 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:833: DB::ParserNull::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9b04a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserLiteral::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9b4293 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:1215: DB::ParserCollectionOfLiterals::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c2ebf in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ExpressionElementParsers.h:313: DB::ParserArrayOfLiterals::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b2b71f5 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:2566: DB::ParserExpressionImpl::tryParseOperand(std::vector>, std::allocator>>>&, DB::IParser::Pos&, DB::Expected&) @ 0x000000001b9d1648 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpressionImpl::parse(std::unique_ptr>, DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9cf952 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpression::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9cf467 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:2012: DB::ParserWithOptionalAlias::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9bd574 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ExpressionListParsers.h:208: DB::ParserExpressionWithOptionalAlias::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000000fc8e78a in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c923c in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpressionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9cbe49 in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:325: DB::ParserNotEmptyExpressionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9cbfb5 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ParserSelectQuery.cpp:0: DB::ParserSelectQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba516e4 in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba502c5 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c997e in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 2024.05.01 14:51:48.994266 [ 32873 ] {27e07670-30e6-42f0-b63d-864ca9022962} DynamicQueryHandler: Code: 306. DB::Exception: Maximum parse depth (1000) exceeded. Consider rising max_parser_depth parameter. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned int&) @ 0x0000000017acf1ed in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/IParser.h:74: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2503 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:833: DB::ParserNull::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9b04a5 in /usr/bin/clickhouse 5. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 6. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:0: DB::ParserLiteral::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9b4293 in /usr/bin/clickhouse 7. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 8. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:1215: DB::ParserCollectionOfLiterals::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c2ebf in /usr/bin/clickhouse 9. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 10. ./build_docker/./src/Parsers/ExpressionElementParsers.h:313: DB::ParserArrayOfLiterals::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b2b71f5 in /usr/bin/clickhouse 11. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 12. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:2566: DB::ParserExpressionImpl::tryParseOperand(std::vector>, std::allocator>>>&, DB::IParser::Pos&, DB::Expected&) @ 0x000000001b9d1648 in /usr/bin/clickhouse 13. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpressionImpl::parse(std::unique_ptr>, DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9cf952 in /usr/bin/clickhouse 14. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpression::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9cf467 in /usr/bin/clickhouse 15. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 16. ./build_docker/./src/Parsers/ExpressionElementParsers.cpp:2012: DB::ParserWithOptionalAlias::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9bd574 in /usr/bin/clickhouse 17. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 18. ./build_docker/./src/Parsers/ExpressionListParsers.h:208: DB::ParserExpressionWithOptionalAlias::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000000fc8e78a in /usr/bin/clickhouse 19. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 20. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:50: DB::ParserList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c923c in /usr/bin/clickhouse 21. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 22. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:0: DB::ParserExpressionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9cbe49 in /usr/bin/clickhouse 23. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 24. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:325: DB::ParserNotEmptyExpressionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9cbfb5 in /usr/bin/clickhouse 25. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 26. ./build_docker/./src/Parsers/ParserSelectQuery.cpp:0: DB::ParserSelectQuery::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba516e4 in /usr/bin/clickhouse 27. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 28. ./build_docker/./src/Parsers/ParserUnionQueryElement.cpp:13: DB::ParserUnionQueryElement::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001ba502c5 in /usr/bin/clickhouse 29. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse 30. ./build_docker/./src/Parsers/ExpressionListParsers.cpp:79: DB::ParserUnionList::parseImpl(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9c997e in /usr/bin/clickhouse 31. ./build_docker/./src/Parsers/IParserBase.cpp:0: DB::IParserBase::parse(DB::IParser::Pos&, std::shared_ptr&, DB::Expected&) @ 0x000000001b9f2361 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:51:50.653203 [ 32876 ] {1d2c8b3d-818f-4a28-ab77-eeddc1d59235} executeQuery: Code: 153. DB::Exception: Division by zero: While processing intDiv(-1, 0). (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50688) (comment: 00977_int_div.sql) (in query: SELECT -1 DIV 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::impl_::BinaryOperation, signed char>::process(signed char, char8_t) @ 0x000000000b66c5c4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7fb136 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7f8dc8 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7f0d in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:51:50.689352 [ 32876 ] {1d2c8b3d-818f-4a28-ab77-eeddc1d59235} TCPHandler: Code: 153. DB::Exception: Division by zero: While processing intDiv(-1, 0). (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::impl_::BinaryOperation, signed char>::process(signed char, char8_t) @ 0x000000000b66c5c4 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7fb136 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7f8dc8 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7f0d in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 10. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:51:51.348546 [ 32855 ] {97221d3f-3666-4504-a445-fcc54d6457fb} executeQuery: Code: 69. DB::Exception: Cannot convert value '18446744073709551615' from UInt64: it cannot be represented as Float64. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:57936) (comment: 00975_values_list.sql) (in query: SELECT * FROM VALUES('x Float64', toUInt64(-1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a18a27 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1457: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017749374 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:51.349533 [ 32855 ] {97221d3f-3666-4504-a445-fcc54d6457fb} TCPHandler: Code: 69. DB::Exception: Cannot convert value '18446744073709551615' from UInt64: it cannot be represented as Float64. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a18a27 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1457: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017749374 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:51.948292 [ 32855 ] {c8ffdf92-0999-4f40-9d1b-3329cd7518cf} executeQuery: Code: 53. DB::Exception: Cannot convert NULL to Float64. (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:57936) (comment: 00975_values_list.sql) (in query: SELECT * FROM VALUES('x Float64', NULL);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a18960 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1457: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017749374 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:51.949830 [ 32855 ] {c8ffdf92-0999-4f40-9d1b-3329cd7518cf} TCPHandler: Code: 53. DB::Exception: Cannot convert NULL to Float64. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToTypeOrThrow(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a18960 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1457: DB::TableFunctionValues::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x0000000017749374 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:53.383354 [ 32873 ] {66261c98-ca5d-4a6a-9f56-113328b2ef44} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 8 ('('): ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([. Unmatched parentheses: ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([. (SYNTAX_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:52192) (comment: 00984_parser_stack_overflow.sh) (in query: SELECT ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x00000000082a4d63 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001ba647a9 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001ba6486e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a520ef in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:53.386582 [ 32873 ] {66261c98-ca5d-4a6a-9f56-113328b2ef44} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 8 ('('): ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([. Unmatched parentheses: ([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([([. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x00000000082a4d63 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001ba647a9 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001ba6486e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a520ef in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:51:54.101084 [ 32846 ] {752f1d6e-d01d-4e05-b6e6-03b33f22f98e} executeQuery: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f54385dc000, frame address: 0x7f5438d75960, stack size: 419488, maximum stack size: 8388608. (TOO_DEEP_RECURSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47638) (comment: 00984_parser_stack_overflow.sh) (in query: SELECT 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x000000000fa3ef62 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x000000000fa3ed73 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61282 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 2024.05.01 14:51:54.192497 [ 32846 ] {752f1d6e-d01d-4e05-b6e6-03b33f22f98e} DynamicQueryHandler: Code: 306. DB::Exception: Stack size too large. Stack address: 0x7f54385dc000, frame address: 0x7f5438d75960, stack size: 419488, maximum stack size: 8388608. (TOO_DEEP_RECURSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, void*&, void const*&, unsigned long&, unsigned long&) @ 0x000000000fa3ef62 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/checkStackSize.cpp:121: checkStackSize() @ 0x000000000fa3ed73 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61282 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/ApplyWithGlobalVisitor.cpp:119: DB::ApplyWithGlobalVisitor::visit(std::shared_ptr&) @ 0x0000000019a61328 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:51:55.196455 [ 32821 ] {ee81aaf3-a233-4158-a517-b82d0128f28f} executeQuery: Code: 36. DB::Exception: Last open curly brace is not closed: While processing format('{', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('{', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb996 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:55.197314 [ 32821 ] {ee81aaf3-a233-4158-a517-b82d0128f28f} TCPHandler: Code: 36. DB::Exception: Last open curly brace is not closed: While processing format('{', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb996 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:55.355902 [ 32821 ] {b915e437-c439-4126-8996-92ba6071241f} executeQuery: Code: 36. DB::Exception: Closed curly brace without open one at position 2: While processing format('{{}', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('{{}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb7de in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:55.356803 [ 32821 ] {b915e437-c439-4126-8996-92ba6071241f} TCPHandler: Code: 36. DB::Exception: Closed curly brace without open one at position 2: While processing format('{{}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb7de in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:55.584950 [ 19111 ] {c7fc92f1-cd3e-4d6b-b137-276f5380ac07} executeQuery: Code: 62. DB::Exception: Syntax error: failed at position 46 ('numbers'): numbers. Expected one of: token, Comma, FROM, PREWHERE, WHERE, GROUP BY, WITH, HAVING, WINDOW, ORDER BY, LIMIT, OFFSET, FETCH, SETTINGS, UNION, EXCEPT, INTERSECT, INTO OUTFILE, FORMAT, end of query. (SYNTAX_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47664) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 'find_me_[hidden]' FRRRROM numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x00000000082a4d63 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001ba647a9 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001ba6486e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a520ef in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:55.585050 [ 32821 ] {642217f1-f3ab-4592-9a72-391879c58091} executeQuery: Code: 36. DB::Exception: Two open curly braces without close one at position 2: While processing format('{ {}', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('{ {}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb866 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:55.585855 [ 19111 ] {c7fc92f1-cd3e-4d6b-b137-276f5380ac07} DynamicQueryHandler: Code: 62. DB::Exception: Syntax error: failed at position 46 ('numbers'): numbers. Expected one of: token, Comma, FROM, PREWHERE, WHERE, GROUP BY, WITH, HAVING, WINDOW, ORDER BY, LIMIT, OFFSET, FETCH, SETTINGS, UNION, EXCEPT, INTERSECT, INTO OUTFILE, FORMAT, end of query. (SYNTAX_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x00000000082a4d63 in /usr/bin/clickhouse 3. ./build_docker/./src/Parsers/parseQuery.cpp:363: DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, String const&, bool, unsigned long, unsigned long) @ 0x000000001ba647a9 in /usr/bin/clickhouse 4. ./build_docker/./src/Parsers/parseQuery.cpp:375: DB::parseQuery(DB::IParser&, char const*, char const*, String const&, unsigned long, unsigned long) @ 0x000000001ba6486e in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a520ef in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:51:55.585950 [ 32821 ] {642217f1-f3ab-4592-9a72-391879c58091} TCPHandler: Code: 36. DB::Exception: Two open curly braces without close one at position 2: While processing format('{ {}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb866 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:55.597714 [ 32821 ] {7d4b2e02-c3af-471d-ad98-1431ed68f661} executeQuery: Code: 36. DB::Exception: Closed curly brace without open one at position 0: While processing format('}', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb7de in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:55.598726 [ 32821 ] {7d4b2e02-c3af-471d-ad98-1431ed68f661} TCPHandler: Code: 36. DB::Exception: Closed curly brace without open one at position 0: While processing format('}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb7de in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:55.626106 [ 32821 ] {659d6c2d-69a6-44c9-af9b-f3083aa09b51} executeQuery: Code: 36. DB::Exception: Last open curly brace is not closed: While processing format('{}}', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('{}}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb996 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:55.627100 [ 32821 ] {659d6c2d-69a6-44c9-af9b-f3083aa09b51} TCPHandler: Code: 36. DB::Exception: Last open curly brace is not closed: While processing format('{}}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb996 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:55.989933 [ 32821 ] {61ac0516-f3d5-42e9-8636-549f517048b4} executeQuery: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{2 }', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('{2 }', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb6d6 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.114278 [ 8776 ] {a865952f-a9ce-4be6-89a4-6529cf6082fc} executeQuery: Code: 47. DB::Exception: Missing columns: 'credit_card_number' while processing query: 'SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'', required columns: 'credit_card_number'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58858) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 1 FROM system.numbers WHERE credit_card_number='find_me_[hidden]' FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:56.114244 [ 32821 ] {61ac0516-f3d5-42e9-8636-549f517048b4} TCPHandler: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{2 }', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb6d6 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.116058 [ 8776 ] {a865952f-a9ce-4be6-89a4-6529cf6082fc} TCPHandler: Code: 47. DB::Exception: Missing columns: 'credit_card_number' while processing query: 'SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'', required columns: 'credit_card_number'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:56.129385 [ 32821 ] {18d950fa-831f-48a6-96e5-5c381b9b5ab3} executeQuery: Code: 36. DB::Exception: Closed curly brace without open one at position 13: While processing format('{}{}{}{}{}{} }{}', '', '', '', '', '', '', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('{}{}{}{}{}{} }{}', '', '', '', '', '', '', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb7de in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.130267 [ 32821 ] {18d950fa-831f-48a6-96e5-5c381b9b5ab3} TCPHandler: Code: 36. DB::Exception: Closed curly brace without open one at position 13: While processing format('{}{}{}{}{}{} }{}', '', '', '', '', '', '', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb7de in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.303149 [ 32821 ] {dd789d52-ce94-40b2-9524-4f57c40c24b6} executeQuery: Code: 36. DB::Exception: Not a number in curly braces at position 1: While processing format('{sometext}', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('{sometext}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb756 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.396071 [ 32821 ] {dd789d52-ce94-40b2-9524-4f57c40c24b6} TCPHandler: Code: 36. DB::Exception: Not a number in curly braces at position 1: While processing format('{sometext}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb756 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.396167 [ 18906 ] {488eb68b-5c9e-419c-a0d7-7be9b5ddb95d} executeQuery: Code: 47. DB::Exception: Missing columns: 'credit_card_number' while processing query: 'SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'', required columns: 'credit_card_number'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:47668) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 1 FROM system.numbers WHERE credit_card_number='find_me_[hidden]' FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:56.397544 [ 18906 ] {488eb68b-5c9e-419c-a0d7-7be9b5ddb95d} DynamicQueryHandler: Code: 47. DB::Exception: Missing columns: 'credit_card_number' while processing query: 'SELECT 1 FROM system.numbers WHERE credit_card_number = 'find_me_[hidden]'', required columns: 'credit_card_number'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:51:56.407113 [ 32821 ] {1856bc2d-699b-4d6c-b7ab-e8959eaa7272} executeQuery: Code: 36. DB::Exception: Not a number in curly braces at position 1: While processing format('{\0sometext}', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('{\0sometext}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb756 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.407946 [ 32821 ] {1856bc2d-699b-4d6c-b7ab-e8959eaa7272} TCPHandler: Code: 36. DB::Exception: Not a number in curly braces at position 1: While processing format('{\0sometext}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&) @ 0x00000000082da22d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb756 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.420601 [ 32821 ] {b443c1da-5367-40df-bc9b-9eac35143f40} executeQuery: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{1023}', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('{1023}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb6d6 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.421544 [ 32821 ] {b443c1da-5367-40df-bc9b-9eac35143f40} TCPHandler: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{1023}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb6d6 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.433962 [ 32821 ] {a12b40e3-798a-4b46-b8ea-aaaa7b4bbdff} executeQuery: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{10000000000000000000000000000000000000000000000000}', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('{10000000000000000000000000000000000000000000000000}', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb6d6 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.434700 [ 32821 ] {a12b40e3-798a-4b46-b8ea-aaaa7b4bbdff} TCPHandler: Code: 36. DB::Exception: Too big number for arguments, must be at most 0: While processing format('{10000000000000000000000000000000000000000000000000}', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb6d6 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.600479 [ 32821 ] {214d0f5b-bb5d-4f28-847a-907de03264a6} executeQuery: Code: 36. DB::Exception: Cannot switch from automatic field numbering to manual field specification: While processing format('{} {0}', '', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('{} {0}', '', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0x00000000086420a6 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb95b in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.601483 [ 32821 ] {214d0f5b-bb5d-4f28-847a-907de03264a6} TCPHandler: Code: 36. DB::Exception: Cannot switch from automatic field numbering to manual field specification: While processing format('{} {0}', '', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0x00000000086420a6 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb95b in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.758443 [ 32821 ] {8abf7f3f-91f9-44ea-97aa-e49ccc86d1a0} executeQuery: Code: 36. DB::Exception: Cannot switch from automatic field numbering to manual field specification: While processing format('{0} {}', '', ''). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('{0} {}', '', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0x00000000086420a6 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb8a1 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.903599 [ 32821 ] {8abf7f3f-91f9-44ea-97aa-e49ccc86d1a0} TCPHandler: Code: 36. DB::Exception: Cannot switch from automatic field numbering to manual field specification: While processing format('{0} {}', '', ''). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [75]) @ 0x00000000086420a6 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb8a1 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:56.904061 [ 18906 ] {afd6d160-485a-4c19-9d7e-ecc123a88265} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(100 :: 1, minus(number, 10) :: 4) -> intDiv(100, minus(number, 10)) Int8 : 2'. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58876) (comment: 00956_sensitive_data_masking.sh) (in query: SELECT 'find_me_[hidden]', intDiv( 100, number - 10) FROM numbers(11) FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, signed char>::process<(DB::impl_::OpCase)1>(char8_t const*, long const*, signed char*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5f1cc0 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7afd21 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7a94fa in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7b7b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:56.906753 [ 18906 ] {afd6d160-485a-4c19-9d7e-ecc123a88265} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION intDiv(100 :: 1, minus(number, 10) :: 4) -> intDiv(100, minus(number, 10)) Int8 : 2'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, signed char>::process<(DB::impl_::OpCase)1>(char8_t const*, long const*, signed char*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5f1cc0 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7afd21 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7a94fa in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7b7b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:51:57.066561 [ 32821 ] {5297aabd-16c0-4570-9688-57b0a212754b} executeQuery: Code: 36. DB::Exception: Argument is too big for formatting: While processing format('Hello {} World {} {}{}', 'first', 'second', 'third'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('Hello {} World {} {}{}', 'first', 'second', 'third') from system.numbers limit 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000007ca4646 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb8dc in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:57.067909 [ 32821 ] {5297aabd-16c0-4570-9688-57b0a212754b} TCPHandler: Code: 36. DB::Exception: Argument is too big for formatting: While processing format('Hello {} World {} {}{}', 'first', 'second', 'third'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [35]) @ 0x0000000007ca4646 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb8dc in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:57.079919 [ 32821 ] {50955491-3474-4211-afa3-2ec295e63302} executeQuery: Code: 36. DB::Exception: Too big number for arguments, must be at most 2: While processing format('Hello {0} World {1} {2}{3}', 'first', 'second', 'third'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select format('Hello {0} World {1} {2}{3}', 'first', 'second', 'third') from system.numbers limit 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb6d6 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:57.080679 [ 32821 ] {50955491-3474-4211-afa3-2ec295e63302} TCPHandler: Code: 36. DB::Exception: Too big number for arguments, must be at most 2: While processing format('Hello {0} World {1} {2}{3}', 'first', 'second', 'third'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb6d6 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:51:57.292541 [ 32821 ] {dd8bd005-6ca9-4428-9c81-bf32971cee55} executeQuery: Code: 36. DB::Exception: Last open curly brace is not closed: While processing 50 = length(format(_CAST('{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{', 'Nullable(String)') AS _subquery462, '')). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58650) (comment: 00949_format.sql) (in query: select 50 = length(format((select arrayStringConcat(arrayMap(x ->'{', range(101)))), ''));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb996 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5773f in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5739e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 2024.05.01 14:51:57.293450 [ 32821 ] {dd8bd005-6ca9-4428-9c81-bf32971cee55} TCPHandler: Code: 36. DB::Exception: Last open curly brace is not closed: While processing 50 = length(format(_CAST('{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{', 'Nullable(String)') AS _subquery462, '')). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [36]) @ 0x0000000009432446 in /usr/bin/clickhouse 3. DB::Format::init(String const&, unsigned long, std::vector, std::allocator>> const&, DB::PODArray, 64ul, 8ul>, 0ul, 0ul>&, std::vector>&) @ 0x00000000099eb996 in /usr/bin/clickhouse 4. void DB::FormatImpl::format(String, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, std::vector, std::allocator>> const&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long) @ 0x00000000099f0cb4 in /usr/bin/clickhouse 5. void DB::FormatImpl::formatExecute, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&>(bool, bool, String&&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>>&, std::vector>&, std::vector, std::allocator>>&, DB::PODArray, 63ul, 64ul>&, DB::PODArray, 63ul, 64ul>&, unsigned long&) @ 0x00000000099ef039 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FormatFunction::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a459a72 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForNulls(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5773f in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5739e in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 2024.05.01 14:52:02.777092 [ 19111 ] {eb331083-6065-4264-abeb-d6587feebd26} executeQuery: Code: 44. DB::Exception: Trying to set TTL for key column d. (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59086) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime ttl d) engine = MergeTree order by tuple() partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:756: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x000000001a822d4c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fd0b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:02.778167 [ 19111 ] {eb331083-6065-4264-abeb-d6587feebd26} TCPHandler: Code: 44. DB::Exception: Trying to set TTL for key column d. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:756: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x000000001a822d4c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fd0b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:02.799029 [ 19111 ] {58539c03-c8ed-4ce6-87c0-9af07aa4c8b1} executeQuery: Code: 44. DB::Exception: Trying to set TTL for key column a. (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59086) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl d) engine = MergeTree order by a partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:756: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x000000001a822d4c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fd0b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:02.800111 [ 19111 ] {58539c03-c8ed-4ce6-87c0-9af07aa4c8b1} TCPHandler: Code: 44. DB::Exception: Trying to set TTL for key column a. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:756: DB::MergeTreeData::checkTTLExpressions(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&) const @ 0x000000001a822d4c in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fd0b in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:02.943920 [ 19111 ] {313fb4a7-7ca8-4bcc-b41b-d619aac3970d} executeQuery: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has UInt16. (BAD_TTL_EXPRESSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59086) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl 2 + 2) engine = MergeTree order by tuple() partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:0: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a496c7f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac67799 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:03.096338 [ 19111 ] {313fb4a7-7ca8-4bcc-b41b-d619aac3970d} TCPHandler: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has UInt16. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:0: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a496c7f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac67799 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:03.096482 [ 19119 ] {6dbe9815-3243-495a-ade3-846a5c38f7f2} executeQuery: Code: 69. DB::Exception: The argument 'resolution' (24) of function geoToH3 is out of bounds because the maximum resolution in H3 library is 15: While processing geoToH3(37.63098076, 55.77922738, 24). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60668) (comment: 00926_geo_to_h3.sql) (in query: select geoToH3(37.63098076, 55.77922738, 24);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x000000000a54a869 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionGeoToH3::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a5498f7 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:03.097720 [ 19119 ] {6dbe9815-3243-495a-ade3-846a5c38f7f2} TCPHandler: Code: 69. DB::Exception: The argument 'resolution' (24) of function geoToH3 is out of bounds because the maximum resolution in H3 library is 15: While processing geoToH3(37.63098076, 55.77922738, 24). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, int&&) @ 0x000000000a54a869 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionGeoToH3::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a5498f7 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:03.114143 [ 19111 ] {6e41f1f7-4fa8-4ceb-a78d-5d4566eb7b53} executeQuery: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59086) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl d - d) engine = MergeTree order by tuple() partition by toSecond(d);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:0: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a496c7f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac67799 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:03.115373 [ 19111 ] {6e41f1f7-4fa8-4ceb-a78d-5d4566eb7b53} TCPHandler: Code: 450. DB::Exception: TTL expression result column should have DateTime or Date type, but has Int32. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:0: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a496c7f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac67799 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:03.243857 [ 19111 ] {78eef71b-9efd-49f0-8a19-d034850f8a45} executeQuery: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedVersionedCollapsingMergeTree, ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59086) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int ttl d + interval 1 day) engine = Log;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000000fad392d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000001a12b378 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a12a6dd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:03.244988 [ 19111 ] {78eef71b-9efd-49f0-8a19-d034850f8a45} TCPHandler: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedVersionedCollapsingMergeTree, ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000000fad392d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000001a12b378 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a12a6dd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:03.252542 [ 19111 ] {f0dd9e8c-48a5-4e79-9636-e2cbb1ab22ad} executeQuery: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedVersionedCollapsingMergeTree, ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59086) (comment: 00933_ttl_simple.sql) (in query: create table ttl_00933_1 (d DateTime, a Int) engine = Log ttl d + interval 1 day;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000000fad392d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000001a12b378 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a12a6dd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:03.253565 [ 19111 ] {f0dd9e8c-48a5-4e79-9636-e2cbb1ab22ad} TCPHandler: Code: 36. DB::Exception: Engine Log doesn't support TTL clause. Currently only the following engines have support for the feature: [ReplicatedVersionedCollapsingMergeTree, ReplicatedSummingMergeTree, MergeTree, ReplicatedReplacingMergeTree, VersionedCollapsingMergeTree, ReplacingMergeTree, ReplicatedAggregatingMergeTree, ReplicatedMergeTree, EmbeddedRocksDB, ReplicatedCollapsingMergeTree, ReplicatedGraphiteMergeTree, SummingMergeTree, GraphiteMergeTree, CollapsingMergeTree, AggregatingMergeTree]. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&) @ 0x000000000fad392d in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFactory.cpp:171: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const::$_0::operator()(String, std::function) const @ 0x000000001a12b378 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a12a6dd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:03.849242 [ 32823 ] {2c5d4d3f-8567-40be-9ae4-153dd6334bef} executeQuery: Code: 43. DB::Exception: Parameter #0 'scale' for DateTime64 has wrong type: String, expected UInt64 literal: While processing CAST(1, 'DateTime64(\'abc\')'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 00921_datetime64_basic.sql) (in query: SELECT CAST(1 as DateTime64('abc'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: std::conditional<(DB::ArgumentKind)1 == (DB::ArgumentKind)0, std::optional, unsigned long>::type DB::getArgument(std::shared_ptr const&, unsigned long, char const*, String) @ 0x000000001856fad0 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:103: DB::create64(std::shared_ptr const&) @ 0x000000001856ee2a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001841fa2e in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001841d7a1 in /usr/bin/clickhouse 10. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000080f7a55 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5aa9e in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:52:03.850516 [ 32823 ] {2c5d4d3f-8567-40be-9ae4-153dd6334bef} TCPHandler: Code: 43. DB::Exception: Parameter #0 'scale' for DateTime64 has wrong type: String, expected UInt64 literal: While processing CAST(1, 'DateTime64(\'abc\')'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: std::conditional<(DB::ArgumentKind)1 == (DB::ArgumentKind)0, std::optional, unsigned long>::type DB::getArgument(std::shared_ptr const&, unsigned long, char const*, String) @ 0x000000001856fad0 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:103: DB::create64(std::shared_ptr const&) @ 0x000000001856ee2a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001841fa2e in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001841d7a1 in /usr/bin/clickhouse 10. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000080f7a55 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5aa9e in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:52:04.024518 [ 32823 ] {2e8d9dda-f2f8-4cf2-8408-ece79c78d0e7} executeQuery: Code: 69. DB::Exception: Scale 100 is out of bounds (max scale: 18): While processing CAST(1, 'DateTime64(100)'). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 00921_datetime64_basic.sql) (in query: SELECT CAST(1 as DateTime64(100));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:0: DB::DataTypeDecimalBase::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x000000001840f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001840e9f1 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, String, void>(std::allocator const&, unsigned long const&, String&&) @ 0x000000001856f3b0 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:106: DB::create64(std::shared_ptr const&) @ 0x000000001856efb3 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001841fa2e in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001841d7a1 in /usr/bin/clickhouse 12. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000080f7a55 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5aa9e in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:52:04.025611 [ 32823 ] {2e8d9dda-f2f8-4cf2-8408-ece79c78d0e7} TCPHandler: Code: 69. DB::Exception: Scale 100 is out of bounds (max scale: 18): While processing CAST(1, 'DateTime64(100)'). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:0: DB::DataTypeDecimalBase::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x000000001840f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001840e9f1 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, String, void>(std::allocator const&, unsigned long const&, String&&) @ 0x000000001856f3b0 in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:106: DB::create64(std::shared_ptr const&) @ 0x000000001856efb3 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 10. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001841fa2e in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001841d7a1 in /usr/bin/clickhouse 12. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000080f7a55 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5aa9e in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:52:04.034421 [ 32823 ] {e7a3a943-6a73-4e88-ad3b-74ce974f1c8b} executeQuery: Code: 43. DB::Exception: Parameter #0 'scale' for DateTime64 has wrong type: Int64, expected UInt64 literal: While processing CAST(1, 'DateTime64(-1)'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 00921_datetime64_basic.sql) (in query: SELECT CAST(1 as DateTime64(-1));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: std::conditional<(DB::ArgumentKind)1 == (DB::ArgumentKind)0, std::optional, unsigned long>::type DB::getArgument(std::shared_ptr const&, unsigned long, char const*, String) @ 0x000000001856fad0 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:103: DB::create64(std::shared_ptr const&) @ 0x000000001856ee2a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001841fa2e in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001841d7a1 in /usr/bin/clickhouse 10. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000080f7a55 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5aa9e in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:52:04.035532 [ 32823 ] {e7a3a943-6a73-4e88-ad3b-74ce974f1c8b} TCPHandler: Code: 43. DB::Exception: Parameter #0 'scale' for DateTime64 has wrong type: Int64, expected UInt64 literal: While processing CAST(1, 'DateTime64(-1)'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:0: std::conditional<(DB::ArgumentKind)1 == (DB::ArgumentKind)0, std::optional, unsigned long>::type DB::getArgument(std::shared_ptr const&, unsigned long, char const*, String) @ 0x000000001856fad0 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:103: DB::create64(std::shared_ptr const&) @ 0x000000001856ee2a in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001841fa2e in /usr/bin/clickhouse 9. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001841d7a1 in /usr/bin/clickhouse 10. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000080f7a55 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5aa9e in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:52:04.186493 [ 32823 ] {61089a21-05b5-42e6-b705-773ed1983d2e} executeQuery: Code: 36. DB::Exception: Cannot load time zone qqq: While processing CAST(1, 'DateTime64(3, \'qqq\')'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 00921_datetime64_basic.sql) (in query: SELECT CAST(1 as DateTime64(3, 'qqq'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000000f9b01c8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x000000000f9ad467 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/DateLUT.h:0: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001840e28a in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001840e9fd in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, String, void>(std::allocator const&, unsigned long const&, String&&) @ 0x000000001856f3b0 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:106: DB::create64(std::shared_ptr const&) @ 0x000000001856efb3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001841fa2e in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001841d7a1 in /usr/bin/clickhouse 14. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000080f7a55 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5aa9e in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 2024.05.01 14:52:04.187781 [ 32823 ] {61089a21-05b5-42e6-b705-773ed1983d2e} TCPHandler: Code: 36. DB::Exception: Cannot load time zone qqq: While processing CAST(1, 'DateTime64(3, \'qqq\')'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000000f9b01c8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x000000000f9ad467 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/DateLUT.h:0: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001840e28a in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001840e9fd in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], unsigned long const&, String, void>(std::allocator const&, unsigned long const&, String&&) @ 0x000000001856f3b0 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/registerDataTypeDateTime.cpp:106: DB::create64(std::shared_ptr const&) @ 0x000000001856efb3 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 11. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 12. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&) const @ 0x000000001841fa2e in /usr/bin/clickhouse 13. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:31: DB::DataTypeFactory::get(String const&) const @ 0x000000001841d7a1 in /usr/bin/clickhouse 14. DB::CastOverloadResolverImpl<(DB::CastType)0, false, DB::CastOverloadName, DB::CastName>::getReturnTypeImpl(std::vector> const&) const @ 0x00000000080f7a55 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 16. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5aa9e in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 2024.05.01 14:52:04.354220 [ 32823 ] {bbb462f4-7f5d-4db4-a882-0ea8a095872f} executeQuery: Code: 43. DB::Exception: Illegal type of argument #2 'scale' of function toDateTime64, expected const Integer, got String: While processing toDateTime64('2019-09-16 19:20:11.234', 'abc'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 00921_datetime64_basic.sql) (in query: SELECT toDateTime64('2019-09-16 19:20:11.234', 'abc');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x00000000084148a4 in /usr/bin/clickhouse 6. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000084143a9 in /usr/bin/clickhouse 7. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x0000000008413b0c in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008409524 in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:52:04.355696 [ 32823 ] {bbb462f4-7f5d-4db4-a882-0ea8a095872f} TCPHandler: Code: 43. DB::Exception: Illegal type of argument #2 'scale' of function toDateTime64, expected const Integer, got String: While processing toDateTime64('2019-09-16 19:20:11.234', 'abc'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x00000000084148a4 in /usr/bin/clickhouse 6. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000084143a9 in /usr/bin/clickhouse 7. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x0000000008413b0c in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008409524 in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:52:04.521471 [ 32823 ] {23728aff-494a-4d9a-8fef-4c698408c9fb} executeQuery: Code: 69. DB::Exception: Scale 100 is out of bounds (max scale: 18): While processing toDateTime64('2019-09-16 19:20:11.234', 100). (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 00921_datetime64_basic.sql) (in query: SELECT toDateTime64('2019-09-16 19:20:11.234', 100);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:0: DB::DataTypeDecimalBase::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x000000001840f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001840e9f1 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String, void>(std::allocator const&, unsigned int&, String&&) @ 0x0000000007cdd9f0 in /usr/bin/clickhouse 6. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x0000000008414915 in /usr/bin/clickhouse 7. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000084143a9 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x0000000008413b0c in /usr/bin/clickhouse 9. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008409524 in /usr/bin/clickhouse 10. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:52:04.522620 [ 32823 ] {23728aff-494a-4d9a-8fef-4c698408c9fb} TCPHandler: Code: 69. DB::Exception: Scale 100 is out of bounds (max scale: 18): While processing toDateTime64('2019-09-16 19:20:11.234', 100). (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, unsigned long&&) @ 0x0000000007cb86f1 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:0: DB::DataTypeDecimalBase::DataTypeDecimalBase(unsigned int, unsigned int) @ 0x000000001840f8aa in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001840e9f1 in /usr/bin/clickhouse 5. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String, void>(std::allocator const&, unsigned int&, String&&) @ 0x0000000007cdd9f0 in /usr/bin/clickhouse 6. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x0000000008414915 in /usr/bin/clickhouse 7. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000084143a9 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x0000000008413b0c in /usr/bin/clickhouse 9. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008409524 in /usr/bin/clickhouse 10. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:52:04.531978 [ 32823 ] {c6060db1-3186-4f17-827a-90df6beb69af} executeQuery: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDateTime64, expected const Integer, got UInt64: While processing toDateTime64(CAST([['CLb5Ph ']], 'String'), uniqHLL12('2Gs1V', 752)). (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 00921_datetime64_basic.sql) (in query: SELECT toDateTime64(CAST([['CLb5Ph ']], 'String'), uniqHLL12('2Gs1V', 752));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x00000000084148a4 in /usr/bin/clickhouse 6. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000084143a9 in /usr/bin/clickhouse 7. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x0000000008413b0c in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008409524 in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:52:04.532785 [ 32823 ] {c6060db1-3186-4f17-827a-90df6beb69af} TCPHandler: Code: 44. DB::Exception: Illegal type of argument #2 'scale' of function toDateTime64, expected const Integer, got UInt64: While processing toDateTime64(CAST([['CLb5Ph ']], 'String'), uniqHLL12('2Gs1V', 752)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, unsigned long&&, String&&, String&&, String&&, String&&) @ 0x0000000017a6b59b in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/FunctionHelpers.cpp:0: DB::(anonymous namespace)::validateArgumentsImpl(DB::IFunction const&, std::vector> const&, unsigned long, std::vector> const&) @ 0x0000000017a694b1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:543: DB::validateFunctionArgumentTypes(DB::IFunction const&, std::vector> const&, std::vector> const&, std::vector> const&) @ 0x0000000017a67ef1 in /usr/bin/clickhouse 5. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x00000000084148a4 in /usr/bin/clickhouse 6. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000084143a9 in /usr/bin/clickhouse 7. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x0000000008413b0c in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008409524 in /usr/bin/clickhouse 9. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:52:04.722213 [ 32823 ] {965e48d2-d541-44fc-b743-a33893ceba05} executeQuery: Code: 36. DB::Exception: Cannot load time zone qqq: While processing toDateTime64('2019-09-16 19:20:11.234', 3, 'qqq'). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 00921_datetime64_basic.sql) (in query: SELECT toDateTime64('2019-09-16 19:20:11.234', 3, 'qqq');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000000f9b01c8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x000000000f9ad467 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/DateLUT.h:0: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001840e28a in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001840e9fd in /usr/bin/clickhouse 7. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String, void>(std::allocator const&, unsigned int&, String&&) @ 0x0000000007cdd9f0 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x0000000008414915 in /usr/bin/clickhouse 9. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000084143a9 in /usr/bin/clickhouse 10. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x0000000008413b0c in /usr/bin/clickhouse 11. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008409524 in /usr/bin/clickhouse 12. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:52:04.723326 [ 32823 ] {965e48d2-d541-44fc-b743-a33893ceba05} TCPHandler: Code: 36. DB::Exception: Cannot load time zone qqq: While processing toDateTime64('2019-09-16 19:20:11.234', 3, 'qqq'). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000000f9b01c8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x000000000f9ad467 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/DateLUT.h:0: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001840e28a in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001840e9fd in /usr/bin/clickhouse 7. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String, void>(std::allocator const&, unsigned int&, String&&) @ 0x0000000007cdd9f0 in /usr/bin/clickhouse 8. DB::FunctionConvert::getReturnTypeImplRemovedNullable(std::vector> const&) const @ 0x0000000008414915 in /usr/bin/clickhouse 9. std::shared_ptr std::__function::__policy_invoker (std::vector> const&)>::__call_impl::getReturnTypeImpl(std::vector> const&) const::'lambda'(auto const&), std::shared_ptr (std::vector> const&)>>(std::__function::__policy_storage const*, std::vector> const&) @ 0x00000000084143a9 in /usr/bin/clickhouse 10. DB::FunctionConvert::getReturnTypeDefaultImplementationForNulls(std::vector> const&, std::function (std::vector> const&)> const&) @ 0x0000000008413b0c in /usr/bin/clickhouse 11. DB::FunctionConvert::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008409524 in /usr/bin/clickhouse 12. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:52:04.961215 [ 32823 ] {4d606e5c-74d7-4495-98f3-52aaabe62c6e} executeQuery: Code: 43. DB::Exception: Illegal type UInt64 of 0 argument of function now64. Expected const integer.: While processing ignore(now64(gccMurmurHash())). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64(gccMurmurHash()));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d88794b in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:04.962301 [ 32823 ] {4d606e5c-74d7-4495-98f3-52aaabe62c6e} TCPHandler: Code: 43. DB::Exception: Illegal type UInt64 of 0 argument of function now64. Expected const integer.: While processing ignore(now64(gccMurmurHash())). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d88794b in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:04.970932 [ 32823 ] {cd17dd6d-a910-4971-bb3e-268d954c0205} executeQuery: Code: 43. DB::Exception: Illegal type String of 0 argument of function now64. Expected const integer.: While processing ignore(now64('abcd')). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64('abcd'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d88794b in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:04.971803 [ 32823 ] {cd17dd6d-a910-4971-bb3e-268d954c0205} TCPHandler: Code: 43. DB::Exception: Illegal type String of 0 argument of function now64. Expected const integer.: While processing ignore(now64('abcd')). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d88794b in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:04.981528 [ 32823 ] {3a185e90-3a02-41dd-8d67-4fd26849e0be} executeQuery: Code: 43. DB::Exception: Illegal type UInt64 of 0 argument of function now64. Expected const integer.: While processing ignore(now64(number)). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64(number)) FROM system.numbers LIMIT 10;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d88794b in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:04.982570 [ 32823 ] {3a185e90-3a02-41dd-8d67-4fd26849e0be} TCPHandler: Code: 43. DB::Exception: Illegal type UInt64 of 0 argument of function now64. Expected const integer.: While processing ignore(now64(number)). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d88794b in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:05.341294 [ 32823 ] {e6cf5d36-d4ea-4f12-b2e4-8db9948d70a7} executeQuery: Code: 36. DB::Exception: Cannot load time zone invalid timezone: While processing ignore(now64(3, 'invalid timezone')). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64(3, 'invalid timezone'));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000000f9b01c8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x000000000f9ad467 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/DateLUT.h:0: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001840e28a in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001840e9fd in /usr/bin/clickhouse 7. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String&, void>(std::allocator const&, unsigned int&, String&) @ 0x000000000d8884d0 in /usr/bin/clickhouse 8. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d887774 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:52:05.521621 [ 32823 ] {e6cf5d36-d4ea-4f12-b2e4-8db9948d70a7} TCPHandler: Code: 36. DB::Exception: Cannot load time zone invalid timezone: While processing ignore(now64(3, 'invalid timezone')). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/DateLUTImpl.cpp:77: DateLUTImpl::DateLUTImpl(String const&) @ 0x000000000f9b01c8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DateLUT::getImplementation(String const&) const @ 0x000000000f9ad467 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/DateLUT.h:0: TimezoneMixin::TimezoneMixin(String const&) @ 0x000000001840e28a in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/DataTypeDateTime64.cpp:23: DB::DataTypeDateTime64::DataTypeDateTime64(unsigned int, String const&) @ 0x000000001840e9fd in /usr/bin/clickhouse 7. std::shared_ptr std::allocate_shared[abi:v15000], unsigned int&, String&, void>(std::allocator const&, unsigned int&, String&) @ 0x000000000d8884d0 in /usr/bin/clickhouse 8. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d887774 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 14:52:05.522083 [ 32876 ] {2fe30ce2-62a5-42b9-99ab-1d54b4f79993} executeQuery: Code: 386. DB::Exception: There is no supertype for types String, Array(Nothing) because some of them are Array and some of them are not: While processing hasAny([['Hello, world']], [[[]]]). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60836) (comment: 00918_has_unsufficient_type_check.sql) (in query: SELECT hasAny([['Hello, world']], [[[]]]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001856112f in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001855f4df in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001855f4df in /usr/bin/clickhouse 7. DB::FunctionArrayHasAllAny::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f52558a in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:52:05.523573 [ 32876 ] {2fe30ce2-62a5-42b9-99ab-1d54b4f79993} TCPHandler: Code: 386. DB::Exception: There is no supertype for types String, Array(Nothing) because some of them are Array and some of them are not: While processing hasAny([['Hello, world']], [[[]]]). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:313: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001856112f in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001855f4df in /usr/bin/clickhouse 6. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:269: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x000000001855f4df in /usr/bin/clickhouse 7. DB::FunctionArrayHasAllAny::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000f52558a in /usr/bin/clickhouse 8. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:52:05.692882 [ 32823 ] {8eec24a2-e014-4bff-82b2-6b7a537cb8bd} executeQuery: Code: 44. DB::Exception: Illegal column 1111 of time zone argument of function, must be a constant string: While processing ignore(now64(3, 1111)). (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 00921_datetime64_basic.sql) (in query: SELECT ignore(now64(3, 1111));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/extractTimeZoneFromFunctionArguments.cpp:25: DB::extractTimeZoneNameFromColumn(DB::IColumn const*, String const&) @ 0x0000000017a6b864 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/extractTimeZoneFromFunctionArguments.cpp:39: DB::extractTimeZoneNameFromFunctionArguments(std::vector> const&, unsigned long, unsigned long, bool) @ 0x0000000017a6baa5 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d887751 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:05.693920 [ 32823 ] {8eec24a2-e014-4bff-82b2-6b7a537cb8bd} TCPHandler: Code: 44. DB::Exception: Illegal column 1111 of time zone argument of function, must be a constant string: While processing ignore(now64(3, 1111)). (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/extractTimeZoneFromFunctionArguments.cpp:25: DB::extractTimeZoneNameFromColumn(DB::IColumn const*, String const&) @ 0x0000000017a6b864 in /usr/bin/clickhouse 4. ./build_docker/./src/Functions/extractTimeZoneFromFunctionArguments.cpp:39: DB::extractTimeZoneNameFromFunctionArguments(std::vector> const&, unsigned long, unsigned long, bool) @ 0x0000000017a6baa5 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::Now64OverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x000000000d887751 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:07.297530 [ 18906 ] {2300cce4-fc4b-414b-9fde-1cf25ab6a214} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58910) (comment: 00956_sensitive_data_masking.sh) (in query: select sleepEachRow(1) from numbers(10) where ignore('find_me_[hidden]')=0 and ignore('fwerkh_that_magic_string_make_me_unique') = 0 FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:07.300087 [ 18906 ] {2300cce4-fc4b-414b-9fde-1cf25ab6a214} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:11.910100 [ 32855 ] {a4226def-bf67-4186-ae0f-7076186c0fa6} executeQuery: Code: 70. DB::Exception: Conversion from IntervalDay to Decimal(10, 10) is not supported: While processing CAST(toIntervalDay(1), 'Nullable(Decimal(10, 10))'). (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56930) (comment: 00879_cast_to_decimal_crash.sql) (in query: select cast(toIntervalDay(1) as Nullable(Decimal(10, 10)));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const @ 0x00000000081e53c0 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&) @ 0x0000000008100ceb in /usr/bin/clickhouse 5. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080fe964 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080f94ad in /usr/bin/clickhouse 7. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000080f9136 in /usr/bin/clickhouse 8. DB::FunctionCast::prepare(std::vector> const&) const @ 0x00000000080f897b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:52:11.911245 [ 32855 ] {a4226def-bf67-4186-ae0f-7076186c0fa6} TCPHandler: Code: 70. DB::Exception: Conversion from IntervalDay to Decimal(10, 10) is not supported: While processing CAST(toIntervalDay(1), 'Nullable(Decimal(10, 10))'). (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. std::function::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)> DB::FunctionCast::createDecimalWrapper>>(std::shared_ptr const&, DB::DataTypeDecimal> const*, bool) const @ 0x00000000081e53c0 in /usr/bin/clickhouse 4. bool DB::callOnIndexAndDataType::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda'(auto const&)&) @ 0x0000000008100ceb in /usr/bin/clickhouse 5. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080fe964 in /usr/bin/clickhouse 6. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x00000000080f94ad in /usr/bin/clickhouse 7. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x00000000080f9136 in /usr/bin/clickhouse 8. DB::FunctionCast::prepare(std::vector> const&) const @ 0x00000000080f897b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:52:19.658650 [ 17927 ] {82a32c46-3a33-49c8-a060-a618d11cf833} DeflateQplJobHWPool: Initialization of hardware-assisted DeflateQpl codec failed, falling back to software DeflateQpl codec. Failed to get available workqueue size -> total_wq_size: 0, QPL Version: 1.2.0. 2024.05.01 14:52:20.364619 [ 9606 ] {c527e1ac-7724-4521-86ae-fbba4aaacb1e} executeQuery: Code: 403. DB::Exception: JOIN (SELECT system.one.dummy AS val FROM system.one) ANY LEFT JOIN (SELECT system.one.dummy AS val FROM system.one) ON (val + 0) = (val * 1) cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:57902) (comment: 00800_low_cardinality_join.sql) (in query: select * from (select dummy as val from system.one) any left join (select dummy as val from system.one) on val + 0 = val * 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Planner/PlannerJoins.cpp:0: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000195e126f in /usr/bin/clickhouse 4. ./build_docker/./src/Planner/PlannerJoinTree.cpp:0: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000195d2cae in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1562: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000195c95f3 in /usr/bin/clickhouse 6. ./build_docker/./src/Planner/Planner.cpp:1258: DB::Planner::buildPlanForQueryNode() @ 0x00000000195a2b5b in /usr/bin/clickhouse 7. ./build_docker/./src/Planner/Planner.cpp:1090: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001959f442 in /usr/bin/clickhouse 8. ./build_docker/./src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001959e49b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1041: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55319 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:20.379853 [ 9606 ] {c527e1ac-7724-4521-86ae-fbba4aaacb1e} TCPHandler: Code: 403. DB::Exception: JOIN (SELECT system.one.dummy AS val FROM system.one) ANY LEFT JOIN (SELECT system.one.dummy AS val FROM system.one) ON (val + 0) = (val * 1) cannot get JOIN keys. (INVALID_JOIN_ON_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Planner/PlannerJoins.cpp:0: DB::buildJoinClausesAndActions(std::vector> const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x00000000195e126f in /usr/bin/clickhouse 4. ./build_docker/./src/Planner/PlannerJoinTree.cpp:0: DB::(anonymous namespace)::buildQueryPlanForJoinNode(std::shared_ptr const&, DB::JoinTreeQueryPlan, DB::JoinTreeQueryPlan, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000195d2cae in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/vector:1562: DB::buildJoinTreeQueryPlan(std::shared_ptr const&, DB::SelectQueryInfo const&, DB::SelectQueryOptions&, std::unordered_set, std::equal_to, std::allocator> const&, std::shared_ptr&) @ 0x00000000195c95f3 in /usr/bin/clickhouse 6. ./build_docker/./src/Planner/Planner.cpp:1258: DB::Planner::buildPlanForQueryNode() @ 0x00000000195a2b5b in /usr/bin/clickhouse 7. ./build_docker/./src/Planner/Planner.cpp:1090: DB::Planner::buildQueryPlanIfNeeded() @ 0x000000001959f442 in /usr/bin/clickhouse 8. ./build_docker/./src/Planner/Planner.h:44: DB::InterpreterSelectQueryAnalyzer::getQueryPlan() @ 0x000000001959e49b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1041: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55319 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:21.014780 [ 32850 ] {a54659b1-60a7-419a-80d6-e06383381376} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function less: While processing today() < ((2018 - 11) - 14). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58108) (comment: 00762_date_comparsion.sql) (in query: select today() < 2018-11-14;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bdfdcb4 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:21.176452 [ 32850 ] {a54659b1-60a7-419a-80d6-e06383381376} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function less: While processing today() < ((2018 - 11) - 14). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bdfdcb4 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:21.176591 [ 8754 ] {cc84f09b-21cc-4c41-8f13-ef0e237790af} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt8(1)). (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58134) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt8(1))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b2831 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b1b70 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x00000000087b163b in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b128a in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000853268b in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b0d9e in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:52:21.179975 [ 8754 ] {cc84f09b-21cc-4c41-8f13-ef0e237790af} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt8(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b2831 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b1b70 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x00000000087b163b in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b128a in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000853268b in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b0d9e in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:52:21.384799 [ 32850 ] {4e2502f1-6604-4624-bb33-14ef36f4d6e6} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function less: While processing toDate('2018-01-01') < 1. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58108) (comment: 00762_date_comparsion.sql) (in query: select toDate('2018-01-01') < 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bdfdcb4 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:21.385918 [ 32850 ] {4e2502f1-6604-4624-bb33-14ef36f4d6e6} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function less: While processing toDate('2018-01-01') < 1. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bdfdcb4 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:21.601532 [ 32850 ] {598f9eb3-b322-4514-81bb-978a1f4f40fa} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate('2018-01-01') = 1. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58108) (comment: 00762_date_comparsion.sql) (in query: select toDate('2018-01-01') == 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:21.602742 [ 32850 ] {598f9eb3-b322-4514-81bb-978a1f4f40fa} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate('2018-01-01') = 1. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:21.759983 [ 32829 ] {b2d35545-efd3-41d3-aa6e-f91cf37e4cb0} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt16(1)). (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58196) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt16(1))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b2b73 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b1cf2 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x00000000087b163b in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b128a in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000853268b in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b0d9e in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:52:21.927003 [ 32829 ] {b2d35545-efd3-41d3-aa6e-f91cf37e4cb0} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt16(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b2b73 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b1cf2 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x00000000087b163b in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b128a in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000853268b in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b0d9e in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:52:21.927102 [ 32850 ] {5125b54a-b0e4-4f87-bd56-f83f5f77b42b} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function notEquals: While processing toDate('2018-01-01') != 1. (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58108) (comment: 00762_date_comparsion.sql) (in query: select toDate('2018-01-01') != 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d41a974 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:21.928330 [ 32850 ] {5125b54a-b0e4-4f87-bd56-f83f5f77b42b} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function notEquals: While processing toDate('2018-01-01') != 1. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d41a974 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:22.424268 [ 32829 ] {e838afd4-747a-4f53-bc2d-71283333fb7a} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt32(1)). (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58264) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt32(1))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b2ed3 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b1c8b in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x00000000087b163b in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b128a in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000853268b in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b0d9e in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:52:22.583669 [ 32829 ] {e838afd4-747a-4f53-bc2d-71283333fb7a} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt32(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b2ed3 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b1c8b in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x00000000087b163b in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b128a in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000853268b in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b0d9e in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:52:22.584196 [ 32816 ] {8969a615-d430-4e49-89d9-07209c012f22} executeQuery: Code: 36. DB::Exception: Existing column a is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58274) (comment: 00754_alter_modify_order_by.sql) (in query: ALTER TABLE no_order MODIFY ORDER BY (a);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a824e6f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:22.585083 [ 32816 ] {8969a615-d430-4e49-89d9-07209c012f22} TCPHandler: Code: 36. DB::Exception: Existing column a is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a824e6f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:22.733406 [ 32816 ] {21915b3d-d549-44c7-b652-b551b0d6c233} executeQuery: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58274) (comment: 00754_alter_modify_order_by.sql) (in query: ALTER TABLE old_style ADD COLUMN y UInt32, MODIFY ORDER BY (x, y);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [98]) @ 0x0000000014099da6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8594b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:22.734298 [ 32816 ] {21915b3d-d549-44c7-b652-b551b0d6c233} TCPHandler: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [98]) @ 0x0000000014099da6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8594b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:22.893801 [ 32816 ] {9f8665b8-f0ed-4947-8c02-fcaab6a1871d} executeQuery: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58274) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing MODIFY ORDER BY (x, y, -val);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a824e6f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:22.894827 [ 32816 ] {9f8665b8-f0ed-4947-8c02-fcaab6a1871d} TCPHandler: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a824e6f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:23.034501 [ 32816 ] {d1356a64-0afc-4df6-83ed-83163ceb60a1} executeQuery: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58274) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing ADD COLUMN z UInt32 DEFAULT x + 1, MODIFY ORDER BY (x, y, -z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a82500f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:23.200222 [ 32816 ] {d1356a64-0afc-4df6-83ed-83163ceb60a1} TCPHandler: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a82500f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:23.200549 [ 8754 ] {96d91232-4c91-41eb-8330-f5178c2ee65d} executeQuery: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt64(1)). (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58312) (comment: 00800_function_java_hash_with_unsigined_types.sh) (in query: SELECT javaHash(toUInt64(1))), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b3233 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b1d72 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x00000000087b163b in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b128a in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000853268b in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b0d9e in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:52:23.204541 [ 8754 ] {96d91232-4c91-41eb-8330-f5178c2ee65d} TCPHandler: Code: 48. DB::Exception: Unsigned types are not supported: While processing javaHash(toUInt64(1)). (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. void DB::TargetSpecific::Default::FunctionAnyHash::executeIntType(char const&, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b3233 in /usr/bin/clickhouse 4. void DB::TargetSpecific::Default::FunctionAnyHash::executeAny(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&) const @ 0x00000000087b1d72 in /usr/bin/clickhouse 5. DB::TargetSpecific::Default::FunctionAnyHash::executeForArgument(char const&, DB::IDataType const*, DB::IColumn const*, DB::PODArray, 63ul, 64ul>&, bool&) const @ 0x00000000087b163b in /usr/bin/clickhouse 6. DB::TargetSpecific::Default::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b128a in /usr/bin/clickhouse 7. DB::ImplementationSelector::selectAndExecute(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000853268b in /usr/bin/clickhouse 8. DB::FunctionAnyHash::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000087b0d9e in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 14:52:23.340276 [ 32816 ] {7bf4767a-d6fb-4e77-8c5c-035b2fd60a26} executeQuery: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58274) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't add nonexistent column to ORDER BY. */ ALTER TABLE summing MODIFY ORDER BY (x, y, nonexistent);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997cbc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001a08d2a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001a08cc54 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:473: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01814b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d5d2 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:23.341323 [ 32816 ] {7bf4767a-d6fb-4e77-8c5c-035b2fd60a26} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997cbc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001a08d2a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001a08cc54 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:473: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01814b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d5d2 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:23.459316 [ 32816 ] {f7bc3aa6-2ec2-4001-b281-ad873ee05201} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58274) (comment: 00754_alter_modify_order_by.sql) (in query: /* Can't modyfy ORDER BY so that it is no longer a prefix of the PRIMARY KEY. */ ALTER TABLE summing MODIFY ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x0000000008ef02c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:500: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8250ea in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:23.460343 [ 32816 ] {f7bc3aa6-2ec2-4001-b281-ad873ee05201} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x0000000008ef02c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:500: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8250ea in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:23.827154 [ 8754 ] {7b4c396c-b7cf-4f27-a728-a350b9345880} executeQuery: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58360) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: ALTER TABLE old_style ADD COLUMN y UInt32, MODIFY ORDER BY (x, y);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [98]) @ 0x0000000014099da6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8594b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:23.828065 [ 8754 ] {7b4c396c-b7cf-4f27-a728-a350b9345880} TCPHandler: Code: 36. DB::Exception: ALTER MODIFY ORDER BY is not supported for default-partitioned tables created with the old syntax. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [98]) @ 0x0000000014099da6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8594b4 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:24.069930 [ 8754 ] {b550fd0f-f5b6-40fe-944a-89da2706a01e} executeQuery: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58360) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing_r1 MODIFY ORDER BY (x, y, -val);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a824e6f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:24.071029 [ 8754 ] {b550fd0f-f5b6-40fe-944a-89da2706a01e} TCPHandler: Code: 36. DB::Exception: Existing column val is used in the expression that was added to the sorting key. You can add expressions that use only the newly added columns. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a824e6f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:24.090093 [ 8754 ] {9dbece14-47dc-4dae-8936-fc3931d10aed} executeQuery: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58360) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't add an expression with existing column to ORDER BY. */ ALTER TABLE summing_r1 ADD COLUMN z UInt32 DEFAULT x + 1, MODIFY ORDER BY (x, y, -z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a82500f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:24.091085 [ 8754 ] {9dbece14-47dc-4dae-8936-fc3931d10aed} TCPHandler: Code: 36. DB::Exception: Newly added column z has a default expression, so adding expressions that use it to the sorting key is forbidden. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a82500f in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:24.102932 [ 8754 ] {c75ef9f9-7a8a-443e-aa84-3edc5e18621c} executeQuery: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58360) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't add nonexistent column to ORDER BY. */ ALTER TABLE summing_r1 MODIFY ORDER BY (x, y, nonexistent);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997cbc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001a08d2a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001a08cc54 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:473: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01814b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d5d2 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:24.103879 [ 8754 ] {c75ef9f9-7a8a-443e-aa84-3edc5e18621c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'nonexistent' while processing query: 'x, y, nonexistent', required columns: 'x' 'y' 'nonexistent' 'x' 'y' 'nonexistent'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/new:246: DB::TreeRewriter::analyze(std::shared_ptr&, DB::NamesAndTypesList const&, std::shared_ptr, std::shared_ptr const&, bool, bool, bool, bool) const @ 0x000000001997cbc5 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/KeyDescription.cpp:140: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001a08d2a1 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001a08cc54 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/AlterCommands.cpp:473: DB::AlterCommand::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01814b in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:158: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d5d2 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:24.116417 [ 8754 ] {4a68dc18-8ac8-4c57-aa44-97b246f40e69} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58360) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: /* Can't modyfy ORDER BY so that it is no longer a prefix of the PRIMARY KEY. */ ALTER TABLE summing_r1 MODIFY ORDER BY x;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x0000000008ef02c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:500: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8250ea in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:24.117142 [ 8754 ] {4a68dc18-8ac8-4c57-aa44-97b246f40e69} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x0000000008ef02c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:500: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8250ea in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a85745f in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:26.184796 [ 32846 ] {65324380-789b-41d0-82bc-dea3dc55e30a} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int8 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt8(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt8(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:26.187934 [ 32846 ] {65324380-789b-41d0-82bc-dea3dc55e30a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int8 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt8(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:26.458594 [ 32846 ] {e2d8c284-96b3-408e-bd5c-aec129fee9f2} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int8, Date) of function greater: While processing toInt8(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt8(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:26.459772 [ 32846 ] {e2d8c284-96b3-408e-bd5c-aec129fee9f2} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int8, Date) of function greater: While processing toInt8(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:26.642704 [ 32846 ] {21eda3b0-12a3-4138-a786-29e23a3ebdff} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:26.643885 [ 32846 ] {21eda3b0-12a3-4138-a786-29e23a3ebdff} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:26.934545 [ 32846 ] {e317e25a-28e0-422b-b5ac-9067aef995dc} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int16 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt16(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt16(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:26.935591 [ 32846 ] {e317e25a-28e0-422b-b5ac-9067aef995dc} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int16 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt16(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:27.013950 [ 32846 ] {1ffc24cc-feb5-4229-b70b-e582c81fb91b} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int16, Date) of function greater: While processing toInt16(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt16(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:27.014963 [ 32846 ] {1ffc24cc-feb5-4229-b70b-e582c81fb91b} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int16, Date) of function greater: While processing toInt16(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:27.036707 [ 32846 ] {673a254e-cafd-4d00-a021-36cfc9a17e5d} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:27.037792 [ 32846 ] {673a254e-cafd-4d00-a021-36cfc9a17e5d} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:27.320705 [ 32846 ] {b0112fe2-1564-45b9-9d39-3d9ccc78eb36} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int32 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt32(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt32(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:27.321563 [ 32846 ] {b0112fe2-1564-45b9-9d39-3d9ccc78eb36} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int32 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt32(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:27.396286 [ 32846 ] {278f4069-4b0f-4f56-b377-3ac2fc935cf4} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int32, Date) of function greater: While processing toInt32(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt32(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:27.397255 [ 32846 ] {278f4069-4b0f-4f56-b377-3ac2fc935cf4} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int32, Date) of function greater: While processing toInt32(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:27.419768 [ 32846 ] {4705d3e0-2b79-485f-b9e2-098e4c9c438d} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:27.420708 [ 32846 ] {4705d3e0-2b79-485f-b9e2-098e4c9c438d} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:27.578027 [ 3204 ] {ca4c4cb7-ed74-4cb8-ba4c-57b906113fec} HedgedConnectionsFactory: Connection failed at try â„–1, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:52:27.580339 [ 3204 ] {ca4c4cb7-ed74-4cb8-ba4c-57b906113fec} HedgedConnectionsFactory: Connection failed at try â„–2, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:52:27.581784 [ 3204 ] {ca4c4cb7-ed74-4cb8-ba4c-57b906113fec} HedgedConnectionsFactory: Connection failed at try â„–3, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:52:27.660787 [ 19106 ] {ca4c4cb7-ed74-4cb8-ba4c-57b906113fec} executeQuery: Code: 279. DB::NetException: All connection tries failed. Log: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) : While executing Remote. (ALL_CONNECTION_TRIES_FAILED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58664) (comment: 00754_distributed_optimize_skip_select_on_unused_shards.sh) (in query: SELECT count(*) FROM distributed;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001a4b3a99 in /usr/bin/clickhouse 3. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:0: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode, std::function) @ 0x000000001adfc6b4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr, std::function) @ 0x000000001adf0300 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function>(std::shared_ptr const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function&&) @ 0x00000000183fc6a5 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: std::unique_ptr> std::__function::__policy_invoker> (std::function)>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_0, std::unique_ptr> (std::function)>>(std::__function::__policy_storage const*, std::function&&) @ 0x00000000183f3e07 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:242: DB::RemoteQueryExecutor::sendQueryUnlocked(DB::ClientInfo::QueryKind, std::function) @ 0x00000000183ec8d4 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x000000001840064b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 14:52:27.664045 [ 32872 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:58672). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:52:27.664057 [ 19106 ] {ca4c4cb7-ed74-4cb8-ba4c-57b906113fec} TCPHandler: Code: 279. DB::NetException: All connection tries failed. Log: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) : While executing Remote. (ALL_CONNECTION_TRIES_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001a4b3a99 in /usr/bin/clickhouse 3. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:0: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode, std::function) @ 0x000000001adfc6b4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr, std::function) @ 0x000000001adf0300 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function>(std::shared_ptr const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function&&) @ 0x00000000183fc6a5 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: std::unique_ptr> std::__function::__policy_invoker> (std::function)>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_0, std::unique_ptr> (std::function)>>(std::__function::__policy_storage const*, std::function&&) @ 0x00000000183f3e07 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:242: DB::RemoteQueryExecutor::sendQueryUnlocked(DB::ClientInfo::QueryKind, std::function) @ 0x00000000183ec8d4 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x000000001840064b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 14:52:27.691263 [ 32846 ] {1f34a208-72ee-4284-8f46-563d53a9f586} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt64(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:27.692041 [ 32846 ] {1f34a208-72ee-4284-8f46-563d53a9f586} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toInt64(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:27.847282 [ 32846 ] {6f1f4e57-5d98-4228-af11-b5b3d06b3aa4} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float32, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toInt64(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:27.848368 [ 32846 ] {6f1f4e57-5d98-4228-af11-b5b3d06b3aa4} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float32, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toInt64(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:27.873044 [ 32846 ] {15d2fd6f-7166-40e1-a402-88bef4137198} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float64, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toInt64(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:27.873976 [ 32846 ] {15d2fd6f-7166-40e1-a402-88bef4137198} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float64, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toInt64(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:27.895694 [ 32846 ] {2b7ecb93-b2b0-4ebd-96e7-77a597ddcec8} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int64, Date) of function greater: While processing toInt64(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:27.896781 [ 32846 ] {2b7ecb93-b2b0-4ebd-96e7-77a597ddcec8} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int64, Date) of function greater: While processing toInt64(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:27.918841 [ 32846 ] {34a48945-bd62-4251-8ecd-9b57c124fa0d} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:27.919690 [ 32846 ] {34a48945-bd62-4251-8ecd-9b57c124fa0d} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:28.033230 [ 1355 ] {75863ece-0192-40ae-9729-1e521c254c4d} HedgedConnectionsFactory: Connection failed at try â„–1, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:52:28.034393 [ 1355 ] {75863ece-0192-40ae-9729-1e521c254c4d} HedgedConnectionsFactory: Connection failed at try â„–2, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:52:28.035493 [ 1355 ] {75863ece-0192-40ae-9729-1e521c254c4d} HedgedConnectionsFactory: Connection failed at try â„–3, reason: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:52:28.068352 [ 19106 ] {75863ece-0192-40ae-9729-1e521c254c4d} executeQuery: Code: 279. DB::NetException: All connection tries failed. Log: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) : While executing Remote. (ALL_CONNECTION_TRIES_FAILED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58720) (comment: 00754_distributed_optimize_skip_select_on_unused_shards.sh) (in query: SELECT count(*) FROM distributed WHERE a = 0 AND b = 0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001a4b3a99 in /usr/bin/clickhouse 3. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:0: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode, std::function) @ 0x000000001adfc6b4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr, std::function) @ 0x000000001adf0300 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function>(std::shared_ptr const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function&&) @ 0x00000000183fc6a5 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: std::unique_ptr> std::__function::__policy_invoker> (std::function)>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_0, std::unique_ptr> (std::function)>>(std::__function::__policy_storage const*, std::function&&) @ 0x00000000183f3e07 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:242: DB::RemoteQueryExecutor::sendQueryUnlocked(DB::ClientInfo::QueryKind, std::function) @ 0x00000000183ec8d4 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x000000001840064b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 14:52:28.072267 [ 9611 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:58722). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:52:28.072459 [ 19106 ] {75863ece-0192-40ae-9729-1e521c254c4d} TCPHandler: Code: 279. DB::NetException: All connection tries failed. Log: Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) Code: 210. DB::NetException: Connection refused (localhost:1). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) : While executing Remote. (ALL_CONNECTION_TRIES_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type>, String&) @ 0x000000001a4b3a99 in /usr/bin/clickhouse 3. ./build_docker/./src/Client/HedgedConnectionsFactory.cpp:0: DB::HedgedConnectionsFactory::getManyConnections(DB::PoolMode, std::function) @ 0x000000001adfc6b4 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::HedgedConnections(std::shared_ptr const&, std::shared_ptr, DB::ConnectionTimeouts const&, std::shared_ptr const&, DB::PoolMode, std::shared_ptr, std::function) @ 0x000000001adf0300 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: std::__unique_if::__unique_single std::make_unique[abi:v15000] const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function>(std::shared_ptr const&, std::shared_ptr&, DB::ConnectionTimeouts&, std::shared_ptr const&, DB::PoolMode&, std::shared_ptr&, std::function&&) @ 0x00000000183fc6a5 in /usr/bin/clickhouse 6. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: std::unique_ptr> std::__function::__policy_invoker> (std::function)>::__call_impl const&, String const&, DB::Block const&, std::shared_ptr, std::shared_ptr const&, std::map, std::allocator>> const&, std::map, std::less, std::allocator>>> const&, DB::QueryProcessingStage::Enum, std::optional)::$_0, std::unique_ptr> (std::function)>>(std::__function::__policy_storage const*, std::function&&) @ 0x00000000183f3e07 in /usr/bin/clickhouse 7. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:242: DB::RemoteQueryExecutor::sendQueryUnlocked(DB::ClientInfo::QueryKind, std::function) @ 0x00000000183ec8d4 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x000000001840064b in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 14:52:28.268846 [ 32846 ] {49e85f53-99a6-4786-99c1-bc8c8dcccea0} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt8, Date) of function greater: While processing toUInt8(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt8(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:28.270043 [ 32846 ] {49e85f53-99a6-4786-99c1-bc8c8dcccea0} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt8, Date) of function greater: While processing toUInt8(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:28.290722 [ 32846 ] {846d4dfb-fcac-4d1a-be13-fd2a63fb3924} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:28.291657 [ 32846 ] {846d4dfb-fcac-4d1a-be13-fd2a63fb3924} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt8(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:28.677269 [ 32846 ] {81f6987a-35b1-49ad-8606-bb7293025791} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt16, Date) of function greater: While processing toUInt16(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt16(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:28.678518 [ 32846 ] {81f6987a-35b1-49ad-8606-bb7293025791} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt16, Date) of function greater: While processing toUInt16(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:28.702979 [ 32846 ] {4af7e4fe-7737-43d9-a827-2a1ec66cf006} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:28.704144 [ 32846 ] {4af7e4fe-7737-43d9-a827-2a1ec66cf006} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt16(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.040919 [ 32846 ] {dea5335e-c59a-47d7-b902-80bed800b307} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt32, Date) of function greater: While processing toUInt32(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt32(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.041911 [ 32846 ] {dea5335e-c59a-47d7-b902-80bed800b307} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt32, Date) of function greater: While processing toUInt32(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.062528 [ 32846 ] {85a325da-6564-436e-b5c4-d3463e37c45a} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.063581 [ 32846 ] {85a325da-6564-436e-b5c4-d3463e37c45a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt32(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.236854 [ 32846 ] {a30e1b82-5f48-4389-adf1-8c8f080c7a91} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:29.237796 [ 32846 ] {a30e1b82-5f48-4389-adf1-8c8f080c7a91} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:29.263829 [ 32846 ] {f6ef3c84-fb53-4301-9192-376c83c44686} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int16, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:29.264897 [ 32846 ] {f6ef3c84-fb53-4301-9192-376c83c44686} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int16, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:29.287880 [ 32846 ] {d5d35a41-a7f7-4f07-aa70-50d44151774f} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int32, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:29.288965 [ 32846 ] {d5d35a41-a7f7-4f07-aa70-50d44151774f} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int32, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:29.309379 [ 32846 ] {81be07bb-2d92-4dea-a3c2-f1c813828140} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:29.310359 [ 32846 ] {81be07bb-2d92-4dea-a3c2-f1c813828140} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing toUInt64(0) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:29.434400 [ 32846 ] {6304ec7f-72be-4f9d-9156-fcf8cf6dce30} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float32, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toUInt64(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:29.435580 [ 32846 ] {6304ec7f-72be-4f9d-9156-fcf8cf6dce30} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float32, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toUInt64(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:29.457188 [ 32846 ] {5f0a88b2-ae83-4c54-b181-c68cf107d113} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float64, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toUInt64(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:29.458201 [ 32846 ] {5f0a88b2-ae83-4c54-b181-c68cf107d113} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float64, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing toUInt64(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:29.479276 [ 32846 ] {857e0757-833f-42d6-a207-501000b388b4} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt64, Date) of function greater: While processing toUInt64(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.480352 [ 32846 ] {857e0757-833f-42d6-a207-501000b388b4} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt64, Date) of function greater: While processing toUInt64(0) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.500109 [ 32846 ] {62a1dd20-62d8-4e0b-8191-03648a15360d} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toUInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.501121 [ 32846 ] {62a1dd20-62d8-4e0b-8191-03648a15360d} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toUInt64(0) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.648435 [ 32846 ] {7d923d2b-e571-4804-a5f3-d80993169d1f} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int8) of function greater: While processing toDate(0) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.649407 [ 32846 ] {7d923d2b-e571-4804-a5f3-d80993169d1f} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int8) of function greater: While processing toDate(0) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.668646 [ 32846 ] {6562d924-a24a-4f93-948a-fda9a35988c0} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int16) of function greater: While processing toDate(0) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.669735 [ 32846 ] {6562d924-a24a-4f93-948a-fda9a35988c0} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int16) of function greater: While processing toDate(0) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.688350 [ 32846 ] {c6183660-f0a6-41ba-b9bf-d98e7ab35b62} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int32) of function greater: While processing toDate(0) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.689366 [ 32846 ] {c6183660-f0a6-41ba-b9bf-d98e7ab35b62} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int32) of function greater: While processing toDate(0) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.716779 [ 32846 ] {83a79f8e-899f-4c77-bf09-33939c996f6e} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function greater: While processing toDate(0) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.717916 [ 32846 ] {83a79f8e-899f-4c77-bf09-33939c996f6e} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function greater: While processing toDate(0) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.747467 [ 32846 ] {7fc97711-8028-481a-a7f4-58cd1f50fbae} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: While processing toDate(0) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toUInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.749093 [ 32846 ] {7fc97711-8028-481a-a7f4-58cd1f50fbae} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: While processing toDate(0) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.769780 [ 32846 ] {8845369d-7d23-4787-aeae-5a6ea86e5a13} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt16) of function greater: While processing toDate(0) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toUInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.770767 [ 32846 ] {8845369d-7d23-4787-aeae-5a6ea86e5a13} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt16) of function greater: While processing toDate(0) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.791557 [ 32846 ] {f9b6da2f-5ad5-4493-8e7b-fcd6130d0b7f} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt32) of function greater: While processing toDate(0) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toUInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.792673 [ 32846 ] {f9b6da2f-5ad5-4493-8e7b-fcd6130d0b7f} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt32) of function greater: While processing toDate(0) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.816360 [ 32846 ] {9f9bdf1a-6738-4efe-8e68-9af457b15cae} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt64) of function greater: While processing toDate(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.817583 [ 32846 ] {9f9bdf1a-6738-4efe-8e68-9af457b15cae} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt64) of function greater: While processing toDate(0) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.839390 [ 32846 ] {ba579db6-02df-49f2-b7d6-5e7fb92dd7e7} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Float32) of function greater: While processing toDate(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.840869 [ 32846 ] {ba579db6-02df-49f2-b7d6-5e7fb92dd7e7} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Float32) of function greater: While processing toDate(0) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.862858 [ 32846 ] {b4e37533-44fe-49a5-add0-3823f15033bc} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Float64) of function greater: While processing toDate(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:29.863990 [ 32846 ] {b4e37533-44fe-49a5-add0-3823f15033bc} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Float64) of function greater: While processing toDate(0) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.140650 [ 32846 ] {8c67c9e2-b354-435c-b8d6-690839518f7d} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toDecimal32(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.141727 [ 32846 ] {8c67c9e2-b354-435c-b8d6-690839518f7d} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.158900 [ 32846 ] {ace47139-62ec-4b0e-914e-8114cd674f94} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toDecimal64(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.159952 [ 32846 ] {ace47139-62ec-4b0e-914e-8114cd674f94} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.177656 [ 32846 ] {640b0276-3466-45f2-a359-99a6a4463dac} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDate(0) AS x, toDecimal128(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.178489 [ 32846 ] {640b0276-3466-45f2-a359-99a6a4463dac} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing toDate(0) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.200291 [ 32846 ] {700d38a0-f263-4784-830d-d5923465bfba} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.201826 [ 32846 ] {700d38a0-f263-4784-830d-d5923465bfba} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.221271 [ 32846 ] {e2652d99-a9ea-4222-a29f-3aba01027cd8} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.222170 [ 32846 ] {e2652d99-a9ea-4222-a29f-3aba01027cd8} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.238837 [ 32846 ] {5b013f50-a6cc-4869-89aa-921be7b792d4} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.240133 [ 32846 ] {5b013f50-a6cc-4869-89aa-921be7b792d4} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.258256 [ 32846 ] {9674c426-af9e-45fd-8bc4-2272889a4527} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.259390 [ 32846 ] {9674c426-af9e-45fd-8bc4-2272889a4527} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.277835 [ 32846 ] {ea884520-9f36-4b41-a1ec-552f01bbe0bd} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toUInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.279252 [ 32846 ] {ea884520-9f36-4b41-a1ec-552f01bbe0bd} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.298534 [ 32846 ] {e2e37edc-8b40-4d1f-9210-12d44e885340} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toUInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.299728 [ 32846 ] {e2e37edc-8b40-4d1f-9210-12d44e885340} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.318095 [ 32846 ] {96865f79-39f5-4c6f-aa0e-73b8ef0f5f97} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toUInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.319069 [ 32846 ] {96865f79-39f5-4c6f-aa0e-73b8ef0f5f97} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.338575 [ 32846 ] {e8273981-016b-4590-b072-0aa7da98c007} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.339641 [ 32846 ] {e8273981-016b-4590-b072-0aa7da98c007} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.358092 [ 32846 ] {c821434b-49ee-4443-9e77-e43d29dfded5} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.358996 [ 32846 ] {c821434b-49ee-4443-9e77-e43d29dfded5} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.375944 [ 32846 ] {ec9ddb09-e408-4859-a60c-7dbfc52a60ff} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.376771 [ 32846 ] {ec9ddb09-e408-4859-a60c-7dbfc52a60ff} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.442797 [ 32846 ] {f5db7bfe-39b9-49a7-8c34-2d1329c08135} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(9, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toDecimal32(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.443938 [ 32846 ] {f5db7bfe-39b9-49a7-8c34-2d1329c08135} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(9, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.463781 [ 32846 ] {ec885c98-4c62-4bc5-93d4-0b864414ddc3} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(18, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toDecimal64(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.464677 [ 32846 ] {ec885c98-4c62-4bc5-93d4-0b864414ddc3} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(18, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.482299 [ 32846 ] {ef4b5fbf-c141-4d74-baec-94847cfa3428} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(38, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT toDateTime(0, 'Asia/Istanbul') AS x, toDecimal128(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.483248 [ 32846 ] {ef4b5fbf-c141-4d74-baec-94847cfa3428} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(38, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing toDateTime(0, 'Asia/Istanbul') AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.685767 [ 32846 ] {edcb4be4-d0fb-4621-9725-c3dbec875b80} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int8 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt8(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt8(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:30.687191 [ 32846 ] {edcb4be4-d0fb-4621-9725-c3dbec875b80} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int8 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt8(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:30.756805 [ 32846 ] {87f91bdf-fb88-4120-82e2-7d494c703c52} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int8, Date) of function greater: While processing materialize(toInt8(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt8(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.757735 [ 32846 ] {87f91bdf-fb88-4120-82e2-7d494c703c52} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int8, Date) of function greater: While processing materialize(toInt8(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.775029 [ 32846 ] {f3f385e7-7dea-4ee7-977c-2c4461ad3922} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:30.775954 [ 32846 ] {f3f385e7-7dea-4ee7-977c-2c4461ad3922} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:31.024153 [ 32846 ] {23b17983-d316-48df-b423-8e04e9ddfe00} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int16 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt16(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt16(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:31.025165 [ 32846 ] {23b17983-d316-48df-b423-8e04e9ddfe00} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int16 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt16(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:31.085441 [ 32846 ] {bbbcc425-b693-4aae-9726-38d439c95826} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int16, Date) of function greater: While processing materialize(toInt16(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt16(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:31.086371 [ 32846 ] {bbbcc425-b693-4aae-9726-38d439c95826} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int16, Date) of function greater: While processing materialize(toInt16(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:31.105474 [ 32846 ] {1fb8d3ae-b4e6-4d0b-b609-b32c695e38c4} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:31.106357 [ 32846 ] {1fb8d3ae-b4e6-4d0b-b609-b32c695e38c4} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:31.349261 [ 32846 ] {a000ee6d-7cb3-434f-9df3-1cc4645bd8f2} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int32 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt32(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt32(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:31.350658 [ 32846 ] {a000ee6d-7cb3-434f-9df3-1cc4645bd8f2} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int32 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt32(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:31.409500 [ 32846 ] {c8f508cc-bb28-4481-a2e4-3e75aca92c97} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int32, Date) of function greater: While processing materialize(toInt32(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt32(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:31.410571 [ 32846 ] {c8f508cc-bb28-4481-a2e4-3e75aca92c97} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int32, Date) of function greater: While processing materialize(toInt32(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:31.427928 [ 32846 ] {329ebe2b-ff8f-4fbb-920a-fd8fc331a231} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:31.428989 [ 32846 ] {329ebe2b-ff8f-4fbb-920a-fd8fc331a231} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:31.663649 [ 32846 ] {6070be59-b024-4826-b240-7f6f0ad3fe80} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, Int64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt64(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:31.664704 [ 32846 ] {6070be59-b024-4826-b240-7f6f0ad3fe80} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, Int64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toInt64(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:31.680660 [ 32846 ] {2c7a7b36-a9c1-4270-85b0-1de0676085c8} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float32, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toInt64(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:31.681706 [ 32846 ] {2c7a7b36-a9c1-4270-85b0-1de0676085c8} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float32, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toInt64(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:31.697751 [ 32846 ] {80df3591-f233-4511-a4b3-7055646cbd20} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float64, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toInt64(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:31.698785 [ 32846 ] {80df3591-f233-4511-a4b3-7055646cbd20} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float64, Int64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toInt64(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:31.715459 [ 32846 ] {e29fdc57-6b92-46a4-8790-baf5c8be5bf4} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Int64, Date) of function greater: While processing materialize(toInt64(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:31.716545 [ 32846 ] {e29fdc57-6b92-46a4-8790-baf5c8be5bf4} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Int64, Date) of function greater: While processing materialize(toInt64(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:31.735004 [ 32846 ] {b542b17c-784e-4842-908b-f420eb822c8c} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:31.736104 [ 32846 ] {b542b17c-784e-4842-908b-f420eb822c8c} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:32.032578 [ 32846 ] {a0ae17f0-1099-4d59-a9ac-76b542b3986f} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt8, Date) of function greater: While processing materialize(toUInt8(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt8(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:32.033529 [ 32846 ] {a0ae17f0-1099-4d59-a9ac-76b542b3986f} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt8, Date) of function greater: While processing materialize(toUInt8(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:32.047228 [ 32846 ] {77c0f929-a274-43b2-a80c-631dbf5f6d36} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:32.048085 [ 32846 ] {77c0f929-a274-43b2-a80c-631dbf5f6d36} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt8, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt8(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:32.326768 [ 32846 ] {b0613e74-7efb-4a32-818c-4d08555d57cf} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt16, Date) of function greater: While processing materialize(toUInt16(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt16(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:32.327677 [ 32846 ] {b0613e74-7efb-4a32-818c-4d08555d57cf} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt16, Date) of function greater: While processing materialize(toUInt16(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:32.345089 [ 32846 ] {b6d4d0d3-0915-464a-a228-51c02aa013f2} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:32.346193 [ 32846 ] {b6d4d0d3-0915-464a-a228-51c02aa013f2} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt16, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt16(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:32.634700 [ 32846 ] {531b25a6-071e-4e06-a13f-02127bce8dbf} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt32, Date) of function greater: While processing materialize(toUInt32(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt32(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:32.635919 [ 32846 ] {531b25a6-071e-4e06-a13f-02127bce8dbf} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt32, Date) of function greater: While processing materialize(toUInt32(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:32.650951 [ 32846 ] {1c6305e0-5f0b-4ad5-a3fa-63af04ef934a} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:32.651866 [ 32846 ] {1c6305e0-5f0b-4ad5-a3fa-63af04ef934a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt32, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt32(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:32.735508 [ 32846 ] {15823fbc-4781-4844-b07b-9783df0d0a9d} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:32.736866 [ 32846 ] {15823fbc-4781-4844-b07b-9783df0d0a9d} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int8, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:32.755572 [ 32846 ] {accf8f78-3c9c-4d78-be59-41fda5b5d028} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int16, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:32.757027 [ 32846 ] {accf8f78-3c9c-4d78-be59-41fda5b5d028} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int16, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:32.774998 [ 32846 ] {669ce60e-9e6e-446b-98c0-d07af849bd9a} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int32, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:32.776354 [ 32846 ] {669ce60e-9e6e-446b-98c0-d07af849bd9a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int32, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:32.789234 [ 32846 ] {e5d70201-770b-4d5d-ad30-bb1f72f04f33} executeQuery: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:32.790030 [ 32846 ] {e5d70201-770b-4d5d-ad30-bb1f72f04f33} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Int64, UInt64 because some of them are signed integers and some are unsigned integers, but there is no signed integer type, that can exactly represent all required unsigned integer values: While processing materialize(toUInt64(0)) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:175: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca92 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:32.977417 [ 32846 ] {0c763878-9f63-4734-a988-cd8b30624854} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float32, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toUInt64(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:32.978623 [ 32846 ] {0c763878-9f63-4734-a988-cd8b30624854} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float32, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toUInt64(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:32.992839 [ 32846 ] {7fc12eb8-b4c6-4f04-a49b-ccfcf2ef8813} executeQuery: Code: 386. DB::Exception: There is no supertype for types Float64, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toUInt64(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:32.994032 [ 32846 ] {7fc12eb8-b4c6-4f04-a49b-ccfcf2ef8813} TCPHandler: Code: 386. DB::Exception: There is no supertype for types Float64, UInt64 because some of them are integers and some are floating point, but there is no floating point type, that can exactly represent all required integers: While processing materialize(toUInt64(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::unordered_set, std::equal_to, std::allocator>>(std::unordered_set, std::equal_to, std::allocator> const&, std::basic_string_view>, int) @ 0x000000001855cc00 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:140: std::shared_ptr DB::(anonymous namespace)::getNumericType<(DB::LeastSupertypeOnError)0>(std::unordered_set, std::equal_to, std::allocator> const&) @ 0x000000001855ca74 in /usr/bin/clickhouse 5. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:595: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x0000000018560b0a in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 7. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 8. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:52:33.010510 [ 32846 ] {1536f384-1791-4801-92f7-1ccdf70b3e72} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (UInt64, Date) of function greater: While processing materialize(toUInt64(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toDate(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.011725 [ 32846 ] {1536f384-1791-4801-92f7-1ccdf70b3e72} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (UInt64, Date) of function greater: While processing materialize(toUInt64(0)) AS x, toDate(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.026982 [ 32846 ] {5b3dcc51-d475-4640-ac7f-7799c2d5227c} executeQuery: Code: 386. DB::Exception: There is no supertype for types UInt64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toUInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.027865 [ 32846 ] {5b3dcc51-d475-4640-ac7f-7799c2d5227c} TCPHandler: Code: 386. DB::Exception: There is no supertype for types UInt64, DateTime('Asia/Istanbul') because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toUInt64(0)) AS x, toDateTime(1, 'Asia/Istanbul') AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.118696 [ 32846 ] {0e2aaa46-5aae-42b0-a70c-70b269223338} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int8) of function greater: While processing materialize(toDate(0)) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.119549 [ 32846 ] {0e2aaa46-5aae-42b0-a70c-70b269223338} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int8) of function greater: While processing materialize(toDate(0)) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.130796 [ 32846 ] {60f34f70-67ae-46b8-854a-e399429923ad} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int16) of function greater: While processing materialize(toDate(0)) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.131679 [ 32846 ] {60f34f70-67ae-46b8-854a-e399429923ad} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int16) of function greater: While processing materialize(toDate(0)) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.144242 [ 32846 ] {6739874e-13ee-4f94-a938-ca6b5211ba4c} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int32) of function greater: While processing materialize(toDate(0)) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.145099 [ 32846 ] {6739874e-13ee-4f94-a938-ca6b5211ba4c} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int32) of function greater: While processing materialize(toDate(0)) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.158061 [ 32846 ] {c29f235b-0114-483d-9801-0ccbcab7ea40} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function greater: While processing materialize(toDate(0)) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.158953 [ 32846 ] {c29f235b-0114-483d-9801-0ccbcab7ea40} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Int64) of function greater: While processing materialize(toDate(0)) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.171682 [ 32846 ] {2ebd7a14-ff13-40ef-b9eb-52f78e1c5bec} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: While processing materialize(toDate(0)) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toUInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.172689 [ 32846 ] {2ebd7a14-ff13-40ef-b9eb-52f78e1c5bec} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function greater: While processing materialize(toDate(0)) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.184563 [ 32846 ] {2ad5f58e-4e28-4b67-b0fb-fcbc70b166e9} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt16) of function greater: While processing materialize(toDate(0)) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toUInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.185559 [ 32846 ] {2ad5f58e-4e28-4b67-b0fb-fcbc70b166e9} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt16) of function greater: While processing materialize(toDate(0)) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.197529 [ 32846 ] {e6bd18af-9860-4f83-b35e-b86c47c9c844} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt32) of function greater: While processing materialize(toDate(0)) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toUInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.198336 [ 32846 ] {e6bd18af-9860-4f83-b35e-b86c47c9c844} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt32) of function greater: While processing materialize(toDate(0)) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.209318 [ 32846 ] {558a56a3-5972-428d-9b8a-84afb3c33d6e} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt64) of function greater: While processing materialize(toDate(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.210173 [ 32846 ] {558a56a3-5972-428d-9b8a-84afb3c33d6e} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt64) of function greater: While processing materialize(toDate(0)) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.221817 [ 32846 ] {ebcb369e-73a5-4d78-9c2a-8dd653c5c37c} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Float32) of function greater: While processing materialize(toDate(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.222896 [ 32846 ] {ebcb369e-73a5-4d78-9c2a-8dd653c5c37c} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Float32) of function greater: While processing materialize(toDate(0)) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.233924 [ 32846 ] {ec048b3c-2d68-42f5-a8ce-d1cfa3a0adab} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, Float64) of function greater: While processing materialize(toDate(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.234880 [ 32846 ] {ec048b3c-2d68-42f5-a8ce-d1cfa3a0adab} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, Float64) of function greater: While processing materialize(toDate(0)) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a580f94 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.287768 [ 32846 ] {c58441c9-2eb4-45bb-891d-68aed52c761c} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toDecimal32(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.288823 [ 32846 ] {c58441c9-2eb4-45bb-891d-68aed52c761c} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.299890 [ 32846 ] {cb71cea8-6955-4868-999d-223cf7ba10bf} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toDecimal64(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.300692 [ 32846 ] {cb71cea8-6955-4868-999d-223cf7ba10bf} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.310620 [ 32846 ] {b84b273a-7e7b-4d8e-a6c7-5c4ac30cbce2} executeQuery: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDate(0)) AS x, toDecimal128(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.311441 [ 32846 ] {b84b273a-7e7b-4d8e-a6c7-5c4ac30cbce2} TCPHandler: Code: 43. DB::Exception: Illegal types of arguments (Date, UInt8) of function equals: While processing materialize(toDate(0)) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionComparison::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x0000000009f38c74 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:1202: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa20bd in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.322222 [ 32846 ] {21ea6487-cd0c-4d81-bcc1-34181be19d0b} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.323103 [ 32846 ] {21ea6487-cd0c-4d81-bcc1-34181be19d0b} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.333945 [ 32846 ] {b1c79617-0214-47fd-909c-f5090956108f} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.334777 [ 32846 ] {b1c79617-0214-47fd-909c-f5090956108f} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.345638 [ 32846 ] {058d6ad1-95ad-4521-ad87-b60baf9611d1} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.346598 [ 32846 ] {058d6ad1-95ad-4521-ad87-b60baf9611d1} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.358108 [ 32846 ] {817546e2-f12f-4c42-aeb6-ade19b614136} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.359057 [ 32846 ] {817546e2-f12f-4c42-aeb6-ade19b614136} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Int64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.372135 [ 32846 ] {afa0b1b8-20bb-4be4-acf5-e5278b4bcfd4} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt8(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.373195 [ 32846 ] {afa0b1b8-20bb-4be4-acf5-e5278b4bcfd4} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt8 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt8(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.386785 [ 32846 ] {35b36e90-3eb4-42f1-a157-1f7c09bba8d3} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt16(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.387817 [ 32846 ] {35b36e90-3eb4-42f1-a157-1f7c09bba8d3} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt16 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt16(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.402186 [ 32846 ] {b52a3695-bda5-4566-ab5a-2b0a73505a83} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.403286 [ 32846 ] {b52a3695-bda5-4566-ab5a-2b0a73505a83} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.418260 [ 32846 ] {8b0271cd-37c2-4d5c-b174-94fac111aa66} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.419457 [ 32846 ] {8b0271cd-37c2-4d5c-b174-94fac111aa66} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), UInt64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toUInt64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.433561 [ 32846 ] {26580bb2-47a8-42d9-bb07-ae57457b831a} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat32(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.434580 [ 32846 ] {26580bb2-47a8-42d9-bb07-ae57457b831a} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float32 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat32(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.446975 [ 32846 ] {b25085c4-0f56-441b-8b47-aa43bb9c74ce} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat64(1) AS y, ((x > y) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.447965 [ 32846 ] {b25085c4-0f56-441b-8b47-aa43bb9c74ce} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Float64 because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toFloat64(1) AS y, if(x > y, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.497924 [ 32846 ] {6700da52-49ba-4a12-8b45-1debdb2502a2} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(9, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal32(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.498911 [ 32846 ] {6700da52-49ba-4a12-8b45-1debdb2502a2} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(9, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal32(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.511853 [ 32846 ] {04cfc231-b9ca-4076-b6df-6d46261664f7} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(18, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal64(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.513035 [ 32846 ] {04cfc231-b9ca-4076-b6df-6d46261664f7} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(18, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal64(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.524407 [ 32846 ] {6180a385-62fd-4c82-8b8a-8037c475c630} executeQuery: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(38, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58504) (comment: 00735_long_conditional.sql) (in query: SELECT materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal128(1, 0) AS y, ((x = 0) ? x : y) AS z, toTypeName(x), toTypeName(y), toTypeName(z);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:33.525490 [ 32846 ] {6180a385-62fd-4c82-8b8a-8037c475c630} TCPHandler: Code: 386. DB::Exception: There is no supertype for types DateTime('Asia/Istanbul'), Decimal(38, 0) because some of them are Date/Date32/DateTime/DateTime64 and some of them are not: While processing materialize(toDateTime(0, 'Asia/Istanbul')) AS x, toDecimal128(1, 0) AS y, if(x = 0, x, y) AS z, toTypeName(x), toTypeName(y), toTypeName(z). (NO_COMMON_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception>&>(int, FormatStringHelperImpl::type, std::type_identity>&>::type>, String&&, std::basic_string_view>&) @ 0x000000000d8e78d0 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:0: std::shared_ptr DB::(anonymous namespace)::throwOrReturn<(DB::LeastSupertypeOnError)0, std::vector, std::allocator>>>(std::vector, std::allocator>> const&, std::basic_string_view>, int) @ 0x000000001855c160 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/getLeastSupertype.cpp:548: std::shared_ptr DB::getLeastSupertype<(DB::LeastSupertypeOnError)0>(std::vector, std::allocator>> const&) @ 0x00000000185611b3 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000b2ff725 in /usr/bin/clickhouse 6. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 7. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 2024.05.01 14:52:36.132616 [ 8757 ] {22f79ebf-1349-40c2-91d7-a31613ede005} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42742) (comment: 00716_allow_ddl.sql) (in query: CREATE DATABASE some_db;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017dd5a13 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const @ 0x0000000017dd4306 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000017ddff73 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000017da89bb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x00000000188eb54c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x00000000192b39d2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:36.133502 [ 8757 ] {22f79ebf-1349-40c2-91d7-a31613ede005} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017dd5a13 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>>(DB::AccessFlags, std::basic_string_view> const&) const @ 0x0000000017dd4306 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000017ddff73 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000017da89bb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x00000000188eb54c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x00000000192b39d2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:36.271817 [ 8757 ] {cb383612-535e-4006-8891-f13ec3bcc29c} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42742) (comment: 00716_allow_ddl.sql) (in query: CREATE TABLE some_table(a Int32) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017de70b3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000017de5928 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000017de00c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000017da89bb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x00000000188eb54c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x00000000192b39d2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:36.272764 [ 8757 ] {cb383612-535e-4006-8891-f13ec3bcc29c} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017de70b3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000017de5928 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000017de00c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000017da89bb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x00000000188eb54c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::execute() @ 0x00000000192b39d2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:36.400359 [ 8757 ] {48465c00-a9c2-4da6-b3d6-caaced86d0fe} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42742) (comment: 00716_allow_ddl.sql) (in query: ALTER TABLE some_table DELETE WHERE 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017de70b3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000017de5928 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000017de00c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000017da89bb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x00000000188eb54c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019372947 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:36.401075 [ 8757 ] {48465c00-a9c2-4da6-b3d6-caaced86d0fe} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017de70b3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000017de5928 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000017de00c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000017da89bb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x00000000188eb54c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019372947 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:36.516004 [ 8757 ] {43327665-c0cc-4bdf-810f-7737420ce173} executeQuery: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42742) (comment: 00716_allow_ddl.sql) (in query: RENAME TABLE some_table TO some_table1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017de70b3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000017de5928 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000017de00c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000017da89bb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x00000000188eb54c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x000000001951fb90 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:36.516719 [ 8757 ] {43327665-c0cc-4bdf-810f-7737420ce173} TCPHandler: Code: 392. DB::Exception: Cannot execute query. DDL queries are prohibited for the user default. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()<>(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017de70b3 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper>, String>(DB::AccessFlags, std::basic_string_view> const&, String const&) const @ 0x0000000017de5928 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000017de00c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkAccess(DB::AccessRightsElements const&) const @ 0x0000000017da89bb in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessRightsElements const&) const @ 0x00000000188eb54c in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:0: DB::InterpreterRenameQuery::execute() @ 0x000000001951fb90 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:36.604066 [ 8757 ] {4cd6dcdf-f87b-497e-9744-fc4d5e78d95b} executeQuery: Code: 392. DB::Exception: Cannot modify 'allow_ddl' setting when DDL queries are prohibited for the user. (QUERY_IS_PROHIBITED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42742) (comment: 00716_allow_ddl.sql) (in query: SET allow_ddl = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x00000000082a4d63 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000017ed4186 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000017ed3852 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000017ed3b83 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x00000000188ebb1a in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x000000001960d4c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:36.604837 [ 8757 ] {4cd6dcdf-f87b-497e-9744-fc4d5e78d95b} TCPHandler: Code: 392. DB::Exception: Cannot modify 'allow_ddl' setting when DDL queries are prohibited for the user. (QUERY_IS_PROHIBITED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::createDeprecated(String const&, int, bool) @ 0x00000000082a4d63 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/SettingsConstraints.cpp:307: DB::SettingsConstraints::Checker::check(DB::SettingChange&, DB::Field const&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000017ed4186 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/SettingsConstraints.cpp:288: DB::SettingsConstraints::checkImpl(DB::Settings const&, DB::SettingChange&, DB::SettingsConstraints::ReactionOnViolation, DB::SettingSource) const @ 0x0000000017ed3852 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__iterator/wrap_iter.h:100: DB::SettingsConstraints::check(DB::Settings const&, DB::SettingsChanges const&, DB::SettingSource) const @ 0x0000000017ed3b83 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkSettingsConstraints(DB::SettingsChanges const&, DB::SettingSource) const @ 0x00000000188ebb1a in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterSetQuery::execute() @ 0x000000001960d4c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:40.760068 [ 19119 ] {05574305-cfd3-4845-a5cc-89600d69529c} executeQuery: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(sum, UInt32) and AggregateFunction(count, UInt32): While processing sumState(a) + countState(b) AS x. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42990) (comment: 00705_aggregate_states_addition.sql) (in query: SELECT sumMerge(x) FROM (SELECT sumState(a) + countState(b) as x FROM add_aggregate);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000db64455 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d8ea53c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x0000000019a6f119 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000019658050 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530551 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:52:40.762229 [ 19119 ] {05574305-cfd3-4845-a5cc-89600d69529c} TCPHandler: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(sum, UInt32) and AggregateFunction(count, UInt32): While processing sumState(a) + countState(b) AS x. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000db64455 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d8ea53c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x0000000019a6f119 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000019658050 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530551 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:52:40.917211 [ 19119 ] {ffba25fe-292e-4dec-b873-33ce77a8a642} executeQuery: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(sum, UInt32) and AggregateFunction(sum, Int32): While processing sumState(a) + sumState(toInt32(b)) AS x. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42990) (comment: 00705_aggregate_states_addition.sql) (in query: SELECT sumMerge(x) FROM (SELECT sumState(a) + sumState(toInt32(b)) as x FROM add_aggregate);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000db64455 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d8ea53c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x0000000019a6f119 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000019658050 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530551 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:52:40.918886 [ 19119 ] {ffba25fe-292e-4dec-b873-33ce77a8a642} TCPHandler: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(sum, UInt32) and AggregateFunction(sum, Int32): While processing sumState(a) + sumState(toInt32(b)) AS x. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000db64455 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d8ea53c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectWithUnionQuery::getSampleBlock(std::shared_ptr const&, std::shared_ptr, bool, bool) @ 0x0000000019608f7d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/getTableExpressions.cpp:90: DB::getDatabaseAndTablesWithColumns(std::vector> const&, std::shared_ptr, bool, bool, bool) @ 0x0000000019a6f119 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/JoinedTables.cpp:243: DB::JoinedTables::resolveTables() @ 0x0000000019658050 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:448: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530551 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 2024.05.01 14:52:41.947691 [ 19119 ] {cfff9449-de9c-46a0-bbe3-bf469456e44d} executeQuery: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(uniq, UInt32, UInt32) and AggregateFunction(uniq, UInt32): While processing x + y. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42990) (comment: 00705_aggregate_states_addition.sql) (in query: SELECT uniqMerge(x + y) FROM (SELECT uniqState(65536, a) AS x, uniqState(b) AS y FROM add_aggregate);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000db64455 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d8ea53c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x0000000018a6506b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:559: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65b68 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:52:42.102938 [ 19119 ] {cfff9449-de9c-46a0-bbe3-bf469456e44d} TCPHandler: Code: 421. DB::Exception: Cannot add aggregate states of different functions: AggregateFunction(uniq, UInt32, UInt32) and AggregateFunction(uniq, UInt32): While processing x + y. (CANNOT_ADD_DIFFERENT_AGGREGATE_STATES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000db64455 in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000d8ea53c in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActionsNoMakeSet(std::shared_ptr const&, std::shared_ptr&, bool) @ 0x0000000018a6506b in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:559: DB::ExpressionAnalyzer::makeAggregateDescriptions(std::shared_ptr&, std::vector>&) @ 0x0000000018a65b68 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalyzer::analyzeAggregation(std::shared_ptr&) @ 0x0000000018a6204c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExpressionAnalyzer::ExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, unsigned long, bool, bool, std::shared_ptr, bool) @ 0x0000000018a60eb9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ExpressionAnalyzer.h:322: DB::SelectQueryExpressionAnalyzer::SelectQueryExpressionAnalyzer(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr, std::shared_ptr const&, std::vector> const&, bool, DB::SelectQueryOptions const&, std::shared_ptr) @ 0x0000000019556413 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x0000000019539827 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:52:42.103983 [ 8776 ] {f8a90d32-0dcf-4b3f-8599-0180bd4c16f7} executeQuery: Code: 69. DB::Exception: Negative scales and scales larger than precision are not supported. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51614) (comment: 00700_decimal_bounds.sql) (in query: CREATE TABLE IF NOT EXISTS decimal (x DECIMAL(10, -2)) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000000e50a1e6 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:199: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x000000001850a2f1 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:0: DB::create(std::shared_ptr const&) @ 0x0000000018507f9b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:42.105143 [ 8776 ] {f8a90d32-0dcf-4b3f-8599-0180bd4c16f7} TCPHandler: Code: 69. DB::Exception: Negative scales and scales larger than precision are not supported. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000000e50a1e6 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:199: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x000000001850a2f1 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:0: DB::create(std::shared_ptr const&) @ 0x0000000018507f9b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:42.112943 [ 8776 ] {50af23a4-a46c-48df-b3d2-215252b2186a} executeQuery: Code: 69. DB::Exception: Negative scales and scales larger than precision are not supported. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51614) (comment: 00700_decimal_bounds.sql) (in query: CREATE TABLE IF NOT EXISTS decimal (x DECIMAL(10, 15)) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000000e50a1e6 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:199: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x000000001850a2f1 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:0: DB::create(std::shared_ptr const&) @ 0x0000000018507f9b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:42.114267 [ 8776 ] {50af23a4-a46c-48df-b3d2-215252b2186a} TCPHandler: Code: 69. DB::Exception: Negative scales and scales larger than precision are not supported. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [67]) @ 0x000000000e50a1e6 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:199: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x000000001850a2f1 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:0: DB::create(std::shared_ptr const&) @ 0x0000000018507f9b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:42.256220 [ 8776 ] {5c2215de-c3d3-4d50-811d-b747b72eb30f} executeQuery: Code: 69. DB::Exception: Wrong precision: it must be between 1 and 76, got 0. (ARGUMENT_OUT_OF_BOUND) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51614) (comment: 00700_decimal_bounds.sql) (in query: CREATE TABLE IF NOT EXISTS decimal (x DECIMAL(0, 0)) ENGINE = Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, unsigned long const&, unsigned long&) @ 0x000000001850a408 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:195: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x000000001850a2b6 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:0: DB::create(std::shared_ptr const&) @ 0x0000000018507f9b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:42.257883 [ 8776 ] {5c2215de-c3d3-4d50-811d-b747b72eb30f} TCPHandler: Code: 69. DB::Exception: Wrong precision: it must be between 1 and 76, got 0. (ARGUMENT_OUT_OF_BOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, unsigned long const&, unsigned long const&, unsigned long&) @ 0x000000001850a408 in /usr/bin/clickhouse 3. ./build_docker/./src/DataTypes/DataTypeDecimalBase.h:195: std::shared_ptr DB::createDecimal(unsigned long, unsigned long) @ 0x000000001850a2b6 in /usr/bin/clickhouse 4. ./build_docker/./src/DataTypes/DataTypesDecimal.cpp:0: DB::create(std::shared_ptr const&) @ 0x0000000018507f9b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (std::shared_ptr const&)>::__call_impl (*)(std::shared_ptr const&), std::shared_ptr (std::shared_ptr const&)>>(std::__function::__policy_storage const*, std::shared_ptr const&) @ 0x0000000018407f84 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr DB::DataTypeFactory::getImpl(String const&, std::shared_ptr const&) const @ 0x00000000184205e9 in /usr/bin/clickhouse 7. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:0: std::shared_ptr DB::DataTypeFactory::getImpl(std::shared_ptr const&) const @ 0x000000001841fe30 in /usr/bin/clickhouse 8. ./build_docker/./src/DataTypes/DataTypeFactory.cpp:73: DB::DataTypeFactory::get(std::shared_ptr const&) const @ 0x000000001841d861 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:502: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x00000000192995ee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:43.902899 [ 2900 ] {089858ce-3ceb-44be-93cd-041671d24eee} executeQuery: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (0 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51696) (comment: 00692_if_exception_code.sql) (in query: SELECT if();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x0000000019999224 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:78: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x0000000019998a5c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:688: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x000000001998b733 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976425 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:43.903695 [ 2900 ] {089858ce-3ceb-44be-93cd-041671d24eee} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (0 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x0000000019999224 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:78: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x0000000019998a5c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:688: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x000000001998b733 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976425 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:43.910029 [ 2900 ] {308b2b5c-12b1-46b2-9d40-585a8ec7042f} executeQuery: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (1 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51696) (comment: 00692_if_exception_code.sql) (in query: SELECT if(1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x0000000019999224 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:78: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x0000000019998a5c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:688: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x000000001998b733 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976425 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:43.910643 [ 2900 ] {308b2b5c-12b1-46b2-9d40-585a8ec7042f} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (1 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x0000000019999224 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:78: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x0000000019998a5c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:688: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x000000001998b733 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976425 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:43.914700 [ 2900 ] {0a3c1c31-34a4-4103-bb69-66b50c547799} executeQuery: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (2 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51696) (comment: 00692_if_exception_code.sql) (in query: SELECT if(1, 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x0000000019999224 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:78: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x0000000019998a5c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:688: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x000000001998b733 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976425 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:43.915393 [ 2900 ] {0a3c1c31-34a4-4103-bb69-66b50c547799} TCPHandler: Code: 42. DB::Exception: Wrong number of arguments for function 'if' (2 instead of 3). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:91: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x0000000019999224 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp:78: DB::OptimizeIfWithConstantConditionVisitor::visit(std::shared_ptr&) @ 0x0000000019998a5c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/TreeOptimizer.cpp:688: DB::TreeOptimizer::optimizeIf(std::shared_ptr&, std::unordered_map, std::hash, std::equal_to, std::allocator>>>&, bool, bool) @ 0x000000001998b733 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/TreeRewriter.cpp:1241: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976425 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 23. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 24. ? @ 0x00007f5975bcaac3 in ? 25. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:44.111014 [ 19119 ] {37653528-46a6-4d95-b2b3-9910271e5992} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(a :: 0, toUInt32(2147483648) :: 1) -> equals(a, toUInt32(2147483648)) UInt8 : 3'. (DECIMAL_OVERFLOW) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51666) (comment: 00700_decimal_compare.sql) (in query: SELECT toUInt32(2147483648) AS x, a == x FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned int, int) @ 0x000000000a211fb0 in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned int, DB::PODArray, 63ul, 64ul>&, int) @ 0x000000000a212136 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x000000000a21178e in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000a20f7a5 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned int>>(auto const&) const @ 0x000000000a2040d7 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a101488 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a1004d5 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000009f4e44c in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35aa3 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:44.112200 [ 19119 ] {37653528-46a6-4d95-b2b3-9910271e5992} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(a :: 0, toUInt32(2147483648) :: 1) -> equals(a, toUInt32(2147483648)) UInt8 : 3'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned int, int) @ 0x000000000a211fb0 in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned int, DB::PODArray, 63ul, 64ul>&, int) @ 0x000000000a212136 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x000000000a21178e in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned int, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000a20f7a5 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned int>>(auto const&) const @ 0x000000000a2040d7 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a101488 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a1004d5 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000009f4e44c in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35aa3 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:44.340042 [ 19119 ] {bf8b0925-8007-42f2-a996-f8b2706b1890} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(b :: 0, toUInt64(9223372036854775808) :: 1) -> equals(b, toUInt64(9223372036854775808)) UInt8 : 3'. (DECIMAL_OVERFLOW) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51666) (comment: 00700_decimal_compare.sql) (in query: SELECT toUInt64(9223372036854775808) AS x, b == x FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0x000000000a26bdf2 in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0x000000000a26bf77 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0x000000000a26b8d0 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000a26a309 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0x000000000a25ea37 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a101659 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a1004e2 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000009f4e44c in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35aa3 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:44.341057 [ 19119 ] {bf8b0925-8007-42f2-a996-f8b2706b1890} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(b :: 0, toUInt64(9223372036854775808) :: 1) -> equals(b, toUInt64(9223372036854775808)) UInt8 : 3'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0x000000000a26bdf2 in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0x000000000a26bf77 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0x000000000a26b8d0 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000a26a309 in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0x000000000a25ea37 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a101659 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a1004e2 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000009f4e44c in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35aa3 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:44.577114 [ 19119 ] {ab35500f-0844-4706-a5da-fea3b7326166} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(g :: 0, 30000 :: 1) -> equals(g, 30000) UInt8 : 2'. (DECIMAL_OVERFLOW) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51666) (comment: 00700_decimal_compare.sql) (in query: SELECT g = 30000 FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned short, int) @ 0x000000000a20cbff in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned short, DB::PODArray, 63ul, 64ul>&, int) @ 0x000000000a20cd76 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x000000000a20bcce in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000a20a70f in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned short>>(auto const&) const @ 0x000000000a203f77 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a101477 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a1004d5 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000009f4e44c in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35aa3 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:44.577972 [ 19119 ] {ab35500f-0844-4706-a5da-fea3b7326166} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(g :: 0, 30000 :: 1) -> equals(g, 30000) UInt8 : 2'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned short, int) @ 0x000000000a20cbff in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned short, DB::PODArray, 63ul, 64ul>&, int) @ 0x000000000a20cd76 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x000000000a20bcce in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned short, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000a20a70f in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned short>>(auto const&) const @ 0x000000000a203f77 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a101477 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a1004d5 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000009f4e44c in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35aa3 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:44.746435 [ 19119 ] {39d5002e-6598-494d-84c4-422f715927b6} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(30000 :: 1, g :: 0) -> equals(30000, g) UInt8 : 2'. (DECIMAL_OVERFLOW) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51666) (comment: 00700_decimal_compare.sql) (in query: SELECT 30000 = g FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, DB::EqualsOp, true, true>::apply(unsigned short, DB::Decimal, int) @ 0x000000000a1179ff in /usr/bin/clickhouse 4. void DB::DecimalComparison, DB::EqualsOp, true, true>::constantVector(unsigned short, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, int) @ 0x000000000a117ab6 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x000000000a116bc1 in /usr/bin/clickhouse 6. DB::DecimalComparison, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000a11621e in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000a115a97 in /usr/bin/clickhouse 8. bool DB::callOnBasicType::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a100734 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a1003d7 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000009f4e44c in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35aa3 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:44.748235 [ 19119 ] {39d5002e-6598-494d-84c4-422f715927b6} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(30000 :: 1, g :: 0) -> equals(30000, g) UInt8 : 2'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, DB::EqualsOp, true, true>::apply(unsigned short, DB::Decimal, int) @ 0x000000000a1179ff in /usr/bin/clickhouse 4. void DB::DecimalComparison, DB::EqualsOp, true, true>::constantVector(unsigned short, DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, DB::PODArray, 63ul, 64ul>&, int) @ 0x000000000a117ab6 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, int) @ 0x000000000a116bc1 in /usr/bin/clickhouse 6. DB::DecimalComparison, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000a11621e in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator()>>(auto const&) const @ 0x000000000a115a97 in /usr/bin/clickhouse 8. bool DB::callOnBasicType::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a100734 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a1003d7 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000009f4e44c in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35aa3 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:44.987661 [ 19119 ] {8d4743c5-0f98-4bd8-9a3c-ecb2dc3615d9} executeQuery: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(h :: 0, 10000000000 :: 1) -> equals(h, 10000000000) UInt8 : 2'. (DECIMAL_OVERFLOW) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51666) (comment: 00700_decimal_compare.sql) (in query: SELECT h = 10000000000 FROM decimal WHERE a = 42;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0x000000000a26bb0d in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0x000000000a26bc77 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0x000000000a26aed0 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000a26a31e in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0x000000000a25ea37 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a101659 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a1004e2 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000009f4e44c in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35aa3 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:44.988829 [ 19119 ] {8d4743c5-0f98-4bd8-9a3c-ecb2dc3615d9} TCPHandler: Code: 407. DB::Exception: Can't compare decimal number due to overflow: while executing 'FUNCTION equals(h :: 0, 10000000000 :: 1) -> equals(h, 10000000000) UInt8 : 2'. (DECIMAL_OVERFLOW), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [45]) @ 0x0000000007cc4486 in /usr/bin/clickhouse 3. char8_t DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::Decimal, unsigned long, long) @ 0x000000000a26bb0d in /usr/bin/clickhouse 4. void DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::vectorConstant(DB::PODArray, 4096ul, Allocator, 63ul, 64ul> const&, unsigned long, DB::PODArray, 63ul, 64ul>&, long) @ 0x000000000a26bc77 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(COW::immutable_ptr const&, COW::immutable_ptr const&, long) @ 0x000000000a26aed0 in /usr/bin/clickhouse 6. DB::DecimalComparison, unsigned long, DB::EqualsOp, true, true>::apply(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) @ 0x000000000a26a31e in /usr/bin/clickhouse 7. bool DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)::operator(), unsigned long>>(auto const&) const @ 0x000000000a25ea37 in /usr/bin/clickhouse 8. bool DB::callOnBasicType, true, false, true, true, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a101659 in /usr/bin/clickhouse 9. bool DB::callOnBasicTypes::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&>(DB::TypeIndex, DB::TypeIndex, DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const::'lambda'(auto const&)&) @ 0x000000000a1004e2 in /usr/bin/clickhouse 10. DB::FunctionComparison::executeDecimal(DB::ColumnWithTypeAndName const&, DB::ColumnWithTypeAndName const&) const @ 0x0000000009f4e44c in /usr/bin/clickhouse 11. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35aa3 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 22. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 24. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 26. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 28. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 29. ? @ 0x00007f5975bcaac3 in ? 30. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:47.030418 [ 8776 ] {00b4a250-1001-46a9-9d29-e42f17e7a323} executeQuery: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: while converting source column src to destination column val. (CANNOT_CONVERT_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51820) (comment: 00690_insert_select_converting_exception_message.sh) (in query: INSERT INTO test_00690 SELECT NULL AS src SETTINGS insert_null_as_default=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [43]) @ 0x0000000007c94586 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x0000000007c91bff in /usr/bin/clickhouse 4. DB::FunctionCast::prepare(std::vector> const&) const @ 0x0000000007c90cfb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c8fd9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:47.057897 [ 8776 ] {00b4a250-1001-46a9-9d29-e42f17e7a323} TCPHandler: Code: 70. DB::Exception: Cannot convert NULL to a non-nullable type: while converting source column src to destination column val. (CANNOT_CONVERT_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [43]) @ 0x0000000007c94586 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x0000000007c91bff in /usr/bin/clickhouse 4. DB::FunctionCast::prepare(std::vector> const&) const @ 0x0000000007c90cfb in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c8fd9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:47.605330 [ 2900 ] {b5379182-3293-4222-bfe5-d032708afe71} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column src to destination column val: while executing 'FUNCTION _CAST(src :: 0, Int64 :: 1) -> _CAST(src, Int64) Int64 : 2'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51884) (comment: 00690_insert_select_converting_exception_message.sh) (in query: INSERT INTO test_00690 SELECT number % 2 ? 1 : NULL AS src FROM numbers(10) SETTINGS insert_null_as_default=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000007f9f7a6 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x00000000080f4c0d in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x00000000080f48ea in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:47.606904 [ 2900 ] {b5379182-3293-4222-bfe5-d032708afe71} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column src to destination column val: while executing 'FUNCTION _CAST(src :: 0, Int64 :: 1) -> _CAST(src, Int64) Int64 : 2'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000007f9f7a6 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x00000000080f4c0d in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x00000000080f48ea in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:54.801689 [ 8754 ] {bdaffd66-0482-418a-8772-7b3974ba9f99} executeQuery: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Timeout exceeded while waiting for replicas r2 to process entry log-0000000003. Probably some replicas are inactive. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58360) (comment: 00754_alter_modify_order_by_replicated_zookeeper_long.sql) (in query: ALTER TABLE summing_r1 ADD COLUMN t UInt32 AFTER z, MODIFY ORDER BY (x, y, t * t) SETTINGS replication_alter_partitions_sync = 2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, String const&, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001a38c00a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6331: DB::StorageReplicatedMergeTree::waitForAllReplicasToProcessLogEntry(String const&, DB::ReplicatedMergeTreeLogEntryData const&, long, String const&) @ 0x000000001a31c442 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x000000001a2fcc0d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304247 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:54.803056 [ 8754 ] {bdaffd66-0482-418a-8772-7b3974ba9f99} TCPHandler: Code: 341. DB::Exception: Some replicas doesn't finish metadata alter: Timeout exceeded while waiting for replicas r2 to process entry log-0000000003. Probably some replicas are inactive. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception, std::__wrap_iter, char>, String const&>(int, FormatStringHelperImpl::type, std::type_identity, std::__wrap_iter, char>>::type, std::type_identity::type>, String const&, fmt::v8::join_view, std::__wrap_iter, char>&&, String const&) @ 0x000000001a38c00a in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:6331: DB::StorageReplicatedMergeTree::waitForAllReplicasToProcessLogEntry(String const&, DB::ReplicatedMergeTreeLogEntryData const&, long, String const&) @ 0x000000001a31c442 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::StorageReplicatedMergeTree::waitForLogEntryToBeProcessedIfNecessary(DB::ReplicatedMergeTreeLogEntryData const&, std::shared_ptr, String const&) @ 0x000000001a2fcc0d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304247 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:57.792796 [ 1524 ] {daf0d445-a776-4a88-b29b-ac2814168682} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 2) -> throwIf(equals(number, 1000)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59578) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000) FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:57.794047 [ 1524 ] {daf0d445-a776-4a88-b29b-ac2814168682} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 2) -> throwIf(equals(number, 1000)) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:58.312711 [ 2837 ] {b2c82cb0-c2b5-4ba5-b052-ded84ab91465} executeQuery: Code: 395. DB::Exception: Number equals 1000: while executing 'FUNCTION throwIf(equals(number, 1000) :: 3, 'Number equals 1000' :: 2) -> throwIf(equals(number, 1000), 'Number equals 1000') UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59632) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000') FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::createRuntime(int, String const&) @ 0x000000000e615c7c in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613e4c in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:58.314324 [ 2837 ] {b2c82cb0-c2b5-4ba5-b052-ded84ab91465} TCPHandler: Code: 395. DB::Exception: Number equals 1000: while executing 'FUNCTION throwIf(equals(number, 1000) :: 3, 'Number equals 1000' :: 2) -> throwIf(equals(number, 1000), 'Number equals 1000') UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::createRuntime(int, String const&) @ 0x000000000e615c7c in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613e4c in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:58.934549 [ 32852 ] {27d768e3-211b-44d9-ad2a-1288c91efe27} executeQuery: Code: 42. DB::Exception: Number of arguments for function throwIf doesn't match: passed 3, should be 1 or 2: While processing throwIf(number = 1000, 'Number equals 1000', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59682) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', 1) FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long const&, char const*&&) @ 0x000000000e615e02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6147d5 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:58.937067 [ 32852 ] {27d768e3-211b-44d9-ad2a-1288c91efe27} TCPHandler: Code: 42. DB::Exception: Number of arguments for function throwIf doesn't match: passed 3, should be 1 or 2: While processing throwIf(number = 1000, 'Number equals 1000', 1). (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long const&, char const*&&) @ 0x000000000e615e02 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6147d5 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:59.517798 [ 32852 ] {4ee4c6df-e540-4b2b-8356-3b35e2d4752c} executeQuery: Code: 43. DB::Exception: Third argument of function throwIf must be Int8, Int16 or Int32 (passed: UInt8): While processing throwIf(number = 1000, 'Number equals 1000', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59746) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', 1) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6149db in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:59.519540 [ 32852 ] {4ee4c6df-e540-4b2b-8356-3b35e2d4752c} TCPHandler: Code: 43. DB::Exception: Third argument of function throwIf must be Int8, Int16 or Int32 (passed: UInt8): While processing throwIf(number = 1000, 'Number equals 1000', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6149db in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:52:59.950366 [ 1140 ] {2fd95e59-dee8-49dc-9a4a-fa179ec23d48} executeQuery: Code: 42. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(42) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(42)) UInt8 : 1'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59820) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(42)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:52:59.953790 [ 1140 ] {2fd95e59-dee8-49dc-9a4a-fa179ec23d48} TCPHandler: Code: 42. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(42) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(42)) UInt8 : 1'. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:00.537320 [ 17919 ] {da64bfbd-14e4-4d3f-9b7b-d6a633e843f4} executeQuery: Code: 53. DB::Exception: Cannot convert string numbers1 to type UInt64: while executing 'FUNCTION equals(_table : 0, 'numbers1' : 1) -> equals(_table, 'numbers1') UInt8 : 2'. (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59848) (comment: 00578_merge_table_shadow_virtual_column.sql) (in query: SELECT count() FROM merge(currentDatabase(), '^numbers\\d+$') WHERE _table='numbers1';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a184aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f4d87d in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35132 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7c68b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 14:53:00.537419 [ 1524 ] {9b729345-6d15-45c0-8190-f8dc020ff460} executeQuery: Code: 0. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(0) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(0)) UInt8 : 1'. (OK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59872) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(0)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:00.538457 [ 17919 ] {da64bfbd-14e4-4d3f-9b7b-d6a633e843f4} TCPHandler: Code: 53. DB::Exception: Cannot convert string numbers1 to type UInt64: while executing 'FUNCTION equals(_table : 0, 'numbers1' : 1) -> equals(_table, 'numbers1') UInt8 : 2'. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a184aa in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 5. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f4d87d in /usr/bin/clickhouse 6. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000009f35132 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7c68b in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 24. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 25. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 29. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 14:53:00.538938 [ 1524 ] {9b729345-6d15-45c0-8190-f8dc020ff460} TCPHandler: Code: 0. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(0) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(0)) UInt8 : 1'. (OK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:01.056780 [ 32852 ] {12f19662-70cb-40c4-8eba-7d7e33b39f4f} executeQuery: Code: 101. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(101) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(101)) UInt8 : 1'. (UNEXPECTED_PACKET_FROM_CLIENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50884) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(101)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:01.058114 [ 32852 ] {12f19662-70cb-40c4-8eba-7d7e33b39f4f} TCPHandler: Code: 101. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(101) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(101)) UInt8 : 1'. (UNEXPECTED_PACKET_FROM_CLIENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:01.479922 [ 1435 ] {02929d6c-05ad-43da-9250-efff254c2687} executeQuery: Code: 102. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(102) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(102)) UInt8 : 1'. (UNEXPECTED_PACKET_FROM_SERVER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50914) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(102)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:01.481278 [ 1435 ] {02929d6c-05ad-43da-9250-efff254c2687} TCPHandler: Code: 102. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(102) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(102)) UInt8 : 1'. (UNEXPECTED_PACKET_FROM_SERVER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:01.914219 [ 32817 ] {0e2f6631-1513-4c0f-8f76-429b1175e3a9} executeQuery: Code: 1001. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(1001) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(1001)) UInt8 : 1'. (STD_EXCEPTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50956) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(1001)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:01.915469 [ 32817 ] {0e2f6631-1513-4c0f-8f76-429b1175e3a9} TCPHandler: Code: 1001. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(1001) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(1001)) UInt8 : 1'. (STD_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:02.365424 [ 32817 ] {2b4cbe23-0353-4be2-9ae7-822dfe0b087f} executeQuery: Code: 1002. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(1002) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(1002)) UInt8 : 1'. (UNKNOWN_EXCEPTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51028) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(1002)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:02.366697 [ 32817 ] {2b4cbe23-0353-4be2-9ae7-822dfe0b087f} TCPHandler: Code: 1002. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(1002) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(1002)) UInt8 : 1'. (UNKNOWN_EXCEPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:02.804589 [ 1435 ] {4ddc6095-729f-407c-a618-e1de1925aee3} executeQuery: Code: 999999. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(999999) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(999999)) UInt8 : 1'. () (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51066) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(999999)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:02.806157 [ 1435 ] {4ddc6095-729f-407c-a618-e1de1925aee3} TCPHandler: Code: 999999. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(999999) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(999999)) UInt8 : 1'. (), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:03.279077 [ 32826 ] {b45ccd5d-015f-4ce2-981c-d2595c688744} executeQuery: Code: -1. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(-1) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(-1)) UInt8 : 1'. () (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51132) (comment: 00602_throw_if.sh) (in query: SELECT throwIf(number = 1000, 'Number equals 1000', toInt32(-1)) FROM system.numbers SETTINGS allow_custom_error_code_in_throwif=true), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:03.281056 [ 32826 ] {b45ccd5d-015f-4ce2-981c-d2595c688744} TCPHandler: Code: -1. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(equals(number, 1000) :: 4, 'Number equals 1000' :: 2, toInt32(-1) :: 3) -> throwIf(equals(number, 1000), 'Number equals 1000', toInt32(-1)) UInt8 : 1'. (), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:03.498564 [ 1435 ] {1e22aa50-8205-43dd-8434-0d4bc79ecd55} executeQuery: Code: 44. DB::Exception: Cannot drop column `id`, because column `id2` depends on it. (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51152) (comment: 00575_illegal_column_exception_when_drop_depen_column.sh) (in query: ALTER TABLE test_00575 DROP COLUMN id;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a022858 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:03.500122 [ 1435 ] {1e22aa50-8205-43dd-8434-0d4bc79ecd55} TCPHandler: Code: 44. DB::Exception: Cannot drop column `id`, because column `id2` depends on it. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a022858 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:08.236567 [ 1435 ] {332513f1-9dd3-417c-9b47-b53415251dea} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(1280.1, 1024.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: -- test gcd float select gcd(1280.1, 1024.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.237653 [ 1435 ] {332513f1-9dd3-417c-9b47-b53415251dea} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(1280.1, 1024.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.245887 [ 1435 ] {10702ba5-0039-4269-8b06-47aaaec4cbd1} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(11.1, 121.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: select gcd(11.1, 121.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.246659 [ 1435 ] {10702ba5-0039-4269-8b06-47aaaec4cbd1} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(11.1, 121.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.253250 [ 1435 ] {a8f1da1b-f301-4c70-9728-a2f7765fda1f} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(-256.1, 64.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: select gcd(-256.1, 64.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.254130 [ 1435 ] {a8f1da1b-f301-4c70-9728-a2f7765fda1f} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(-256.1, 64.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.261482 [ 1435 ] {0c91992a-a5a3-4ad9-b699-0c6fbd8e782e} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(1.1, 1.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: select gcd(1.1, 1.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.262302 [ 1435 ] {0c91992a-a5a3-4ad9-b699-0c6fbd8e782e} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(1.1, 1.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.268155 [ 1435 ] {4797c8d4-395c-432b-8c39-4f1b18a6098e} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(4.1, 2.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: select gcd(4.1, 2.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.268898 [ 1435 ] {4797c8d4-395c-432b-8c39-4f1b18a6098e} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(4.1, 2.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.275317 [ 1435 ] {10b026eb-5d41-4f50-ae2c-177bd6f76a71} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(15.1, 49.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: select gcd(15.1, 49.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.276061 [ 1435 ] {10b026eb-5d41-4f50-ae2c-177bd6f76a71} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(15.1, 49.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.282404 [ 1435 ] {f6ef8176-31cf-4c93-a7f2-35b83d36a860} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(255.1, 254.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: select gcd(255.1, 254.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.283248 [ 1435 ] {f6ef8176-31cf-4c93-a7f2-35b83d36a860} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function gcd: While processing gcd(255.1, 254.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000a5240be in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000a47cebc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.434043 [ 1435 ] {6b45a87d-6e2c-409f-abe4-29b274c17408} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(1280.1, 1024.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: -- test lcm float select lcm(1280.1, 1024.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.434819 [ 1435 ] {6b45a87d-6e2c-409f-abe4-29b274c17408} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(1280.1, 1024.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.441162 [ 1435 ] {80cf47d2-6c14-42ef-b8a7-d5f3f3aa08f7} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(11.1, 121.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: select lcm(11.1, 121.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.441853 [ 1435 ] {80cf47d2-6c14-42ef-b8a7-d5f3f3aa08f7} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(11.1, 121.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.447826 [ 1435 ] {9c76c70b-07d3-4413-a30c-c16897e31507} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-256.1, 64.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: select lcm(-256.1, 64.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.448665 [ 1435 ] {9c76c70b-07d3-4413-a30c-c16897e31507} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(-256.1, 64.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.455570 [ 1435 ] {bf5c7122-4858-46b6-a391-2df83bbd1668} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(1.1, 1.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: select lcm(1.1, 1.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.456568 [ 1435 ] {bf5c7122-4858-46b6-a391-2df83bbd1668} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(1.1, 1.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.463732 [ 1435 ] {87224cd1-191d-4247-be08-6f694f8ce548} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(4.1, 2.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: select lcm(4.1, 2.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.464597 [ 1435 ] {87224cd1-191d-4247-be08-6f694f8ce548} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(4.1, 2.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.472009 [ 1435 ] {e616c1af-13b4-412c-baec-3161e9008bf1} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(15.1, 49.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: select lcm(15.1, 49.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.473096 [ 1435 ] {e616c1af-13b4-412c-baec-3161e9008bf1} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(15.1, 49.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.480238 [ 1435 ] {413781d8-b6bc-4b9f-aa6f-c8d4a9eb3b87} executeQuery: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(255.1, 254.1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51702) (comment: 00515_gcd_lcm.sql) (in query: select lcm(255.1, 254.1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:08.481305 [ 1435 ] {413781d8-b6bc-4b9f-aa6f-c8d4a9eb3b87} TCPHandler: Code: 43. DB::Exception: Illegal types Float64 and Float64 of arguments of function lcm: While processing lcm(255.1, 254.1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. DB::FunctionBinaryArithmetic::getReturnTypeImplStatic(std::vector, std::allocator>> const&, std::shared_ptr) @ 0x000000000bb9043e in /usr/bin/clickhouse 4. DB::BinaryArithmeticOverloadResolver::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000bae48bc in /usr/bin/clickhouse 5. DB::IFunctionOverloadResolver::getReturnTypeImpl(std::vector> const&) const @ 0x0000000008b62ae1 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:11.590414 [ 8758 ] {fdf88a26-bb70-463b-b508-c5cec07ce82e} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42888) (comment: 00504_insert_miss_columns.sh) (in query: INSERT INTO advertiser_test SELECT *, sipHash64( CAST(adblock AS String) ), CAST(1 AS Int8) FROM advertiser;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:11.591907 [ 8758 ] {fdf88a26-bb70-463b-b508-c5cec07ce82e} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:16.479119 [ 18906 ] {b309d6ec-c352-475c-a017-b43b152a082c} executeQuery: Code: 43. DB::Exception: Illegal type UInt16 of argument of function toYYYYMM. Should be Date, Date32, DateTime or DateTime64: While processing toYYYYMM(d). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:43330) (comment: 00427_alter_primary_key.sh) (in query: ALTER TABLE alter_00427 MODIFY COLUMN d UInt16), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6cdc27 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething, DB::ToYYYYMMImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6cb34d in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x0000000018a79883 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x0000000018a79f12 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001a08d413 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001a08cc54 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/AlterCommands.cpp:949: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d6fb in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:53:16.480889 [ 18906 ] {b309d6ec-c352-475c-a017-b43b152a082c} TCPHandler: Code: 43. DB::Exception: Illegal type UInt16 of argument of function toYYYYMM. Should be Date, Date32, DateTime or DateTime64: While processing toYYYYMM(d). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6cdc27 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething, DB::ToYYYYMMImpl>::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6cb34d in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x0000000018a79883 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x0000000018a79f12 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001a08d413 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001a08cc54 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/AlterCommands.cpp:949: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d6fb in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:53:17.637509 [ 690 ] {510aaca6-5b6e-4a4e-8fa9-6b0483c11b51} executeQuery: Code: 60. DB::Exception: Table name is empty: While processing hasColumnInTable('', '', ''). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:43432) (comment: 00386_has_column_in_table.sql) (in query: /* bad queries */ SELECT hasColumnInTable('', '', '');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b23db42 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:53:17.639096 [ 690 ] {510aaca6-5b6e-4a4e-8fa9-6b0483c11b51} TCPHandler: Code: 60. DB::Exception: Table name is empty: While processing hasColumnInTable('', '', ''). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b23db42 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:53:17.803112 [ 690 ] {ddab2d9b-9a36-4bfb-8825-bbcf17ef11d5} executeQuery: Code: 81. DB::Exception: Empty database name: While processing hasColumnInTable('', 't', 'c'). (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:43432) (comment: 00386_has_column_in_table.sql) (in query: SELECT hasColumnInTable('', 't', 'c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189be8c2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b23c9b8 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:53:18.002997 [ 690 ] {ddab2d9b-9a36-4bfb-8825-bbcf17ef11d5} TCPHandler: Code: 81. DB::Exception: Empty database name: While processing hasColumnInTable('', 't', 'c'). (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189be8c2 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b23c9b8 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:53:18.003203 [ 18906 ] {e214eb06-a328-4149-8d8a-181e8b5b1485} executeQuery: Code: 43. DB::Exception: Illegal type UInt32 of argument of function toTime. Should be Date, Date32, DateTime or DateTime64: While processing toTime(c). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:43480) (comment: 00427_alter_primary_key.sh) (in query: ALTER TABLE alter_00427 MODIFY COLUMN c UInt32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6c4467 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6c28a9 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x0000000018a79883 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x0000000018a79f12 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001a08d413 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001a08cc54 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/AlterCommands.cpp:933: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d651 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:53:18.005293 [ 18906 ] {e214eb06-a328-4149-8d8a-181e8b5b1485} TCPHandler: Code: 43. DB::Exception: Illegal type UInt32 of argument of function toTime. Should be Date, Date32, DateTime or DateTime64: While processing toTime(c). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6c4467 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToSomething::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6c28a9 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ExpressionAnalyzer::getActionsDAG(bool, bool) @ 0x0000000018a79883 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:1729: DB::ExpressionAnalyzer::getActions(bool, bool, DB::CompileExpressions) @ 0x0000000018a79f12 in /usr/bin/clickhouse 18. ./build_docker/./src/Storages/KeyDescription.cpp:142: DB::KeyDescription::getSortingKeyFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, std::optional const&) @ 0x000000001a08d413 in /usr/bin/clickhouse 19. ./build_docker/./src/Storages/KeyDescription.cpp:0: DB::KeyDescription::recalculateWithNewAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr) @ 0x000000001a08cc54 in /usr/bin/clickhouse 20. ./build_docker/./src/Storages/AlterCommands.cpp:933: DB::AlterCommands::apply(DB::StorageInMemoryMetadata&, std::shared_ptr) const @ 0x000000001a01d651 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:0: DB::MergeTreeData::checkAlterIsPossible(DB::AlterCommands const&, std::shared_ptr) const @ 0x000000001a8552e9 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x00000000193749df in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:53:18.012260 [ 690 ] {ef0d052a-4ec5-43b2-9cf2-ee5cced2f7b2} executeQuery: Code: 60. DB::Exception: Table name is empty: While processing hasColumnInTable(currentDatabase(), '', 'c'). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:43432) (comment: 00386_has_column_in_table.sql) (in query: SELECT hasColumnInTable(currentDatabase(), '', 'c');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b23db42 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:53:18.013463 [ 690 ] {ef0d052a-4ec5-43b2-9cf2-ee5cced2f7b2} TCPHandler: Code: 60. DB::Exception: Table name is empty: While processing hasColumnInTable(currentDatabase(), '', 'c'). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b23db42 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 2024.05.01 14:53:18.366496 [ 690 ] {eb2c2c5d-8e0a-4a54-ba57-2bfb20e8d41d} executeQuery: Code: 81. DB::Exception: Database d does not exist: While processing hasColumnInTable('d', 't', 's'). (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:43432) (comment: 00386_has_column_in_table.sql) (in query: SELECT hasColumnInTable('d', 't', 's');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bf711 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b23c9b8 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:53:18.368226 [ 690 ] {eb2c2c5d-8e0a-4a54-ba57-2bfb20e8d41d} TCPHandler: Code: 81. DB::Exception: Database d does not exist: While processing hasColumnInTable('d', 't', 's'). (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bf711 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 5. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b23c9b8 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 14:53:18.551448 [ 690 ] {ba90cc20-d056-4b60-9a2f-194e86e8aef4} executeQuery: Code: 60. DB::Exception: Table test_5oldrj28.t does not exist: While processing hasColumnInTable(currentDatabase(), 't', 's'). (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:43432) (comment: 00386_has_column_in_table.sql) (in query: SELECT hasColumnInTable(currentDatabase(), 't', 's');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b23c9b8 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:53:18.552506 [ 690 ] {ba90cc20-d056-4b60-9a2f-194e86e8aef4} TCPHandler: Code: 60. DB::Exception: Table test_5oldrj28.t does not exist: While processing hasColumnInTable(currentDatabase(), 't', 's'). (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. DB::(anonymous namespace)::FunctionHasColumnInTable::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b23c9b8 in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 2024.05.01 14:53:25.413956 [ 32829 ] {a75566ed-af69-4672-b24c-f2b1b2d61e14} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41070) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:25.415262 [ 32829 ] {a75566ed-af69-4672-b24c-f2b1b2d61e14} DynamicQueryHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:53:25.430681 [ 32829 ] {70ac8024-b0f8-4b7a-8296-fe33ab1d73a5} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41082) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:25.431648 [ 32829 ] {70ac8024-b0f8-4b7a-8296-fe33ab1d73a5} DynamicQueryHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:53:25.446997 [ 32829 ] {fc139463-a5f8-4ded-b2ac-68fa52c894f5} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41090) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:25.448975 [ 32829 ] {fc139463-a5f8-4ded-b2ac-68fa52c894f5} DynamicQueryHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 16. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:53:25.716243 [ 1524 ] {c5f6a90c-739f-4c74-aa61-3c0fc5cc9af8} executeQuery: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35730) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(`number`, 0) FROM `system`.`numbers`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x000000000b5d75ca in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d7538 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7d2912 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d0428 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:53:25.716538 [ 2837 ] {3027720f-23f4-4c37-85b9-927daef0caa3} executeQuery: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:57326) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(`number`, 0) FROM `system`.`numbers`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x000000000b5d75ca in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d7538 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7d2912 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d0428 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:53:25.717343 [ 1524 ] {c5f6a90c-739f-4c74-aa61-3c0fc5cc9af8} TCPHandler: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x000000000b5d75ca in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d7538 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7d2912 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d0428 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:53:25.718020 [ 2837 ] {3027720f-23f4-4c37-85b9-927daef0caa3} TCPHandler: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x000000000b5d75ca in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d7538 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7d2912 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d0428 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:53:25.724555 [ 32829 ] {ccd66b1b-3ba0-4a6c-8186-36a8f7328a32} executeQuery: Code: 153. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Division by zero. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x000000000b5d75ca in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d7538 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7d2912 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d0428 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse : While executing Remote. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41094) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(number, 0) FROM remote('127.0.0.{2,3}', system.numbers)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 14:53:25.729310 [ 32829 ] {ccd66b1b-3ba0-4a6c-8186-36a8f7328a32} DynamicQueryHandler: Code: 153. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Division by zero. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x000000000b5d75ca in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d7538 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7d2912 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d0428 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse : While executing Remote. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:53:26.043350 [ 32876 ] {82e5fafa-088a-4c7b-992f-a098a0c627b2} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54814) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:26.045145 [ 32876 ] {82e5fafa-088a-4c7b-992f-a098a0c627b2} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:26.481313 [ 32829 ] {5f730f74-fc07-40b0-8cbc-771918a58d76} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54840) (comment: 00336_shard_stack_trace.sh) (in query: SELECT a), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:26.482853 [ 32829 ] {5f730f74-fc07-40b0-8cbc-771918a58d76} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a', required columns: 'a'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:26.929589 [ 1524 ] {1d72ec80-871d-4f9e-b8a0-ea0e626c5793} executeQuery: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:35756) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(`number`, 0) FROM `system`.`numbers`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x000000000b5d75ca in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d7538 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7d2912 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d0428 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:53:26.930244 [ 1140 ] {011d58f5-288e-4cd2-bf0e-0623b88c1919} executeQuery: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:57328) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(`number`, 0) FROM `system`.`numbers`), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x000000000b5d75ca in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d7538 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7d2912 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d0428 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:53:26.932151 [ 1140 ] {011d58f5-288e-4cd2-bf0e-0623b88c1919} TCPHandler: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x000000000b5d75ca in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d7538 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7d2912 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d0428 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:53:26.933047 [ 1524 ] {1d72ec80-871d-4f9e-b8a0-ea0e626c5793} TCPHandler: Code: 153. DB::Exception: Division by zero. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x000000000b5d75ca in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d7538 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7d2912 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d0428 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 2024.05.01 14:53:26.942761 [ 32829 ] {4a0a60ff-e177-4646-ba08-203f6fe2f083} executeQuery: Code: 153. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Division by zero. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x000000000b5d75ca in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d7538 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7d2912 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d0428 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse : While executing Remote. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54866) (comment: 00336_shard_stack_trace.sh) (in query: SELECT intDiv(number, 0) FROM remote('127.0.0.{2,3}', system.numbers)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 14:53:26.948647 [ 32829 ] {4a0a60ff-e177-4646-ba08-203f6fe2f083} TCPHandler: Code: 153. DB::Exception: Received from 127.0.0.2:9000. DB::Exception: Division by zero. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::DivideIntegralByConstantImpl::vectorConstant(unsigned long const*, char8_t, unsigned long*, unsigned long) @ 0x000000000b5d75ca in /usr/bin/clickhouse 4. void DB::(anonymous namespace)::DivideIntegralByConstantImpl::process<(DB::impl_::OpCase)2>(unsigned long const*, char8_t const*, unsigned long*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000b5d7538 in /usr/bin/clickhouse 5. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7d2912 in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000b7d0428 in /usr/bin/clickhouse 7. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000b7a7d5f in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000b7a4f99 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a37b5 in /usr/bin/clickhouse 10. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000b7a1f33 in /usr/bin/clickhouse 11. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::updateHeader(DB::Block) const @ 0x00000000187be895 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transformHeader(DB::Block, DB::ActionsDAG const&) @ 0x000000001b307224 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/QueryPlan/ExpressionStep.cpp:32: DB::ExpressionStep::ExpressionStep(DB::DataStream const&, std::shared_ptr const&) @ 0x000000001b528e8a in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeExpression(DB::QueryPlan&, std::shared_ptr const&, String const&) @ 0x000000001954cb9c in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019541719 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 26. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 27. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 28. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 31. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse : While executing Remote. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 14:53:29.067131 [ 32852 ] {9e9b77a5-5223-4c0a-a29e-5187bb6fe3bc} executeQuery: Code: 48. DB::Exception: Unsupported compression method: While executing TabSeparatedRowOutputFormat. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:41266) (comment: 00302_http_compression.sh) (in query: SELECT number FROM system.numbers LIMIT 10), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [31]) @ 0x00000000097d8186 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/CompressionMethod.cpp:0: DB::wrapWriteBufferWithCompressionMethod(std::unique_ptr>, DB::CompressionMethod, int, unsigned long, char*, unsigned long) @ 0x0000000014256fae in /usr/bin/clickhouse 4. ./build_docker/./src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:110: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001af2bc78 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/WriteBuffer.h:60: DB::IOutputFormat::flush() @ 0x000000001afa075d in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IOutputFormat.cpp:105: DB::IOutputFormat::work() @ 0x000000001afa0547 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a59aa1 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:29.070216 [ 32852 ] {9e9b77a5-5223-4c0a-a29e-5187bb6fe3bc} DynamicQueryHandler: Code: 48. DB::Exception: Unsupported compression method: While executing TabSeparatedRowOutputFormat. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [31]) @ 0x00000000097d8186 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/CompressionMethod.cpp:0: DB::wrapWriteBufferWithCompressionMethod(std::unique_ptr>, DB::CompressionMethod, int, unsigned long, char*, unsigned long) @ 0x0000000014256fae in /usr/bin/clickhouse 4. ./build_docker/./src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp:110: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001af2bc78 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/WriteBuffer.h:60: DB::IOutputFormat::flush() @ 0x000000001afa075d in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IOutputFormat.cpp:105: DB::IOutputFormat::work() @ 0x000000001afa0547 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a59aa1 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:53:39.242097 [ 1435 ] {f8966cad-3f66-4d0f-a709-cc53ac7e4412} executeQuery: Code: 43. DB::Exception: The timezone argument of function toMonday is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toMonday(toDate(16433), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36250) (comment: 00189_time_zones_long.sql) (in query: SELECT toMonday(toDate(16433), 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e65f671 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e65c610 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:39.243445 [ 1435 ] {f8966cad-3f66-4d0f-a709-cc53ac7e4412} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toMonday is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toMonday(toDate(16433), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e65f671 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e65c610 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:39.526938 [ 1435 ] {a255a270-1cee-4d7c-9dbe-f110b498d48e} executeQuery: Code: 43. DB::Exception: The timezone argument of function toStartOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toStartOfWeek(toDate(16433), 0, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36250) (comment: 00189_time_zones_long.sql) (in query: SELECT toStartOfWeek(toDate(16433), 0, 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000000e631d46 in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e62e690 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:39.528493 [ 1435 ] {a255a270-1cee-4d7c-9dbe-f110b498d48e} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toStartOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toStartOfWeek(toDate(16433), 0, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000000e631d46 in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e62e690 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:39.701615 [ 1435 ] {edcdc98e-f676-4dc1-a833-122dc9d32c2e} executeQuery: Code: 43. DB::Exception: The timezone argument of function toStartOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toStartOfWeek(toDate(16433), 1, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36250) (comment: 00189_time_zones_long.sql) (in query: SELECT toStartOfWeek(toDate(16433), 1, 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000000e631d46 in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e62e690 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:39.702483 [ 1435 ] {edcdc98e-f676-4dc1-a833-122dc9d32c2e} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toStartOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toStartOfWeek(toDate(16433), 1, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000000e631d46 in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e62e690 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:40.007082 [ 1435 ] {65ae7692-3c9d-4fec-8f55-7243bd9a71f0} executeQuery: Code: 43. DB::Exception: The timezone argument of function toLastDayOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toLastDayOfWeek(toDate(16433), 0, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36250) (comment: 00189_time_zones_long.sql) (in query: SELECT toLastDayOfWeek(toDate(16433), 0, 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000000e636386 in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e632fd0 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:40.008094 [ 1435 ] {65ae7692-3c9d-4fec-8f55-7243bd9a71f0} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toLastDayOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toLastDayOfWeek(toDate(16433), 0, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000000e636386 in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e632fd0 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:40.122040 [ 1435 ] {690f7068-1150-4837-9511-43d37b422cc0} executeQuery: Code: 43. DB::Exception: The timezone argument of function toLastDayOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toLastDayOfWeek(toDate(16433), 1, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36250) (comment: 00189_time_zones_long.sql) (in query: SELECT toLastDayOfWeek(toDate(16433), 1, 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000000e636386 in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e632fd0 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:40.124072 [ 1435 ] {690f7068-1150-4837-9511-43d37b422cc0} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toLastDayOfWeek is allowed only when the 1st argument is DateTime or DateTime64.: While processing toLastDayOfWeek(toDate(16433), 1, 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionCustomWeek::checkArguments(std::vector> const&, bool) const @ 0x000000000e636386 in /usr/bin/clickhouse 4. DB::FunctionCustomWeekToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e632fd0 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:40.393048 [ 1435 ] {ec2edaee-29a9-4bd0-9987-a3d1edde72b9} executeQuery: Code: 43. DB::Exception: The timezone argument of function toStartOfMonth is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toStartOfMonth(toDate(16433), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36250) (comment: 00189_time_zones_long.sql) (in query: SELECT toStartOfMonth(toDate(16433), 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6a9851 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6a6930 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:40.394595 [ 1435 ] {ec2edaee-29a9-4bd0-9987-a3d1edde72b9} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toStartOfMonth is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toStartOfMonth(toDate(16433), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6a9851 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6a6930 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:40.687558 [ 1435 ] {7c23ff9c-2986-4f9e-ad84-2bed30c81e22} executeQuery: Code: 43. DB::Exception: The timezone argument of function toStartOfQuarter is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toStartOfQuarter(toDate(16343), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36250) (comment: 00189_time_zones_long.sql) (in query: SELECT toStartOfQuarter(toDate(16343), 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6ae251 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6aaab0 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:40.689194 [ 1435 ] {7c23ff9c-2986-4f9e-ad84-2bed30c81e22} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toStartOfQuarter is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toStartOfQuarter(toDate(16343), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6ae251 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6aaab0 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:40.947690 [ 1435 ] {4c704bd5-213f-4d6f-83c8-63ae62af1b16} executeQuery: Code: 43. DB::Exception: The timezone argument of function toStartOfYear is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toStartOfYear(toDate(16433), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36250) (comment: 00189_time_zones_long.sql) (in query: SELECT toStartOfYear(toDate(16433), 'Asia/Istanbul');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6c0fd1 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6bda70 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:40.948635 [ 1435 ] {4c704bd5-213f-4d6f-83c8-63ae62af1b16} TCPHandler: Code: 43. DB::Exception: The timezone argument of function toStartOfYear is allowed only when the 1st argument has the type DateTime or DateTime64: While processing toStartOfYear(toDate(16433), 'Asia/Istanbul'). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::IFunctionDateOrDateTime::checkArguments(std::vector> const&, bool) const @ 0x000000000e6c0fd1 in /usr/bin/clickhouse 4. DB::FunctionDateOrDateTimeToDateOrDate32::getReturnTypeImpl(std::vector> const&) const @ 0x000000000e6bda70 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:43.560041 [ 32851 ] {502ce933-40b3-4403-b92b-845d7640fa67} StorageBuffer (test_evkrnk8z.mt_buffer_00158): Destination table test_evkrnk8z.mt_00158 doesn't exist. Block of data is discarded. 2024.05.01 14:53:43.566860 [ 32851 ] {502ce933-40b3-4403-b92b-845d7640fa67} StorageBuffer (test_evkrnk8z.mt_buffer_00158): Destination table test_evkrnk8z.mt_00158 doesn't exist. Block of data is discarded. 2024.05.01 14:53:44.631113 [ 32851 ] {175f1755-93e9-4700-8605-a39cc480390d} executeQuery: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: While processing transform('hello', 'wrong', 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:57536) (comment: 00153_transform.sql) (in query: SELECT transform('hello', 'wrong', 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6f1256 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:44.632631 [ 32851 ] {175f1755-93e9-4700-8605-a39cc480390d} TCPHandler: Code: 43. DB::Exception: Second argument of function transform, must be array of source values to transform from.: While processing transform('hello', 'wrong', 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6f1256 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:44.803852 [ 32851 ] {9c72051c-a2fb-4dc3-97f1-84e25625157f} executeQuery: Code: 43. DB::Exception: Third argument of function transform, must be array of destination values to transform to.: While processing transform('hello', ['wrong'], 1). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:57536) (comment: 00153_transform.sql) (in query: SELECT transform('hello', ['wrong'], 1);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6f1835 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:44.807121 [ 32851 ] {9c72051c-a2fb-4dc3-97f1-84e25625157f} TCPHandler: Code: 43. DB::Exception: Third argument of function transform, must be array of destination values to transform to.: While processing transform('hello', ['wrong'], 1). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6f1835 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:44.825595 [ 32851 ] {fdeb5496-0827-4048-9165-fdf28d1aa3aa} executeQuery: Code: 43. DB::Exception: Function transform has signature: transform(T, Array(T), Array(U), U) -> U; or transform(T, Array(T), Array(T)) -> T; where T and U are types.: While processing transform('hello', ['wrong'], [1]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:57536) (comment: 00153_transform.sql) (in query: SELECT transform('hello', ['wrong'], [1]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6f1bf1 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:44.828678 [ 32851 ] {fdeb5496-0827-4048-9165-fdf28d1aa3aa} TCPHandler: Code: 43. DB::Exception: Function transform has signature: transform(T, Array(T), Array(U), U) -> U; or transform(T, Array(T), Array(T)) -> T; where T and U are types.: While processing transform('hello', ['wrong'], [1]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6f1bf1 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:45.021716 [ 32851 ] {a8370408-c976-4300-804e-7064ae81b9d9} executeQuery: Code: 43. DB::Exception: First argument and elements of array of the second argument of function transform must have compatible types: While processing transform(tuple(1), ['sdf'], [1]). (ILLEGAL_TYPE_OF_ARGUMENT) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:57536) (comment: 00153_transform.sql) (in query: SELECT transform(tuple(1), ['sdf'], [1]);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6f11a2 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:45.029964 [ 32851 ] {a8370408-c976-4300-804e-7064ae81b9d9} TCPHandler: Code: 43. DB::Exception: First argument and elements of array of the second argument of function transform must have compatible types: While processing transform(tuple(1), ['sdf'], [1]). (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionTransform::getReturnTypeImpl(std::vector, std::allocator>> const&) const @ 0x000000000e6f11a2 in /usr/bin/clickhouse 4. DB::IFunction::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c85464 in /usr/bin/clickhouse 5. DB::FunctionToOverloadResolverAdaptor::getReturnTypeImpl(std::vector> const&) const @ 0x0000000007c8235a in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IFunctionOverloadResolver::getReturnTypeWithoutLowCardinality(std::vector> const&) const @ 0x0000000017a5af27 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:435: DB::IFunctionOverloadResolver::getReturnType(std::vector> const&) const @ 0x0000000017a5ab0c in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:450: DB::IFunctionOverloadResolver::build(std::vector> const&) const @ 0x0000000017a5b94b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:198: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b61b5 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 14:53:52.636862 [ 18910 ] {e53d33bf-dd4a-422d-8e5e-8aa60e5dfc22} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38184) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:52.644360 [ 18910 ] {e53d33bf-dd4a-422d-8e5e-8aa60e5dfc22} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:53.096987 [ 32846 ] {97fceec6-d6ea-4c6b-a012-21c6a558eb2b} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38210) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:53.103622 [ 32846 ] {97fceec6-d6ea-4c6b-a012-21c6a558eb2b} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:53.686936 [ 18910 ] {41cd5a9e-ce0e-4f77-b308-cd004fe5a557} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38214) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:53.693613 [ 18910 ] {41cd5a9e-ce0e-4f77-b308-cd004fe5a557} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:54.239892 [ 32846 ] {c4725d52-dd4d-40cf-a5db-6e53253b534b} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38224) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:54.246627 [ 32846 ] {c4725d52-dd4d-40cf-a5db-6e53253b534b} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:55.157778 [ 32846 ] {9f98a590-3ec9-41e9-948f-ecd89f30359f} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38230) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:55.174839 [ 32846 ] {9f98a590-3ec9-41e9-948f-ecd89f30359f} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:55.832612 [ 18906 ] {15ca9f91-eee8-4ae1-9374-bfbd1ac62181} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38234) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:55.841028 [ 18906 ] {15ca9f91-eee8-4ae1-9374-bfbd1ac62181} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:56.528588 [ 18910 ] {220265e8-0fcd-4f10-9117-35326adcb546} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38240) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:56.560009 [ 18910 ] {220265e8-0fcd-4f10-9117-35326adcb546} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:57.557967 [ 18906 ] {3758f1b4-23fd-464a-95a0-e00c3298e8f8} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38260) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:57.585322 [ 18906 ] {3758f1b4-23fd-464a-95a0-e00c3298e8f8} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:58.158058 [ 18910 ] {5bbc6c71-0cad-4f5a-a3c4-d4f4f8a27ecd} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38272) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:58.177826 [ 18910 ] {5bbc6c71-0cad-4f5a-a3c4-d4f4f8a27ecd} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:59.071940 [ 19119 ] {a8a86d8d-6c21-4c78-a535-5b6251f39043} executeQuery: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38306) (comment: 00093_union_race_conditions_4.sh) (in query: SELECT 1 % ((number + 500) % 1000) FROM numbers_mt(1000);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:53:59.097895 [ 19119 ] {a8a86d8d-6c21-4c78-a535-5b6251f39043} TCPHandler: Code: 153. DB::Exception: Division by zero: while executing 'FUNCTION modulo(1 :: 1, modulo(plus(number, 500), 1000) :: 2) -> modulo(1, modulo(plus(number, 500), 1000)) UInt16 : 3'. (ILLEGAL_DIVISION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [17]) @ 0x0000000007ccae06 in /usr/bin/clickhouse 3. void DB::impl_::BinaryOperation, unsigned short>::process<(DB::impl_::OpCase)1>(char8_t const*, unsigned short const*, unsigned short*, unsigned long, DB::PODArray, 63ul, 64ul> const*) @ 0x000000000ca0bede in /usr/bin/clickhouse 4. COW::immutable_ptr DB::FunctionBinaryArithmetic::executeNumeric, DB::DataTypeNumber>(std::vector> const&, DB::DataTypeNumber const&, DB::DataTypeNumber const&, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbd5081 in /usr/bin/clickhouse 5. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, auto bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)::operator()>(auto const&) const::'lambda'(auto const&)&&) @ 0x000000000cbd249b in /usr/bin/clickhouse 6. bool DB::castTypeToEither, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber, DB::IDataType, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)>(TypeList, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber, DB::DataTypeNumber>, DB::DataTypeNumber>, DB::DataTypeDecimal>, DB::DataTypeDecimal>, DB::DataTypeDecimal>>, DB::DataTypeDecimal>>, DB::DataTypeDate, DB::DataTypeDateTime, DB::DataTypeFixedString, DB::DataTypeString, DB::DataTypeInterval, DB::DataTypeNumber, DB::DataTypeNumber>, auto const*, bool DB::FunctionBinaryArithmetic::castBothTypes::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const::'lambda'(auto const&, auto const&)>(DB::IDataType const*, DB::IDataType const*, auto&&)::'lambda'(auto const&)&&) @ 0x000000000cbd167b in /usr/bin/clickhouse 7. DB::FunctionBinaryArithmetic::executeImpl2(std::vector> const&, std::shared_ptr const&, unsigned long, DB::PODArray, 63ul, 64ul> const*) const @ 0x000000000cbcea99 in /usr/bin/clickhouse 8. DB::FunctionBinaryArithmetic::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcd2b5 in /usr/bin/clickhouse 9. DB::FunctionBinaryArithmeticWithConstants::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000cbcbf53 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 20. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 21. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 22. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 24. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:54:07.189356 [ 5065 ] {c508a48b-fb16-4875-b5f2-cfe323f3bb8e} executeQuery: Code: 116. DB::Exception: Select query is not allowed in columns DEFAULT expression. (THERE_IS_NO_DEFAULT_VALUE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:36686) (comment: 00079_defaulted_columns.sql) (in query: create table defaulted (col1 Int8, col2 UInt64 default (SELECT dummy+99 from system.one)) engine=Memory;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [58]) @ 0x0000000008e00f86 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ColumnsDescription.cpp:842: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001a03ac26 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929a5c8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:54:07.205913 [ 5065 ] {c508a48b-fb16-4875-b5f2-cfe323f3bb8e} TCPHandler: Code: 116. DB::Exception: Select query is not allowed in columns DEFAULT expression. (THERE_IS_NO_DEFAULT_VALUE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [58]) @ 0x0000000008e00f86 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/ColumnsDescription.cpp:842: DB::validateColumnsDefaultsAndGetSampleBlock(std::shared_ptr, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x000000001a03ac26 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::getColumnsDescription(DB::ASTExpressionList const&, std::shared_ptr, bool) @ 0x000000001929a5c8 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929c0d3 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:54:34.631726 [ 32876 ] {d9e3d66a-5bde-4bfc-94cb-abee1712677e} executeQuery: Code: 42. DB::Exception: ARRAY JOIN requires an argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54424) (comment: 00011_array_join_alias.sql) (in query: SELECT x, a FROM (SELECT arrayJoin(['Hello', 'Goodbye']) AS x, [1, 2, 3] AS arr) ARRAY JOIN;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019978d87 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:54:34.633872 [ 32876 ] {d9e3d66a-5bde-4bfc-94cb-abee1712677e} TCPHandler: Code: 42. DB::Exception: ARRAY JOIN requires an argument. (NUMBER_OF_ARGUMENTS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019978d87 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.341016 [ 32850 ] {3dbbac12-6dd1-4ca5-bd8f-e818241ac794} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_view_set does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42798) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_view_set ORDER BY x LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.341982 [ 32850 ] {3dbbac12-6dd1-4ca5-bd8f-e818241ac794} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_view_set does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.348787 [ 32850 ] {f76a82d9-0965-42d8-8c9b-a69646fc0750} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_view_memory does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42798) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_view_memory ORDER BY x LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.349613 [ 32850 ] {f76a82d9-0965-42d8-8c9b-a69646fc0750} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_view_memory does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.355523 [ 32850 ] {cf525c6e-4d16-4523-9fea-aa31263be131} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_view_log does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42798) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_view_log ORDER BY x LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.356277 [ 32850 ] {cf525c6e-4d16-4523-9fea-aa31263be131} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_view_log does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.361801 [ 32850 ] {2378e350-4be7-4c54-9caf-ed7e0e0529f1} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_view_tiny_log does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42798) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_view_tiny_log ORDER BY x LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.362440 [ 32850 ] {2378e350-4be7-4c54-9caf-ed7e0e0529f1} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_view_tiny_log does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.367580 [ 32850 ] {90a24cde-f524-4393-a699-e4fc203ac886} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_view_stripe_log does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42798) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_view_stripe_log ORDER BY x LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.368130 [ 32850 ] {90a24cde-f524-4393-a699-e4fc203ac886} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_view_stripe_log does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.373714 [ 32850 ] {8f5132cc-949c-4ba5-a98d-6ea4a5416787} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_view_merge_tree does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42798) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_view_merge_tree ORDER BY x LIMIT 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.374497 [ 32850 ] {8f5132cc-949c-4ba5-a98d-6ea4a5416787} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_view_merge_tree does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.421957 [ 32850 ] {5582f79c-9d74-4a85-8dec-3e59642b371b} executeQuery: Code: 60. DB::Exception: Table test_truncate_database.dest_dictionary does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42798) (comment: 02842_truncate_database.sql) (in query: SELECT * FROM dest_dictionary;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:39.423005 [ 32850 ] {5582f79c-9d74-4a85-8dec-3e59642b371b} TCPHandler: Code: 60. DB::Exception: Table test_truncate_database.dest_dictionary does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:45.580108 [ 32850 ] {ca6174c1-a060-4945-a990-aaa7fb89a44e} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/filesystem_caches/02810_system_sync_filesystem_cache_test_8otjz3h8/7df/7dff9b167d6364c17dfc6169cb50c27d/0, errno: 2, strerror: No such file or directory: Cache info: Buffer path: common/cmi/kvcbyrcbghpgljpkxnxxvoethwklq, hash key: 7dff9b167d6364c17dfc6169cb50c27d, file_offset_of_buffer_end: 0, read_until_position: 61, internal buffer end: None, read_type: CACHED, last caller: ca6174c1-a060-4945-a990-aaa7fb89a44e:3717, file segment info: File segment: [0, 60], key: 7dff9b167d6364c17dfc6169cb50c27d, state: DOWNLOADED, downloaded size: 61, reserved size: 61, downloader id: None, current write offset: 61, caller id: ca6174c1-a060-4945-a990-aaa7fb89a44e:3717, kind: Regular, unbound: 0: (while reading from part /var/lib/clickhouse/disks/s3_disk/store/26f/26f05174-e18c-42d7-8d54-233edba7e391/all_1_1_0/ in table test_8otjz3h8.test (26f05174-e18c-42d7-8d54-233edba7e391) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 1): While executing MergeTreeInOrder. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53872) (comment: 02810_system_sync_filesystem_cache.sh) (in query: SELECT * FROM test FORMAT Null SETTINGS enable_filesystem_cache_log = 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000000f9d05a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000000f9cb588 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/OpenedFile.cpp:0: DB::OpenedFile::open() const @ 0x0000000017a942c6 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/OpenedFile.cpp:42: DB::OpenedFile::getFD() const @ 0x0000000017a94361 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/ReadBufferFromFile.h:0: DB::ReadBufferFromFilePReadWithDescriptorsCache::ReadBufferFromFilePReadWithDescriptorsCache(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x0000000017a84a40 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long)::$_0::operator()(unsigned long, unsigned long, int) const @ 0x0000000017a840a2 in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/createReadBufferFromFileBase.cpp:0: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long) @ 0x0000000017a83f30 in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:171: DB::CachedOnDiskReadBufferFromFile::getCacheReadBuffer(DB::FileSegment const&) @ 0x0000000017c4f16d in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::getReadBufferForFileSegment(DB::FileSegment&) @ 0x0000000017c50ad4 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:403: DB::CachedOnDiskReadBufferFromFile::getImplementationBuffer(DB::FileSegment&) @ 0x0000000017c516ec in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:844: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x0000000017c56ba9 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x0000000017c5693b in /usr/bin/clickhouse 14. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000017c4a869 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x0000000017c49e4e in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::nextImpl() @ 0x0000000017c465b0 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedDataBlockForAsynchronous(unsigned long&, unsigned long&) @ 0x0000000018352458 in /usr/bin/clickhouse 18. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000018354283 in /usr/bin/clickhouse 19. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x000000001835496e in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x00000000185d65eb in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000001aa54bec in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000001aa53f57 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000001aa89d10 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000001aa96836 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa93ef8 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001aa8405b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001aa84e68 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001aa814fe in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000001b5ad0ca in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 2024.05.01 14:55:45.581672 [ 32850 ] {ca6174c1-a060-4945-a990-aaa7fb89a44e} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/filesystem_caches/02810_system_sync_filesystem_cache_test_8otjz3h8/7df/7dff9b167d6364c17dfc6169cb50c27d/0, errno: 2, strerror: No such file or directory: Cache info: Buffer path: common/cmi/kvcbyrcbghpgljpkxnxxvoethwklq, hash key: 7dff9b167d6364c17dfc6169cb50c27d, file_offset_of_buffer_end: 0, read_until_position: 61, internal buffer end: None, read_type: CACHED, last caller: ca6174c1-a060-4945-a990-aaa7fb89a44e:3717, file segment info: File segment: [0, 60], key: 7dff9b167d6364c17dfc6169cb50c27d, state: DOWNLOADED, downloaded size: 61, reserved size: 61, downloader id: None, current write offset: 61, caller id: ca6174c1-a060-4945-a990-aaa7fb89a44e:3717, kind: Regular, unbound: 0: (while reading from part /var/lib/clickhouse/disks/s3_disk/store/26f/26f05174-e18c-42d7-8d54-233edba7e391/all_1_1_0/ in table test_8otjz3h8.test (26f05174-e18c-42d7-8d54-233edba7e391) located on disk s3_disk of type s3, from mark 0 with max_rows_to_read = 1): While executing MergeTreeInOrder. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000000f9d05a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000000f9cb588 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/OpenedFile.cpp:0: DB::OpenedFile::open() const @ 0x0000000017a942c6 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/OpenedFile.cpp:42: DB::OpenedFile::getFD() const @ 0x0000000017a94361 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/ReadBufferFromFile.h:0: DB::ReadBufferFromFilePReadWithDescriptorsCache::ReadBufferFromFilePReadWithDescriptorsCache(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x0000000017a84a40 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long)::$_0::operator()(unsigned long, unsigned long, int) const @ 0x0000000017a840a2 in /usr/bin/clickhouse 8. ./build_docker/./src/Disks/IO/createReadBufferFromFileBase.cpp:0: DB::createReadBufferFromFileBase(String const&, DB::ReadSettings const&, std::optional, std::optional, int, char*, unsigned long) @ 0x0000000017a83f30 in /usr/bin/clickhouse 9. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:171: DB::CachedOnDiskReadBufferFromFile::getCacheReadBuffer(DB::FileSegment const&) @ 0x0000000017c4f16d in /usr/bin/clickhouse 10. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:0: DB::CachedOnDiskReadBufferFromFile::getReadBufferForFileSegment(DB::FileSegment&) @ 0x0000000017c50ad4 in /usr/bin/clickhouse 11. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:403: DB::CachedOnDiskReadBufferFromFile::getImplementationBuffer(DB::FileSegment&) @ 0x0000000017c516ec in /usr/bin/clickhouse 12. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:844: DB::CachedOnDiskReadBufferFromFile::nextImplStep() @ 0x0000000017c56ba9 in /usr/bin/clickhouse 13. ./build_docker/./src/Disks/IO/CachedOnDiskReadBufferFromFile.cpp:774: DB::CachedOnDiskReadBufferFromFile::nextImpl() @ 0x0000000017c5693b in /usr/bin/clickhouse 14. ./build_docker/./src/IO/ReadBuffer.h:0: DB::ReadBufferFromRemoteFSGather::readImpl() @ 0x0000000017c4a869 in /usr/bin/clickhouse 15. ./build_docker/./src/Disks/IO/ReadBufferFromRemoteFSGather.cpp:179: DB::ReadBufferFromRemoteFSGather::readInto(char*, unsigned long, unsigned long, unsigned long) @ 0x0000000017c49e4e in /usr/bin/clickhouse 16. ./build_docker/./src/Disks/IO/AsynchronousBoundedReadBuffer.cpp:0: DB::AsynchronousBoundedReadBuffer::nextImpl() @ 0x0000000017c465b0 in /usr/bin/clickhouse 17. ./build_docker/./src/IO/ReadBuffer.h:72: DB::CompressedReadBufferBase::readCompressedDataBlockForAsynchronous(unsigned long&, unsigned long&) @ 0x0000000018352458 in /usr/bin/clickhouse 18. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x0000000018354283 in /usr/bin/clickhouse 19. ./build_docker/./src/Compression/CompressedReadBufferFromFile.cpp:0: non-virtual thunk to DB::CompressedReadBufferFromFile::readBig(char*, unsigned long) @ 0x000000001835496e in /usr/bin/clickhouse 20. ./build_docker/./src/DataTypes/Serializations/SerializationNumber.cpp:160: DB::SerializationNumber::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x00000000185d65eb in /usr/bin/clickhouse 21. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeReaderCompact::readData(DB::NameAndTypePair const&, COW::immutable_ptr&, unsigned long, unsigned long, unsigned long, unsigned long, std::optional>) @ 0x000000001aa54bec in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::MergeTreeReaderCompact::readRows(unsigned long, unsigned long, bool, unsigned long, std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000001aa53f57 in /usr/bin/clickhouse 24. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::DelayedStream::finalize(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) @ 0x000000001aa89d10 in /usr/bin/clickhouse 25. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::startReadingChain(unsigned long, DB::MarkRanges&) @ 0x000000001aa96836 in /usr/bin/clickhouse 26. ./build_docker/./src/Storages/MergeTree/MergeTreeRangeReader.cpp:0: DB::MergeTreeRangeReader::read(unsigned long, DB::MarkRanges&) @ 0x000000001aa93ef8 in /usr/bin/clickhouse 27. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::readFromPartImpl() @ 0x000000001aa8405b in /usr/bin/clickhouse 28. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:441: DB::IMergeTreeSelectAlgorithm::readFromPart() @ 0x000000001aa84e68 in /usr/bin/clickhouse 29. ./build_docker/./src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp:0: DB::IMergeTreeSelectAlgorithm::read() @ 0x000000001aa814fe in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MergeTreeSource.cpp:181: DB::MergeTreeSource::tryGenerate() @ 0x000000001b5ad0ca in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 2024.05.01 14:55:45.853189 [ 32850 ] {c3234724-aeb2-4a9e-9a5f-eccf314589c5} CacheMetadata: File segment has DOWNLOADED state, but file does not exist (File segment: [0, 60], key: 7dff9b167d6364c17dfc6169cb50c27d, state: DOWNLOADED, downloaded size: 61, reserved size: 61, downloader id: None, current write offset: 61, caller id: c3234724-aeb2-4a9e-9a5f-eccf314589c5:32850, kind: Regular, unbound: 0) 2024.05.01 14:55:47.230647 [ 32850 ] {fe944cc9-80e3-45ed-9485-78a43d29d746} CacheMetadata: File segment has unexpected size. Having 3, expected 61 (File segment: [0, 60], key: 7dff9b167d6364c17dfc6169cb50c27d, state: DOWNLOADED, downloaded size: 61, reserved size: 61, downloader id: None, current write offset: 61, caller id: fe944cc9-80e3-45ed-9485-78a43d29d746:32850, kind: Regular, unbound: 0) 2024.05.01 14:55:48.380181 [ 32850 ] {092cd246-9347-41b0-aa54-2fb0db35da32} executeQuery: Code: 636. DB::Exception: Cannot extract table structure from CSV format file, because there are no files with provided path. You must specify table structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53954) (comment: 02771_complex_globs_in_storage_file_path.sql) (in query: SELECT *, _file FROM file('02771/dir{?/subdir?1/da,2/subdir2?/da}ta/non_existing.csv', CSV);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a13383a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001a1360c0 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001a136b02 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001773f365 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x000000001773c4c2 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:48.381111 [ 32850 ] {092cd246-9347-41b0-aa54-2fb0db35da32} TCPHandler: Code: 636. DB::Exception: Cannot extract table structure from CSV format file, because there are no files with provided path. You must specify table structure manually. (CANNOT_EXTRACT_TABLE_STRUCTURE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a13383a in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001a1360c0 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, String const&, DB::StorageFile::CommonArguments) @ 0x000000001a136b02 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, String, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, String&&, DB::StorageFile::CommonArguments&) @ 0x000000001773f365 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::TableFunctionFile::getStorage(String const&, String const&, DB::ColumnsDescription const&, std::shared_ptr, String const&, String const&) const @ 0x000000001773c4c2 in /usr/bin/clickhouse 8. ./build_docker/./src/TableFunctions/ITableFunctionFileLike.cpp:121: DB::ITableFunctionFileLike::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001774129d in /usr/bin/clickhouse 9. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 21. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 26. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:55:50.072107 [ 3185 ] {03fb1e0d-b26d-41b6-9d72-401a0718a446} AsynchronousInsertQueue: Failed parsing for query 'INSERT INTO test_wu8s6n5x.t_async_inserts_flush FORMAT JSONEachRow' with query id 8b7a4f8b-fed1-4dab-b418-09ef60206250. DB::ParsingException: Cannot parse input: expected '"' before: 'str"}': (while reading the value of key a): (at row 1) 2024.05.01 14:56:06.488198 [ 32850 ] {d34dfc94-eaeb-4d2f-8a50-90769e370347} executeQuery: Code: 47. DB::Exception: Missing columns: 'y' while processing query: 'SELECT y >= 20, xx, yy FROM `02703_db`.`02703_unexpected_columns`', required columns: 'xx' 'yy' 'y', maybe you meant: 'xx' or 'yy'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50622) (comment: 02703_row_policies_for_database_combination.sql) (in query: SELECT * FROM 02703_db.02703_unexpected_columns;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:171: DB::generateFilterActions(DB::StorageID const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::vector>&, std::shared_ptr) @ 0x000000001952d5f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:737: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953a2bc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:06.489289 [ 32850 ] {d34dfc94-eaeb-4d2f-8a50-90769e370347} TCPHandler: Code: 47. DB::Exception: Missing columns: 'y' while processing query: 'SELECT y >= 20, xx, yy FROM `02703_db`.`02703_unexpected_columns`', required columns: 'xx' 'yy' 'y', maybe you meant: 'xx' or 'yy'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:171: DB::generateFilterActions(DB::StorageID const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr const&, std::vector>&, std::shared_ptr) @ 0x000000001952d5f6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:737: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953a2bc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:13.676234 [ 1140 ] {9a086b17-1fbf-4c20-8d66-3fe20285c541} executeQuery: Code: 53. DB::Exception: CAST AS Tuple can only be performed between tuple types or from String. Left type: Map(String, Nullable(Int64)), right type: Tuple(a UInt32, b UInt32): while converting source column x to destination column x. (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50024) (comment: 02536_hdfs_cluster_use_structure_from_table.sql) (in query: insert into test select * from hdfsCluster('test_cluster_two_shards_localhost', 'hdfs://localhost:12222/test_02536.jsonl') settings use_structure_from_insertion_table_in_table_functions=0;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const @ 0x0000000007c9f497 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x0000000007c9b4eb in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x0000000007c947ed in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x0000000007c919f6 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x0000000007c90cfb in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c8fd9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:13.677065 [ 1140 ] {9a086b17-1fbf-4c20-8d66-3fe20285c541} TCPHandler: Code: 53. DB::Exception: CAST AS Tuple can only be performed between tuple types or from String. Left type: Map(String, Nullable(Int64)), right type: Tuple(a UInt32, b UInt32): while converting source column x to destination column x. (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. DB::FunctionCast::createTupleWrapper(std::shared_ptr const&, DB::DataTypeTuple const*) const @ 0x0000000007c9f497 in /usr/bin/clickhouse 4. DB::FunctionCast::prepareImpl(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x0000000007c9b4eb in /usr/bin/clickhouse 5. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const @ 0x0000000007c947ed in /usr/bin/clickhouse 6. DB::FunctionCast::prepareUnpackDictionaries(std::shared_ptr const&, std::shared_ptr const&) const @ 0x0000000007c919f6 in /usr/bin/clickhouse 7. DB::FunctionCast::prepare(std::vector> const&) const @ 0x0000000007c90cfb in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:37: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6dd3 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c8fd9 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:29.635909 [ 1140 ] {859252c0-2291-46b1-9743-e16dcdb1ef16} executeQuery: Code: 46. DB::Exception: Function with name 'plu' does not exists. In scope SELECT plu(1, 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['plus']. (UNKNOWN_FUNCTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50716) (comment: 02477_analyzer_function_hints.sh) (in query: SELECT plu(1, 1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940621d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:29.637470 [ 1140 ] {859252c0-2291-46b1-9743-e16dcdb1ef16} TCPHandler: Code: 46. DB::Exception: Function with name 'plu' does not exists. In scope SELECT plu(1, 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['plus']. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940621d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:30.065579 [ 1140 ] {c4514015-9342-44e8-8598-1ede4d43912c} executeQuery: Code: 46. DB::Exception: Function with name 'uniqExac' does not exists. In scope SELECT uniqExac(1, 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['uniqExact']. (UNKNOWN_FUNCTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50722) (comment: 02477_analyzer_function_hints.sh) (in query: SELECT uniqExac(1, 1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940621d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:30.066695 [ 1140 ] {c4514015-9342-44e8-8598-1ede4d43912c} TCPHandler: Code: 46. DB::Exception: Function with name 'uniqExac' does not exists. In scope SELECT uniqExac(1, 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['uniqExact']. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940621d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:31.101478 [ 1140 ] {889a90f4-84b4-46a7-9b5f-a1b9948fb91e} executeQuery: Code: 46. DB::Exception: Function with name 'test_user_defined_functio' does not exists. In scope SELECT test_user_defined_functio(1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_user_defined_function']. (UNKNOWN_FUNCTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51146) (comment: 02477_analyzer_function_hints.sh) (in query: SELECT test_user_defined_functio(1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940621d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:31.102727 [ 1140 ] {889a90f4-84b4-46a7-9b5f-a1b9948fb91e} TCPHandler: Code: 46. DB::Exception: Function with name 'test_user_defined_functio' does not exists. In scope SELECT test_user_defined_functio(1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['test_user_defined_function']. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940621d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:31.829503 [ 1140 ] {c8c5696b-5352-4497-8706-9a6ac99cbdc5} executeQuery: Code: 46. DB::Exception: Function with name 'lambda_functio' does not exists. In scope WITH x -> (x + 1) AS lambda_function SELECT lambda_functio(1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['lambda_function']. (UNKNOWN_FUNCTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51168) (comment: 02477_analyzer_function_hints.sh) (in query: WITH (x -> x + 1) AS lambda_function SELECT lambda_functio(1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940621d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:31.830712 [ 1140 ] {c8c5696b-5352-4497-8706-9a6ac99cbdc5} TCPHandler: Code: 46. DB::Exception: Function with name 'lambda_functio' does not exists. In scope WITH x -> (x + 1) AS lambda_function SELECT lambda_functio(1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['lambda_function']. (UNKNOWN_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x000000001940621d in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:32.231092 [ 1140 ] {cd90e477-aee0-4840-b0c7-72db33cfba58} executeQuery: Code: 63. DB::Exception: Aggregate function with name 'row_numbe' does not exists. In scope SELECT row_numbe() OVER (PARTITION BY 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['row_number']. (UNKNOWN_AGGREGATE_FUNCTION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51178) (comment: 02477_analyzer_function_hints.sh) (in query: SELECT row_numbe() OVER (PARTITION BY 1) SETTINGS allow_experimental_analyzer = 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019405b2a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:32.232163 [ 1140 ] {cd90e477-aee0-4840-b0c7-72db33cfba58} TCPHandler: Code: 63. DB::Exception: Aggregate function with name 'row_numbe' does not exists. In scope SELECT row_numbe() OVER (PARTITION BY 1) SETTINGS allow_experimental_analyzer = 1. Maybe you meant: ['row_number']. (UNKNOWN_AGGREGATE_FUNCTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&&, String&&) @ 0x00000000148b72cd in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveFunction(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x0000000019405b2a in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e425c in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 9. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:53.724078 [ 45778 ] {c046c40b-09cf-4126-8f29-7ba0e784f001} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 44. DB::Exception: Cannot insert BSON Null value into non-nullable column with type UInt32. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03f5a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:56:53.732248 [ 1140 ] {c046c40b-09cf-4126-8f29-7ba0e784f001} executeQuery: Code: 44. DB::Exception: Cannot insert BSON Null value into non-nullable column with type UInt32: While executing ParallelParsingBlockInputFormat: While executing File. (ILLEGAL_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48418) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'null UInt32') settings input_format_null_as_default=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03f5a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:53.735276 [ 1140 ] {c046c40b-09cf-4126-8f29-7ba0e784f001} TCPHandler: Code: 44. DB::Exception: Cannot insert BSON Null value into non-nullable column with type UInt32: While executing ParallelParsingBlockInputFormat: While executing File. (ILLEGAL_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03f5a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 8. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 12. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 14. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:59.855544 [ 3599 ] {29cf0ba5-c71d-4dd8-93a6-90e4630ec162} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64) from BSON array/embedded document field: tuple doesn't have element with name "s": (at row 1) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x000000001b04bbb0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b041670 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:653: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c2b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:56:59.859444 [ 1140 ] {29cf0ba5-c71d-4dd8-93a6-90e4630ec162} executeQuery: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64) from BSON array/embedded document field: tuple doesn't have element with name "s": (at row 1) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48540) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'tuple Tuple(x UInt64)')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x000000001b04bbb0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b041670 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:653: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c2b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:56:59.862497 [ 1140 ] {29cf0ba5-c71d-4dd8-93a6-90e4630ec162} TCPHandler: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64) from BSON array/embedded document field: tuple doesn't have element with name "s": (at row 1) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x000000001b04bbb0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b041670 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:653: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c2b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:00.296876 [ 3268 ] {4445edec-68d9-412c-9dd3-8ddb7fd501f5} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64, b String) from BSON array/embedded document field: tuple doesn't have element with name "s": (at row 1) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x000000001b04bbb0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b041670 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:653: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c2b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:57:00.303074 [ 1140 ] {4445edec-68d9-412c-9dd3-8ddb7fd501f5} executeQuery: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64, b String) from BSON array/embedded document field: tuple doesn't have element with name "s": (at row 1) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48544) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'tuple Tuple(x UInt64, b String)')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x000000001b04bbb0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b041670 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:653: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c2b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:00.307119 [ 1140 ] {4445edec-68d9-412c-9dd3-8ddb7fd501f5} TCPHandler: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(x UInt64, b String) from BSON array/embedded document field: tuple doesn't have element with name "s": (at row 1) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, StringRef&) @ 0x000000001b04bbb0 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b041670 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:653: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c2b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:03.112468 [ 3531 ] {51c58bdf-21d1-4ba0-a9a9-d5415b6cdd98} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64) from BSON array/embedded document field: the number of fields BSON document exceeds the number of fields in tuple: (at row 1) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b041581 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:653: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c2b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:57:03.122168 [ 1140 ] {51c58bdf-21d1-4ba0-a9a9-d5415b6cdd98} executeQuery: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64) from BSON array/embedded document field: the number of fields BSON document exceeds the number of fields in tuple: (at row 1) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58664) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'tuple Tuple(UInt64)')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b041581 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:653: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c2b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:03.126526 [ 1140 ] {51c58bdf-21d1-4ba0-a9a9-d5415b6cdd98} TCPHandler: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64) from BSON array/embedded document field: the number of fields BSON document exceeds the number of fields in tuple: (at row 1) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b041581 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:653: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c2b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:03.585899 [ 1543 ] {535c4492-c007-4fe2-a62c-6859204b09ad} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64, String, UInt64) from BSON array/embedded document field, the number of fields in tuple and BSON document doesn't match: 3 != 2: (at row 1) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, unsigned long&) @ 0x00000000084e75a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b0418b3 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:653: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c2b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:57:03.590372 [ 1140 ] {535c4492-c007-4fe2-a62c-6859204b09ad} executeQuery: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64, String, UInt64) from BSON array/embedded document field, the number of fields in tuple and BSON document doesn't match: 3 != 2: (at row 1) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58670) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(02475_data.bsonEachRow, auto, 'tuple Tuple(UInt64, String, UInt64)')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, unsigned long&) @ 0x00000000084e75a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b0418b3 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:653: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c2b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:03.593664 [ 1140 ] {535c4492-c007-4fe2-a62c-6859204b09ad} TCPHandler: Code: 117. DB::Exception: Cannot parse tuple column with type Tuple(UInt64, String, UInt64) from BSON array/embedded document field, the number of fields in tuple and BSON document doesn't match: 3 != 2: (at row 1) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&&, unsigned long&) @ 0x00000000084e75a2 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: DB::BSONEachRowRowInputFormat::readTuple(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b0418b3 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:653: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c2b4 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:14.613876 [ 1140 ] {10946b0b-856b-4425-aac2-05b12c9b658e} executeQuery: Code: 53. DB::Exception: Automatically defined type String for column 'x' in row 8 differs from type defined by previous rows: Int64. You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35112) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x000000001b053cb8 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:0: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x000000001b053606 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b051e37 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:14.615082 [ 1140 ] {10946b0b-856b-4425-aac2-05b12c9b658e} TCPHandler: Code: 53. DB::Exception: Automatically defined type String for column 'x' in row 8 differs from type defined by previous rows: Int64. You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x000000001b053cb8 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:0: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x000000001b053606 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b051e37 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:18.494441 [ 1140 ] {74f170de-a9e8-4a8b-bfda-48d51c6b9c15} executeQuery: Code: 53. DB::Exception: Automatically defined type Array(String) for column 'x' in row 8 differs from type defined by previous rows: Array(Int64). You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35184) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x000000001b053cb8 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:0: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x000000001b053606 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b051e37 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:18.495883 [ 1140 ] {74f170de-a9e8-4a8b-bfda-48d51c6b9c15} TCPHandler: Code: 53. DB::Exception: Automatically defined type Array(String) for column 'x' in row 8 differs from type defined by previous rows: Array(Int64). You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x000000001b053cb8 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:0: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x000000001b053606 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b051e37 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:19.363235 [ 1140 ] {b100ec13-075c-471f-a8bb-f5a08b387425} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35208) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x00000000138d8fb1 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:33: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000001b04e87c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b0522d3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:19.364490 [ 1140 ] {b100ec13-075c-471f-a8bb-f5a08b387425} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x00000000138d8fb1 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:33: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000001b04e87c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b0522d3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:20.189125 [ 1140 ] {0eb8c4b5-736b-401f-a025-803c423af31c} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35236) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x00000000138d8fb1 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:33: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000001b04e87c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b0522d3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:20.190527 [ 1140 ] {0eb8c4b5-736b-401f-a025-803c423af31c} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x00000000138d8fb1 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:33: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000001b04e87c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b0522d3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:21.028617 [ 1140 ] {08d95c06-4bb1-4dea-8de2-5d7812a4268a} executeQuery: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (ONLY_NULLS_WHILE_READING_SCHEMA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51978) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x00000000138d8fb1 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:33: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000001b04e87c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b0522d3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:21.029710 [ 1140 ] {08d95c06-4bb1-4dea-8de2-5d7812a4268a} TCPHandler: Code: 652. DB::Exception: Cannot determine type for column 'x' by first 2 rows of data, most likely this column contains only Nulls or empty Arrays/Maps. You can specify the type for this column using setting schema_inference_hints. If your data contains complex JSON objects, try enabling one of the settings allow_experimental_object_type/input_format_json_read_objects_as_strings: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (ONLY_NULLS_WHILE_READING_SCHEMA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, unsigned long&) @ 0x00000000138d8fb1 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:33: DB::checkFinalInferredType(std::shared_ptr&, String const&, DB::FormatSettings const&, std::shared_ptr const&, unsigned long, String const&) @ 0x000000001b04e87c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b0522d3 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:22.337132 [ 1140 ] {47679548-aafc-4220-bfac-016e15b02f78} executeQuery: Code: 53. DB::Exception: Automatically defined type Array(Int32) for column 'x' in row 2 differs from type defined by previous rows: Tuple(Int32, String). You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (TYPE_MISMATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52008) (comment: 02475_bson_each_row_format.sh) (in query: desc file(02475_data.bsonEachRow)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x000000001b053cb8 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:0: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x000000001b053606 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b051e37 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:22.338986 [ 1140 ] {47679548-aafc-4220-bfac-016e15b02f78} TCPHandler: Code: 53. DB::Exception: Automatically defined type Array(Int32) for column 'x' in row 2 differs from type defined by previous rows: Tuple(Int32, String). You can specify the type for this column using setting schema_inference_hints: Cannot extract table structure from BSONEachRow format file. You can specify the structure manually: (in file/uri /var/lib/clickhouse/user_files/02475_data.bsonEachRow). (TYPE_MISMATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String const&, unsigned long&, String&&) @ 0x000000001b053cb8 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/ISchemaReader.h:0: void DB::chooseResultColumnType(DB::IRowWithNamesSchemaReader&, std::shared_ptr&, std::shared_ptr&, std::shared_ptr const&, String const&, unsigned long, String const&) @ 0x000000001b053606 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/ISchemaReader.cpp:0: DB::IRowWithNamesSchemaReader::readSchema() @ 0x000000001b051e37 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/list:1038: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4c2fe in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:24.178009 [ 3634 ] {a574f900-4d98-4e8c-8c0b-e74dd5234aef} void DB::ParallelParsingInputFormat::onBackgroundException(size_t): Code: 117. DB::Exception: Cannot parse value of type Int128, size of binary data is not equal to the binary size of expected value: 5 != 16: (at row 4) . (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&&) @ 0x000000000e3a6122 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: void DB::readAndInsertBigInteger>>(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b042d79 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:568: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c154 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:57:24.181951 [ 1140 ] {a574f900-4d98-4e8c-8c0b-e74dd5234aef} executeQuery: Code: 117. DB::Exception: Cannot parse value of type Int128, size of binary data is not equal to the binary size of expected value: 5 != 16: (at row 4) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52046) (comment: 02475_bson_each_row_format.sh) (in query: select * from file(data.bsonEachRow, auto, 'number UInt64, int Int128, arr Array(UInt64)') settings input_format_allow_errors_num=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&&) @ 0x000000000e3a6122 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: void DB::readAndInsertBigInteger>>(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b042d79 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:568: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c154 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:24.185972 [ 1140 ] {a574f900-4d98-4e8c-8c0b-e74dd5234aef} TCPHandler: Code: 117. DB::Exception: Cannot parse value of type Int128, size of binary data is not equal to the binary size of expected value: 5 != 16: (at row 4) : While executing ParallelParsingBlockInputFormat: While executing File. (INCORRECT_DATA), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, unsigned long&, unsigned long&&) @ 0x000000000e3a6122 in /usr/bin/clickhouse 3. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:0: void DB::readAndInsertBigInteger>>(DB::ReadBuffer&, DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b042d79 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:568: DB::BSONEachRowRowInputFormat::readField(DB::IColumn&, std::shared_ptr const&, DB::BSONType) @ 0x000000001b03c154 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/BSONEachRowRowInputFormat.cpp:811: DB::BSONEachRowRowInputFormat::readRow(std::vector::mutable_ptr, std::allocator::mutable_ptr>>&, DB::RowReadExtension&) @ 0x000000001b047a87 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Formats/IRowInputFormat.cpp:0: DB::IRowInputFormat::generate() @ 0x000000001b029ab3 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Formats/Impl/ParallelParsingInputFormat.h:168: DB::ParallelParsingInputFormat::InternalParser::getChunk() @ 0x000000001b1825d7 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/vector:951: DB::ParallelParsingInputFormat::parserThreadFunction(std::shared_ptr, unsigned long) @ 0x000000001b1806c8 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b183c38 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 13. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:57.869741 [ 1140 ] {3bfce654-f7fd-416d-812f-933ce3552094} executeQuery: Code: 47. DB::Exception: Unknown expression identifier 'test_id' in scope SELECT test_id FROM test_table. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51264) (comment: 02337_analyzer_columns_basic.sql) (in query: SELECT test_id FROM test_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001944103b in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e913b in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:57.870851 [ 1140 ] {3bfce654-f7fd-416d-812f-933ce3552094} TCPHandler: Code: 47. DB::Exception: Unknown expression identifier 'test_id' in scope SELECT test_id FROM test_table. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, char const*&&, String&, String const&, String&&, String&&) @ 0x000000001944103b in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNode(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e913b in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:5684: DB::(anonymous namespace)::QueryAnalyzer::resolveExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&, bool, bool) @ 0x00000000193e2c94 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::(anonymous namespace)::QueryAnalyzer::resolveProjectionExpressionNodeList(std::shared_ptr&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193f1102 in /usr/bin/clickhouse 6. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193db2c0 in /usr/bin/clickhouse 7. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 8. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:57.958212 [ 1140 ] {933bb104-2fc3-4501-a0b7-5904ecd28a3c} executeQuery: Code: 60. DB::Exception: Unknown table expression identifier 'test_unknown_table' in scope SELECT test_id FROM test_unknown_table. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51264) (comment: 02337_analyzer_columns_basic.sql) (in query: SELECT test_id FROM test_unknown_table;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de1d7 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:57:57.959079 [ 1140 ] {933bb104-2fc3-4501-a0b7-5904ecd28a3c} TCPHandler: Code: 60. DB::Exception: Unknown table expression identifier 'test_unknown_table' in scope SELECT test_id FROM test_unknown_table. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String&&) @ 0x0000000008bd5b3c in /usr/bin/clickhouse 3. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::(anonymous namespace)::QueryAnalyzer::resolveQuery(std::shared_ptr const&, DB::(anonymous namespace)::IdentifierResolveScope&) @ 0x00000000193de1d7 in /usr/bin/clickhouse 4. ./build_docker/./src/Analyzer/Passes/QueryAnalysisPass.cpp:0: DB::QueryAnalysisPass::run(std::shared_ptr, std::shared_ptr) @ 0x00000000193d879d in /usr/bin/clickhouse 5. ./build_docker/./src/Analyzer/QueryTreePassManager.cpp:183: DB::QueryTreePassManager::run(std::shared_ptr) @ 0x00000000193d58fe in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:0: DB::(anonymous namespace)::buildQueryTreeAndRunPasses(std::shared_ptr const&, DB::SelectQueryOptions const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001959d507 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:161: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&) @ 0x000000001959b939 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd110 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:03.390676 [ 1140 ] {68cb94b1-0f80-4be8-a751-65ead06ca88e} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53006) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:03.391441 [ 1140 ] {68cb94b1-0f80-4be8-a751-65ead06ca88e} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:03.735331 [ 1140 ] {ceb182cd-522d-431f-8c45-527b3b458aa1} executeQuery: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53012) (in query: select * from file('data.capnp', 'CapnProto', 'val1 char') settings format_schema='nonexist:Message'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoSchema.cpp:0: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x000000001b0b1d1c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:25: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::MaybeAutogeneratedFormatSchemaInfo const&, DB::FormatSettings const&) @ 0x000000001b0af039 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000], DB::FormatSettings const&, DB::CapnProtoRowInputFormat*>(DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001b0b13c2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:0: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001b0b0582 in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/FormatFactory.cpp:330: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&, std::optional, std::optional, bool, DB::CompressionMethod) const @ 0x000000001af2cf0b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:3735: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&, std::optional) const @ 0x000000001890862b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x000000001a14908b in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:03.737044 [ 1140 ] {ceb182cd-522d-431f-8c45-527b3b458aa1} TCPHandler: Code: 107. DB::Exception: Cannot open CapnProto schema, file /var/lib/clickhouse/format_schemas/nonexist.capnp doesn't exists: While executing File. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoSchema.cpp:0: DB::CapnProtoSchemaParser::getMessageSchema(DB::FormatSchemaInfo const&) @ 0x000000001b0b1d1c in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:25: DB::CapnProtoRowInputFormat::CapnProtoRowInputFormat(DB::ReadBuffer&, DB::Block, DB::RowInputFormatParams, DB::MaybeAutogeneratedFormatSchemaInfo const&, DB::FormatSettings const&) @ 0x000000001b0af039 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::CapnProtoRowInputFormat* std::construct_at[abi:v15000], DB::FormatSettings const&, DB::CapnProtoRowInputFormat*>(DB::CapnProtoRowInputFormat*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams&&, DB::MaybeAutogeneratedFormatSchemaInfo&&, DB::FormatSettings const&) @ 0x000000001b0b13c2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/allocator_traits.h:0: std::shared_ptr std::__function::__policy_invoker (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>::__call_impl (DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&)>>(std::__function::__policy_storage const*, DB::ReadBuffer&, DB::Block const&, DB::RowInputFormatParams const&, DB::FormatSettings const&) @ 0x000000001b0b0582 in /usr/bin/clickhouse 7. ./build_docker/./src/Formats/FormatFactory.cpp:330: DB::FormatFactory::getInput(String const&, DB::ReadBuffer&, DB::Block const&, std::shared_ptr, unsigned long, std::optional const&, std::optional, std::optional, bool, DB::CompressionMethod) const @ 0x000000001af2cf0b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Context.cpp:3735: DB::Context::getInputFormat(String const&, DB::ReadBuffer&, DB::Block const&, unsigned long, std::optional const&, std::optional) const @ 0x000000001890862b in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFileSource::generate() @ 0x000000001a14908b in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 15. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 16. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:04.183798 [ 1140 ] {92f8531a-0e2c-459b-bf40-22c12311a6e0} executeQuery: Code: 36. DB::Exception: Empty messages are not supported: Cannot extract table structure from Protobuf format file. You can specify the structure manually. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53018) (comment: 02327_capnproto_protobuf_empty_messages.sh) (in query: desc file(data.pb) settings format_schema='test_02327/02327_schema:MessageWithEmpty'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ProtobufSerializer.cpp:3799: DB::(anonymous namespace)::getNameAndDataTypeFromField(google::protobuf::FieldDescriptor const*, bool, bool) @ 0x000000001b1ded7f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::protobufSchemaToCHSchema(google::protobuf::Descriptor const*, bool) @ 0x000000001b1de30a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp:130: DB::ProtobufSchemaReader::readSchema() @ 0x000000001b272f48 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4bf56 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:04.185476 [ 1140 ] {92f8531a-0e2c-459b-bf40-22c12311a6e0} TCPHandler: Code: 36. DB::Exception: Empty messages are not supported: Cannot extract table structure from Protobuf format file. You can specify the structure manually. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ProtobufSerializer.cpp:3799: DB::(anonymous namespace)::getNameAndDataTypeFromField(google::protobuf::FieldDescriptor const*, bool, bool) @ 0x000000001b1ded7f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::protobufSchemaToCHSchema(google::protobuf::Descriptor const*, bool) @ 0x000000001b1de30a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp:130: DB::ProtobufSchemaReader::readSchema() @ 0x000000001b272f48 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4bf56 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:04.689587 [ 1140 ] {bcca629c-f5a9-456c-922f-ebf3d7e5cecf} executeQuery: Code: 651. DB::Exception: Empty messages are not supported: Cannot extract table structure from CapnProto format file. You can specify the structure manually. (CAPN_PROTO_BAD_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53030) (comment: 02327_capnproto_protobuf_empty_messages.sh) (in query: desc file(data.capnp) settings format_schema='test_02327/02327_schema:MessageWithEmpty'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoSchema.cpp:220: DB::(anonymous namespace)::getDataTypeFromCapnProtoType(capnp::Type const&, bool) @ 0x000000001b0b5fd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/CapnProtoSchema.cpp:285: DB::capnProtoSchemaToCHSchema(capnp::StructSchema const&, bool) @ 0x000000001b0b46d5 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoSchemaReader::readSchema() @ 0x000000001b0afecb in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4bf56 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:04.690920 [ 1140 ] {bcca629c-f5a9-456c-922f-ebf3d7e5cecf} TCPHandler: Code: 651. DB::Exception: Empty messages are not supported: Cannot extract table structure from CapnProto format file. You can specify the structure manually. (CAPN_PROTO_BAD_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoSchema.cpp:220: DB::(anonymous namespace)::getDataTypeFromCapnProtoType(capnp::Type const&, bool) @ 0x000000001b0b5fd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/CapnProtoSchema.cpp:285: DB::capnProtoSchemaToCHSchema(capnp::StructSchema const&, bool) @ 0x000000001b0b46d5 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoSchemaReader::readSchema() @ 0x000000001b0afecb in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4bf56 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::TableFunctionFile::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001773d159 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:640: DB::InterpreterDescribeQuery::execute() @ 0x00000000194e696e in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:05.290684 [ 1140 ] {92affbbb-242d-4e65-9e6a-ab32a9024cd3} executeQuery: Code: 36. DB::Exception: Empty messages are not supported: Cannot extract table structure from Protobuf format file. You can specify the structure manually. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53040) (comment: 02327_capnproto_protobuf_empty_messages.sh) (in query: create table test_protobuf engine=File(Protobuf) settings format_schema='test_02327/02327_schema:MessageWithEmpty'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ProtobufSerializer.cpp:3799: DB::(anonymous namespace)::getNameAndDataTypeFromField(google::protobuf::FieldDescriptor const*, bool, bool) @ 0x000000001b1ded7f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::protobufSchemaToCHSchema(google::protobuf::Descriptor const*, bool) @ 0x000000001b1de30a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp:130: DB::ProtobufSchemaReader::readSchema() @ 0x000000001b272f48 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4bf56 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001a1360c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x000000001a1377a9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x000000001a15153f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a1442c6 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:05.292621 [ 1140 ] {92affbbb-242d-4e65-9e6a-ab32a9024cd3} TCPHandler: Code: 36. DB::Exception: Empty messages are not supported: Cannot extract table structure from Protobuf format file. You can specify the structure manually. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/ProtobufSerializer.cpp:3799: DB::(anonymous namespace)::getNameAndDataTypeFromField(google::protobuf::FieldDescriptor const*, bool, bool) @ 0x000000001b1ded7f in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::protobufSchemaToCHSchema(google::protobuf::Descriptor const*, bool) @ 0x000000001b1de30a in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/ProtobufRowInputFormat.cpp:130: DB::ProtobufSchemaReader::readSchema() @ 0x000000001b272f48 in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4bf56 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001a1360c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x000000001a1377a9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x000000001a15153f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a1442c6 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:05.833817 [ 1140 ] {43092ac9-d1bd-41ea-95a2-763f835ee915} executeQuery: Code: 651. DB::Exception: Empty messages are not supported: Cannot extract table structure from CapnProto format file. You can specify the structure manually. (CAPN_PROTO_BAD_TYPE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53050) (comment: 02327_capnproto_protobuf_empty_messages.sh) (in query: create table test_capnp engine=File(CapnProto) settings format_schema='test_02327/02327_schema:MessageWithEmpty'), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoSchema.cpp:220: DB::(anonymous namespace)::getDataTypeFromCapnProtoType(capnp::Type const&, bool) @ 0x000000001b0b5fd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/CapnProtoSchema.cpp:285: DB::capnProtoSchemaToCHSchema(capnp::StructSchema const&, bool) @ 0x000000001b0b46d5 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoSchemaReader::readSchema() @ 0x000000001b0afecb in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4bf56 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001a1360c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x000000001a1377a9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x000000001a15153f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a1442c6 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:05.835280 [ 1140 ] {43092ac9-d1bd-41ea-95a2-763f835ee915} TCPHandler: Code: 651. DB::Exception: Empty messages are not supported: Cannot extract table structure from CapnProto format file. You can specify the structure manually. (CAPN_PROTO_BAD_TYPE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [33]) @ 0x0000000007ca90a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Formats/CapnProtoSchema.cpp:220: DB::(anonymous namespace)::getDataTypeFromCapnProtoType(capnp::Type const&, bool) @ 0x000000001b0b5fd7 in /usr/bin/clickhouse 4. ./build_docker/./src/Formats/CapnProtoSchema.cpp:285: DB::capnProtoSchemaToCHSchema(capnp::StructSchema const&, bool) @ 0x000000001b0b46d5 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Formats/Impl/CapnProtoRowInputFormat.cpp:0: DB::CapnProtoSchemaReader::readSchema() @ 0x000000001b0afecb in /usr/bin/clickhouse 6. ./build_docker/./src/Formats/ReadSchemaUtils.cpp:0: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&, std::unique_ptr>&) @ 0x000000001af4bf56 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::readSchemaFromFormat(String const&, std::optional const&, DB::IReadBufferIterator&, bool, std::shared_ptr&) @ 0x000000001af4deb5 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::getTableStructureFromFile(String const&, std::vector> const&, String const&, std::optional const&, std::shared_ptr, std::optional const&) @ 0x000000001a1328f7 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::StorageFile::setStorageMetadata(DB::StorageFile::CommonArguments) @ 0x000000001a1360c0 in /usr/bin/clickhouse 10. ./build_docker/./src/Storages/StorageFile.cpp:0: DB::StorageFile::StorageFile(String const&, DB::StorageFile::CommonArguments) @ 0x000000001a1377a9 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], String const&, DB::StorageFile::CommonArguments&, void>(std::allocator const&, String const&, DB::StorageFile::CommonArguments&) @ 0x000000001a15153f in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:962: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a1442c6 in /usr/bin/clickhouse 13. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 19. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 20. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 24. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 25. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 26. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 27. ? @ 0x00007f5975bcaac3 in ? 28. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:10.469021 [ 1140 ] {4feedc3e-ecd2-4499-b11c-41cab9f3467e} executeQuery: Code: 48. DB::Exception: Reading from a partitioned S3 storage is not implemented yet. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53134) (comment: 02302_s3_file_pruning.sql) (in query: select * from test_02302;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [61]) @ 0x00000000084ea866 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageS3.cpp:1066: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a3bbaad in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:10.469752 [ 1140 ] {4feedc3e-ecd2-4499-b11c-41cab9f3467e} TCPHandler: Code: 48. DB::Exception: Reading from a partitioned S3 storage is not implemented yet. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [61]) @ 0x00000000084ea866 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageS3.cpp:1066: DB::StorageS3::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a3bbaad in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:13.255360 [ 1140 ] {03f00bec-d742-4230-8237-b2f05cc7e4e3} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34394) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:13.255996 [ 1140 ] {03f00bec-d742-4230-8237-b2f05cc7e4e3} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:26.513986 [ 1140 ] {cbb7d6d7-7537-4795-9ac7-c2b7b951cea9} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58820) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:26.514838 [ 1140 ] {cbb7d6d7-7537-4795-9ac7-c2b7b951cea9} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:31.425293 [ 1140 ] {4c2af86f-48ed-40f9-bf8c-601d98b692c5} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55614) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:58:31.425908 [ 1140 ] {4c2af86f-48ed-40f9-bf8c-601d98b692c5} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:20.490426 [ 1140 ] {045b3976-5e56-47cb-bf24-2413f14a92cf} executeQuery: Code: 201. DB::Exception: Quota for user `u02246` for 3155695200s has been exceeded: query_inserts = 3/2. Interval will end at 2069-12-31 09:00:00. Name of quota template: `q02246`. (QUOTA_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54420) (comment: 02246_async_insert_quota.sh) (in query: INSERT INTO async_inserts_02246 VALUES ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x0000000017e17deb in /usr/bin/clickhouse 3. ./build_docker/./src/Access/EnabledQuota.cpp:0: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x0000000017e178e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/EnabledQuota.cpp:67: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x0000000017e17585 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/smart_ptr/detail/shared_count.hpp:432: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x0000000017e156a2 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x0000000017e15519 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a54351 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:20.492069 [ 1140 ] {045b3976-5e56-47cb-bf24-2413f14a92cf} TCPHandler: Code: 201. DB::Exception: Quota for user `u02246` for 3155695200s has been exceeded: query_inserts = 3/2. Interval will end at 2069-12-31 09:00:00. Name of quota template: `q02246`. (QUOTA_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&, String&&, String&&) @ 0x0000000017e17deb in /usr/bin/clickhouse 3. ./build_docker/./src/Access/EnabledQuota.cpp:0: DB::EnabledQuota::Impl::throwQuotaExceed(String const&, String const&, DB::QuotaType, unsigned long, unsigned long, std::chrono::duration>, std::chrono::time_point>>) @ 0x0000000017e178e0 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/EnabledQuota.cpp:67: DB::EnabledQuota::Impl::used(String const&, DB::EnabledQuota::Intervals const&, DB::QuotaType, unsigned long, std::chrono::time_point>>, bool) @ 0x0000000017e17585 in /usr/bin/clickhouse 5. ./build_docker/./contrib/boost/boost/smart_ptr/detail/shared_count.hpp:432: DB::EnabledQuota::used(std::pair const&, bool) const @ 0x0000000017e156a2 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/EnabledQuota.cpp:235: DB::EnabledQuota::used(DB::QuotaType, unsigned long, bool) const @ 0x0000000017e15519 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a54351 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:37.047646 [ 1140 ] {2eb4839d-0dc2-4ef4-a616-85e17f29ae5e} executeQuery: Code: 497. DB::Exception: user `kek_02243` is not allowed as grantee. (ACCESS_DENIED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32810) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO kek_02243), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkGranteeIsAllowed(StrongTypedef, DB::UUIDTag> const&, DB::IAccessEntity const&) const @ 0x0000000017da975e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ContextAccess::checkGranteesAreAllowed(std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>> const&) const @ 0x0000000017da9af4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aefe64 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:37.049261 [ 1140 ] {2eb4839d-0dc2-4ef4-a616-85e17f29ae5e} TCPHandler: Code: 497. DB::Exception: user `kek_02243` is not allowed as grantee. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkGranteeIsAllowed(StrongTypedef, DB::UUIDTag> const&, DB::IAccessEntity const&) const @ 0x0000000017da975e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ContextAccess::checkGranteesAreAllowed(std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>> const&) const @ 0x0000000017da9af4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aefe64 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:37.369822 [ 1140 ] {52edacb1-de53-47e4-b4ba-0496b02d06a0} executeQuery: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32838) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO test_user_02243 WITH GRANT OPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:0: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000017ec3c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec339c in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec3a3a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee1fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:37.371195 [ 1140 ] {52edacb1-de53-47e4-b4ba-0496b02d06a0} TCPHandler: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:0: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000017ec3c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec339c in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec3a3a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee1fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:37.731098 [ 47430 ] {} Access(user directories): from: ::1, user: test_user_02243: Authentication failed: Code: 192. DB::Exception: There is no user `test_user_02243` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e462f0 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:59:37.732072 [ 47430 ] {} ServerErrorHandler: Code: 516. DB::Exception: test_user_02243: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:59:38.489082 [ 1140 ] {} TCPHandler: Code: 492. DB::Exception: ID(2945cd4d-a594-9946-404e-393393e375b7) not found in user directories. (ACCESS_ENTITY_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(StrongTypedef, DB::UUIDTag> const&) const @ 0x0000000017e48b4d in /usr/bin/clickhouse 4. ./build_docker/./src/Access/MultipleAccessStorage.cpp:0: DB::MultipleAccessStorage::readImpl(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000017e86797 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:225: std::shared_ptr DB::IAccessStorage::read(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000017886cbb in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:267: DB::ContextAccess::initialize() @ 0x0000000017da2e01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::ContextAccessCache::getContextAccess(DB::ContextAccessParams const&) @ 0x0000000017d6eef5 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:723: DB::AccessControl::getContextAccess(DB::ContextAccessParams const&) const @ 0x0000000017d6c1b1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1232: DB::Context::getAccess() const @ 0x00000000188e9b12 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Session.cpp:622: DB::Session::makeQueryContextImpl(DB::ClientInfo const*, DB::ClientInfo*) const @ 0x00000000197a7e95 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Session.cpp:600: DB::Session::makeQueryContext(DB::ClientInfo&&) const @ 0x00000000197a9ba3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveQuery() @ 0x000000001af12384 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000001af06363 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefd2ce in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:39.129378 [ 47429 ] {49941bbf-a624-42d5-ae5c-3db8568f515f} executeQuery: Code: 192. DB::Exception: test_user_02243: User has been dropped. (UNKNOWN_USER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32896) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO kek_02243), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000017dea631 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000017ddfb15 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkGrantOption(DB::AccessRightsElements const&) const @ 0x0000000017da8fab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee844 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:39.130726 [ 47429 ] {49941bbf-a624-42d5-ae5c-3db8568f515f} TCPHandler: Code: 192. DB::Exception: test_user_02243: User has been dropped. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000017dea631 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:0: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessRightsElement const&) const @ 0x0000000017ddfb15 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkGrantOption(DB::AccessRightsElements const&) const @ 0x0000000017da8fab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee844 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:39.358904 [ 1140 ] {f10da9a1-3226-484c-9e2c-cdfce42803c8} executeQuery: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32912) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO test_user_02243 WITH GRANT OPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:0: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000017ec3c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec339c in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec3a3a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee1fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:39.360418 [ 1140 ] {f10da9a1-3226-484c-9e2c-cdfce42803c8} TCPHandler: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:0: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000017ec3c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec339c in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec3a3a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee1fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:39.730543 [ 1140 ] {} Access(user directories): from: ::1, user: test_user_02243: Authentication failed: Code: 192. DB::Exception: There is no user `test_user_02243` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e462f0 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:59:39.731473 [ 1140 ] {} ServerErrorHandler: Code: 516. DB::Exception: test_user_02243: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:59:40.473409 [ 47430 ] {} TCPHandler: Code: 492. DB::Exception: ID(d8470973-4ac8-6621-1b8a-11ffc2572f91) not found in user directories. (ACCESS_ENTITY_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(StrongTypedef, DB::UUIDTag> const&) const @ 0x0000000017e48b4d in /usr/bin/clickhouse 4. ./build_docker/./src/Access/MultipleAccessStorage.cpp:0: DB::MultipleAccessStorage::readImpl(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000017e86797 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:225: std::shared_ptr DB::IAccessStorage::read(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000017886cbb in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:267: DB::ContextAccess::initialize() @ 0x0000000017da2e01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::ContextAccessCache::getContextAccess(DB::ContextAccessParams const&) @ 0x0000000017d6eef5 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:723: DB::AccessControl::getContextAccess(DB::ContextAccessParams const&) const @ 0x0000000017d6c1b1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1232: DB::Context::getAccess() const @ 0x00000000188e9b12 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Session.cpp:622: DB::Session::makeQueryContextImpl(DB::ClientInfo const*, DB::ClientInfo*) const @ 0x00000000197a7e95 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Session.cpp:600: DB::Session::makeQueryContext(DB::ClientInfo&&) const @ 0x00000000197a9ba3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveQuery() @ 0x000000001af12384 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000001af06363 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefd2ce in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:41.103577 [ 47430 ] {} TCPHandler: Code: 492. DB::Exception: ID(7f46921f-746f-7699-a6d7-94fd5873f184) not found in user directories. (ACCESS_ENTITY_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(StrongTypedef, DB::UUIDTag> const&) const @ 0x0000000017e48b4d in /usr/bin/clickhouse 4. ./build_docker/./src/Access/MultipleAccessStorage.cpp:0: DB::MultipleAccessStorage::readImpl(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000017e86797 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:225: std::shared_ptr DB::IAccessStorage::read(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000017886cbb in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:267: DB::ContextAccess::initialize() @ 0x0000000017da2e01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::ContextAccessCache::getContextAccess(DB::ContextAccessParams const&) @ 0x0000000017d6eef5 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:723: DB::AccessControl::getContextAccess(DB::ContextAccessParams const&) const @ 0x0000000017d6c1b1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1232: DB::Context::getAccess() const @ 0x00000000188e9b12 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Session.cpp:622: DB::Session::makeQueryContextImpl(DB::ClientInfo const*, DB::ClientInfo*) const @ 0x00000000197a7e95 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Session.cpp:600: DB::Session::makeQueryContext(DB::ClientInfo&&) const @ 0x00000000197a9ba3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveQuery() @ 0x000000001af12384 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000001af06363 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefd2ce in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:41.699956 [ 1140 ] {90b2e59a-39d4-451c-bcf5-9b58d248a85e} executeQuery: Code: 497. DB::Exception: user `kek_02243` is not allowed as grantee. (ACCESS_DENIED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54940) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO kek_02243), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkGranteeIsAllowed(StrongTypedef, DB::UUIDTag> const&, DB::IAccessEntity const&) const @ 0x0000000017da975e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ContextAccess::checkGranteesAreAllowed(std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>> const&) const @ 0x0000000017da9af4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aefe64 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:41.700979 [ 1140 ] {90b2e59a-39d4-451c-bcf5-9b58d248a85e} TCPHandler: Code: 497. DB::Exception: user `kek_02243` is not allowed as grantee. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkGranteeIsAllowed(StrongTypedef, DB::UUIDTag> const&, DB::IAccessEntity const&) const @ 0x0000000017da975e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ContextAccess::checkGranteesAreAllowed(std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>> const&) const @ 0x0000000017da9af4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aefe64 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:42.008983 [ 1140 ] {6883d432-347c-4fd2-b806-31800d2f43c2} executeQuery: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54960) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO test_user_02243 WITH GRANT OPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:0: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000017ec3c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec339c in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec3a3a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee1fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:42.010165 [ 1140 ] {6883d432-347c-4fd2-b806-31800d2f43c2} TCPHandler: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:0: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000017ec3c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec339c in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec3a3a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee1fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:42.359709 [ 1140 ] {} Access(user directories): from: ::1, user: test_user_02243: Authentication failed: Code: 192. DB::Exception: There is no user `test_user_02243` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e462f0 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:59:42.360712 [ 1140 ] {} ServerErrorHandler: Code: 516. DB::Exception: test_user_02243: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:59:42.751834 [ 1140 ] {943c6418-31f8-4fa2-8aa8-e85fbdf44c19} executeQuery: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54982) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO test_user_02243 WITH GRANT OPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:0: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000017ec3c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec339c in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec3a3a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee1fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:42.753028 [ 1140 ] {943c6418-31f8-4fa2-8aa8-e85fbdf44c19} TCPHandler: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:0: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000017ec3c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec339c in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec3a3a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee1fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:43.108321 [ 1140 ] {} Access(user directories): from: ::1, user: test_user_02243: Authentication failed: Code: 192. DB::Exception: There is no user `test_user_02243` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e462f0 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:59:43.109878 [ 1140 ] {} ServerErrorHandler: Code: 516. DB::Exception: test_user_02243: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:59:43.488102 [ 1140 ] {76259985-4d6d-4713-b807-e97c9b019e67} executeQuery: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55008) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO test_user_02243 WITH GRANT OPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:0: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000017ec3c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec339c in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec3a3a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee1fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:43.489235 [ 1140 ] {76259985-4d6d-4713-b807-e97c9b019e67} TCPHandler: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:0: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000017ec3c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec339c in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec3a3a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee1fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:43.841797 [ 47429 ] {} Access(user directories): from: ::1, user: test_user_02243: Authentication failed: Code: 192. DB::Exception: There is no user `test_user_02243` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e462f0 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:59:43.842800 [ 47429 ] {} ServerErrorHandler: Code: 516. DB::Exception: test_user_02243: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:59:44.536623 [ 47429 ] {} TCPHandler: Code: 492. DB::Exception: ID(ab48f5b0-0b99-e4ce-1ea7-e14e32390598) not found in user directories. (ACCESS_ENTITY_NOT_FOUND), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(StrongTypedef, DB::UUIDTag> const&) const @ 0x0000000017e48b4d in /usr/bin/clickhouse 4. ./build_docker/./src/Access/MultipleAccessStorage.cpp:0: DB::MultipleAccessStorage::readImpl(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000017e86797 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:225: std::shared_ptr DB::IAccessStorage::read(StrongTypedef, DB::UUIDTag> const&, bool) const @ 0x0000000017886cbb in /usr/bin/clickhouse 6. ./build_docker/./src/Access/ContextAccess.cpp:267: DB::ContextAccess::initialize() @ 0x0000000017da2e01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::ContextAccessCache::getContextAccess(DB::ContextAccessParams const&) @ 0x0000000017d6eef5 in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:723: DB::AccessControl::getContextAccess(DB::ContextAccessParams const&) const @ 0x0000000017d6c1b1 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Context.cpp:1232: DB::Context::getAccess() const @ 0x00000000188e9b12 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Session.cpp:622: DB::Session::makeQueryContextImpl(DB::ClientInfo const*, DB::ClientInfo*) const @ 0x00000000197a7e95 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Session.cpp:600: DB::Session::makeQueryContext(DB::ClientInfo&&) const @ 0x00000000197a9ba3 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveQuery() @ 0x000000001af12384 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receivePacket() @ 0x000000001af06363 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefd2ce in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:45.226260 [ 1140 ] {98d68cd2-7ec3-441b-83ae-0333d3587f53} executeQuery: Code: 497. DB::Exception: user `kek_02243` is not allowed as grantee. (ACCESS_DENIED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55090) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO kek_02243), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkGranteeIsAllowed(StrongTypedef, DB::UUIDTag> const&, DB::IAccessEntity const&) const @ 0x0000000017da975e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ContextAccess::checkGranteesAreAllowed(std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>> const&) const @ 0x0000000017da9af4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aefe64 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:45.227937 [ 1140 ] {98d68cd2-7ec3-441b-83ae-0333d3587f53} TCPHandler: Code: 497. DB::Exception: user `kek_02243` is not allowed as grantee. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: DB::ContextAccess::checkGranteeIsAllowed(StrongTypedef, DB::UUIDTag> const&, DB::IAccessEntity const&) const @ 0x0000000017da975e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ContextAccess::checkGranteesAreAllowed(std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>> const&) const @ 0x0000000017da9af4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aefe64 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:45.526944 [ 1140 ] {b085cbc2-cf91-49f1-93ee-288df1c11330} executeQuery: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55122) (comment: 02243_drop_user_grant_race.sh) (in query: GRANT ALL ON *.* TO test_user_02243 WITH GRANT OPTION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:0: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000017ec3c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec339c in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec3a3a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee1fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:45.528380 [ 1140 ] {b085cbc2-cf91-49f1-93ee-288df1c11330} TCPHandler: Code: 511. DB::Exception: There is no role `test_user_02243` in user directories. (UNKNOWN_ROLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.h:0: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&)::$_0::operator()(String const&) const @ 0x0000000017ec3c62 in /usr/bin/clickhouse 6. ./build_docker/./src/Access/RolesOrUsersSet.cpp:98: DB::RolesOrUsersSet::init(DB::ASTRolesOrUsersSet const&, DB::AccessControl const*, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec339c in /usr/bin/clickhouse 7. ./build_docker/./src/Access/RolesOrUsersSet.cpp:65: DB::RolesOrUsersSet::RolesOrUsersSet(DB::ASTRolesOrUsersSet const&, DB::AccessControl const&, std::optional, DB::UUIDTag>> const&) @ 0x0000000017ec3a3a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterGrantQuery.cpp:0: DB::InterpreterGrantQuery::execute() @ 0x0000000019aee1fe in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:45.890495 [ 47429 ] {} Access(user directories): from: ::1, user: test_user_02243: Authentication failed: Code: 192. DB::Exception: There is no user `test_user_02243` in local_directory. (UNKNOWN_USER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e462f0 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/IAccessStorage.cpp:510: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e460ff in /usr/bin/clickhouse 6. ./build_docker/./src/Access/MultipleAccessStorage.cpp:429: DB::MultipleAccessStorage::authenticateImpl(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool, bool) const @ 0x0000000017e87c01 in /usr/bin/clickhouse 7. ./build_docker/./src/Access/IAccessStorage.cpp:498: DB::IAccessStorage::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&, DB::ExternalAuthenticators const&, bool, bool) const @ 0x0000000017e4605c in /usr/bin/clickhouse 8. ./build_docker/./src/Access/AccessControl.cpp:567: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6b66d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 10. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:59:45.967638 [ 47429 ] {} ServerErrorHandler: Code: 516. DB::Exception: test_user_02243: Authentication failed: password is incorrect, or there is no user with such name. (AUTHENTICATION_FAILED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Access/AccessControl.cpp:0: DB::AccessControl::authenticate(DB::Credentials const&, Poco::Net::IPAddress const&) const @ 0x0000000017d6ba01 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Session.cpp:353: DB::Session::authenticate(DB::Credentials const&, Poco::Net::SocketAddress const&) @ 0x00000000197a47f8 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/Credentials.h:51: DB::Session::authenticate(String const&, String const&, Poco::Net::SocketAddress const&) @ 0x00000000197a4122 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::receiveHello() @ 0x000000001af0497a in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefcce8 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 14:59:46.458963 [ 1140 ] {cea5c4fc-1fd4-4306-9626-3e4b1230e4b7} executeQuery: Code: 497. DB::Exception: kek_02243: Not enough privileges. To execute this query, it's necessary to have the grant SELECT(n) ON test_yoe9oxk2.test. (ACCESS_DENIED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55154) (comment: 02243_drop_user_grant_race.sh) (in query: SELECT * FROM test), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017dde7a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:557: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const @ 0x0000000017ddd8e0 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:700: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>, std::vector> const&) const @ 0x0000000017da8880 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessFlags const&, DB::StorageID const&, std::vector> const&) const @ 0x00000000188eb2b9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019534fa8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:46.460984 [ 1140 ] {cea5c4fc-1fd4-4306-9626-3e4b1230e4b7} TCPHandler: Code: 497. DB::Exception: kek_02243: Not enough privileges. To execute this query, it's necessary to have the grant SELECT(n) ON test_yoe9oxk2.test. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017dde7a4 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:557: bool DB::ContextAccess::checkAccessImplHelper>, std::basic_string_view>, std::vector>>(DB::AccessFlags, std::basic_string_view> const&, std::basic_string_view> const&, std::vector> const&) const @ 0x0000000017ddd8e0 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:700: DB::ContextAccess::checkAccess(DB::AccessFlags const&, std::basic_string_view>, std::basic_string_view>, std::vector> const&) const @ 0x0000000017da8880 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessFlags const&, DB::StorageID const&, std::vector> const&) const @ 0x00000000188eb2b9 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019534fa8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:53.756006 [ 1140 ] {c49f12ea-90f1-4942-b26e-ae32bd2ad6d3} executeQuery: Code: 497. DB::Exception: user_test_02184: Not enough privileges. To execute this query, it's necessary to have the grant URL ON *.*. (ACCESS_DENIED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44802) (comment: 02184_table_engine_access.sh) (in query: CREATE TABLE t AS url), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017dd28c1 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:557: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000017dd1a55 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:695: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x0000000017da83d2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x00000000188ea5ec in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929bf41 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 14:59:53.757329 [ 1140 ] {c49f12ea-90f1-4942-b26e-ae32bd2ad6d3} TCPHandler: Code: 497. DB::Exception: user_test_02184: Not enough privileges. To execute this query, it's necessary to have the grant URL ON *.*. (ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Access/ContextAccess.cpp:0: auto bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const::'lambda'(int, FormatStringHelperImpl::type...>, $T&&...)::operator()(int, FormatStringHelperImpl::type...>, $T&&...) const @ 0x0000000017dd28c1 in /usr/bin/clickhouse 4. ./build_docker/./src/Access/ContextAccess.cpp:557: bool DB::ContextAccess::checkAccessImplHelper(DB::AccessFlags) const @ 0x0000000017dd1a55 in /usr/bin/clickhouse 5. ./build_docker/./src/Access/ContextAccess.cpp:695: DB::ContextAccess::checkAccess(DB::AccessFlags const&) const @ 0x0000000017da83d2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::checkAccess(DB::AccessFlags const&) const @ 0x00000000188ea5ec in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:173: DB::InterpreterCreateQuery::getTablePropertiesAndNormalizeCreateQuery(DB::ASTCreateQuery&) const @ 0x000000001929bf41 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5910 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:22.325080 [ 1140 ] {0f6d93ac-446b-4f91-80d0-cf913dc38f35} executeQuery: Code: 609. DB::Exception: User-defined function '02102_test_function' already exists. (FUNCTION_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51724) (comment: 02102_sql_user_defined_functions_create_if_not_exists.sql) (in query: CREATE FUNCTION 02102_test_function AS x -> x + 1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001b651816 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateFunctionQuery.cpp:0: DB::InterpreterCreateFunctionQuery::execute() @ 0x00000000194f7e49 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:22.326035 [ 1140 ] {0f6d93ac-446b-4f91-80d0-cf913dc38f35} TCPHandler: Code: 609. DB::Exception: User-defined function '02102_test_function' already exists. (FUNCTION_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Functions/UserDefined/UserDefinedSQLFunctionFactory.cpp:136: DB::UserDefinedSQLFunctionFactory::registerFunction(std::shared_ptr const&, String const&, std::shared_ptr, bool, bool) @ 0x000000001b651816 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateFunctionQuery.cpp:0: DB::InterpreterCreateFunctionQuery::execute() @ 0x00000000194f7e49 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:23.404811 [ 1140 ] {407be98b-3353-4150-8aab-117df547ef50} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('.'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51738) (comment: 02024_merge_regexp_assert.sql) (in query: SELECT a FROM merge(REGEXP('.'), '^t$');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:23.405430 [ 1140 ] {407be98b-3353-4150-8aab-117df547ef50} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('.'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:23.413563 [ 1140 ] {3894addf-57de-4150-be29-98ab004cda65} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('\0'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51738) (comment: 02024_merge_regexp_assert.sql) (in query: SELECT a FROM merge(REGEXP('\0'), '^t$');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:23.414231 [ 1140 ] {3894addf-57de-4150-be29-98ab004cda65} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('\0'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:23.421945 [ 1140 ] {5229eb3d-eeeb-423f-a4fa-e6453257809c} executeQuery: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('\0a'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51738) (comment: 02024_merge_regexp_assert.sql) (in query: SELECT a FROM merge(REGEXP('\0a'), '^t$');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:23.422549 [ 1140 ] {5229eb3d-eeeb-423f-a4fa-e6453257809c} TCPHandler: Code: 47. DB::Exception: Missing columns: 'a' while processing query: 'SELECT a FROM merge(REGEXP('\0a'), '^t$')', required columns: 'a', maybe you meant: 'b'. (UNKNOWN_IDENTIFIER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriterResult::collectUsedColumns(std::shared_ptr const&, bool, bool) @ 0x0000000019972c46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/TreeRewriter.cpp:0: DB::TreeRewriter::analyzeSelect(std::shared_ptr&, DB::TreeRewriterResult&&, DB::SelectQueryOptions const&, std::vector> const&, std::vector> const&, std::shared_ptr) const @ 0x0000000019976b62 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:608: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x00000000195383cc in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:23.532756 [ 1140 ] {f68b6bcf-4ca0-4c87-9fbf-296508a55b52} executeQuery: Code: 36. DB::Exception: Error while executing table function merge. Either there is no database, which matches regular expression `a`, or there are no tables in database matches `a`, which fit tables expression: ^$. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51738) (comment: 02024_merge_regexp_assert.sql) (in query: SELECT a FROM merge(REGEXP('\0a'), '^$');), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&) @ 0x00000000177189ed in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionMerge.cpp:31: DB::(anonymous namespace)::throwNoTablesMatchRegexp(String const&, String const&) @ 0x0000000017716be2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.h:204: DB::TableFunctionMerge::getActualTableStructure(std::shared_ptr, bool) const @ 0x00000000177170d1 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/TableFunctionMerge.cpp:0: DB::TableFunctionMerge::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000177175d7 in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:23.533690 [ 1140 ] {f68b6bcf-4ca0-4c87-9fbf-296508a55b52} TCPHandler: Code: 36. DB::Exception: Error while executing table function merge. Either there is no database, which matches regular expression `a`, or there are no tables in database matches `a`, which fit tables expression: ^$. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String const&, String const&, String const&) @ 0x00000000177189ed in /usr/bin/clickhouse 3. ./build_docker/./src/TableFunctions/TableFunctionMerge.cpp:31: DB::(anonymous namespace)::throwNoTablesMatchRegexp(String const&, String const&) @ 0x0000000017716be2 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/IStorage.h:204: DB::TableFunctionMerge::getActualTableStructure(std::shared_ptr, bool) const @ 0x00000000177170d1 in /usr/bin/clickhouse 5. ./build_docker/./src/TableFunctions/TableFunctionMerge.cpp:0: DB::TableFunctionMerge::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x00000000177175d7 in /usr/bin/clickhouse 6. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 17. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 18. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 22. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 23. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:25.569586 [ 1140 ] {993a963b-42b7-4f4f-8399-b70ac7aa1b97} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51764) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:25.570315 [ 1140 ] {993a963b-42b7-4f4f-8399-b70ac7aa1b97} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:33.702963 [ 1140 ] {772b5954-0245-4e23-bd3f-3200f835c972} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50470) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:33.703830 [ 1140 ] {772b5954-0245-4e23-bd3f-3200f835c972} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:35.563530 [ 3785 ] {85963982-52ba-4282-8829-113fc12892cd} ExternalDictionariesLoader: Could not load external dictionary '5087662b-5910-47ed-b385-53793f12d4cd', next update is scheduled at 2024-05-01 15:00:41: Code: 1. DB::Exception: test_4tcpw0sx.ip_trie_dictionary (5087662b-5910-47ed-b385-53793f12d4cd): array or nullable attributes not supported for dictionary of type Trie. (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:0: DB::IPAddressDictionary::createAttributes()::$_0::operator()(std::vector> const&) const @ 0x000000001427b8c2 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:360: DB::IPAddressDictionary::IPAddressDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::ExternalLoadableLifetime, bool) @ 0x00000000142751ae in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000001429e8ba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:00:35.566015 [ 1140 ] {85963982-52ba-4282-8829-113fc12892cd} executeQuery: Code: 1. DB::Exception: test_4tcpw0sx.ip_trie_dictionary (5087662b-5910-47ed-b385-53793f12d4cd): array or nullable attributes not supported for dictionary of type Trie: While processing dictGet('ip_trie_dictionary', 'value', tuple(IPv4StringToNum('127.0.0.0'))). (UNSUPPORTED_METHOD) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50478) (comment: 01904_dictionary_default_nullable_type.sql) (in query: SELECT dictGet('ip_trie_dictionary', 'value', tuple(IPv4StringToNum('127.0.0.0')));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:0: DB::IPAddressDictionary::createAttributes()::$_0::operator()(std::vector> const&) const @ 0x000000001427b8c2 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:360: DB::IPAddressDictionary::IPAddressDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::ExternalLoadableLifetime, bool) @ 0x00000000142751ae in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000001429e8ba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:35.566784 [ 1140 ] {85963982-52ba-4282-8829-113fc12892cd} TCPHandler: Code: 1. DB::Exception: test_4tcpw0sx.ip_trie_dictionary (5087662b-5910-47ed-b385-53793f12d4cd): array or nullable attributes not supported for dictionary of type Trie: While processing dictGet('ip_trie_dictionary', 'value', tuple(IPv4StringToNum('127.0.0.0'))). (UNSUPPORTED_METHOD), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:0: DB::IPAddressDictionary::createAttributes()::$_0::operator()(std::vector> const&) const @ 0x000000001427b8c2 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/IPAddressDictionary.cpp:360: DB::IPAddressDictionary::IPAddressDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::ExternalLoadableLifetime, bool) @ 0x00000000142751ae in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000001429e8ba in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:37.499174 [ 1140 ] {4033c7b4-421e-464d-aeeb-4c92fc8d255c} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50492) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:37.500001 [ 1140 ] {4033c7b4-421e-464d-aeeb-4c92fc8d255c} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:38.499152 [ 1140 ] {09e216a3-14a5-4e3f-a470-d6621b50cbc7} executeQuery: Code: 489. DB::Exception: MIN first attribute is not defined in the dictionary attributes. (INCORRECT_DICTIONARY_DEFINITION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50512) (comment: 01854_dictionary_range_hashed_min_max_attr.sql) (in query: CREATE DICTIONARY dict_01864 ( `id` UInt64, `value` String ) PRIMARY KEY id SOURCE(CLICKHOUSE(HOST 'localhost' PORT tcpPort() TABLE 'does_not_exists')) LIFETIME(MIN 0 MAX 1000) LAYOUT(RANGE_HASHED()) RANGE(MIN first MAX last) -- { serverError 489 } ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/getDictionaryConfigurationFromAST.cpp:0: DB::getDictionaryConfigurationFromAST(DB::ASTCreateQuery const&, std::shared_ptr, String const&) @ 0x0000000017a4f8f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDictionary.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a0e7bf7 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:38.499961 [ 1140 ] {09e216a3-14a5-4e3f-a470-d6621b50cbc7} TCPHandler: Code: 489. DB::Exception: MIN first attribute is not defined in the dictionary attributes. (INCORRECT_DICTIONARY_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/getDictionaryConfigurationFromAST.cpp:0: DB::getDictionaryConfigurationFromAST(DB::ASTCreateQuery const&, std::shared_ptr, String const&) @ 0x0000000017a4f8f3 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageDictionary.cpp:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x000000001a0e7bf7 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:44.267136 [ 1140 ] {ba021e29-5baf-4955-8ffa-4a7968bd541f} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51846) (comment: 01825_type_json_multiple_files.sh) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:44.268299 [ 1140 ] {ba021e29-5baf-4955-8ffa-4a7968bd541f} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:53.731726 [ 3346 ] {608f7f02-9939-4a73-92d7-ab23be4b738b} ExternalDictionariesLoader: Could not load external dictionary '49a2f3b7-1c25-48a8-a0c9-211b22747850', next update is scheduled at 2024-05-01 15:00:58: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0x0000000007c86226 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:298: DB::registerDictionarySourceClickHouse(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x00000000141e404d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x00000000141e0a7b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x0000000017a3f20c in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3a829 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:00:53.733535 [ 1140 ] {608f7f02-9939-4a73-92d7-ab23be4b738b} executeQuery: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55956) (comment: 01780_clickhouse_dictionary_source_loop.sql) (in query: SELECT * FROM dict1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0x0000000007c86226 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:298: DB::registerDictionarySourceClickHouse(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x00000000141e404d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x00000000141e0a7b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x0000000017a3f20c in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3a829 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:53.734514 [ 1140 ] {608f7f02-9939-4a73-92d7-ab23be4b738b} TCPHandler: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0x0000000007c86226 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:298: DB::registerDictionarySourceClickHouse(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x00000000141e404d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x00000000141e0a7b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x0000000017a3f20c in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3a829 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:53.762128 [ 45649 ] {33253901-3bc6-4acd-a745-dc4bf5db041c} ExternalDictionariesLoader: Could not load external dictionary '44dbf998-2801-4a80-8ff8-14b68a085e0c', next update is scheduled at 2024-05-01 15:00:59: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0x0000000007c86226 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:298: DB::registerDictionarySourceClickHouse(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x00000000141e404d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x00000000141e0a7b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x0000000017a3f20c in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3a829 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:00:53.763331 [ 1140 ] {33253901-3bc6-4acd-a745-dc4bf5db041c} executeQuery: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55956) (comment: 01780_clickhouse_dictionary_source_loop.sql) (in query: SELECT * FROM 01780_db.dict2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0x0000000007c86226 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:298: DB::registerDictionarySourceClickHouse(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x00000000141e404d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x00000000141e0a7b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x0000000017a3f20c in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3a829 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:53.764186 [ 1140 ] {33253901-3bc6-4acd-a745-dc4bf5db041c} TCPHandler: Code: 36. DB::Exception: ClickHouseDictionarySource table cannot be dictionary table. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [60]) @ 0x0000000007c86226 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:298: DB::registerDictionarySourceClickHouse(DB::DictionarySourceFactory&)::$_0::operator()(DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool) const @ 0x00000000141e404d in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>::__call_impl (DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr, String const&, bool)>>(std::__function::__policy_storage const*, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, DB::Block&, std::shared_ptr&&, String const&, bool) @ 0x00000000141e0a7b in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionarySourceFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, DB::DictionaryStructure const&, std::shared_ptr, String const&, bool) const @ 0x0000000017a3f20c in /usr/bin/clickhouse 6. ./build_docker/./src/Dictionaries/DictionaryFactory.cpp:47: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3a829 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 13. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:00:57.224928 [ 1140 ] {8fc69b28-7d37-4578-8fea-5a6179085fe4} executeQuery: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (nan, inf) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55988) (comment: 01760_polygon_dictionaries.sql) (in query: SELECT tuple(nan, inf) as key, dictGet('01760_db.dict_array', 'name', key);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000000f348da6 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x00000000148f2e34 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x00000000148f2699 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x00000000084e7b4e in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084e43fe in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 15:00:57.225810 [ 1140 ] {8fc69b28-7d37-4578-8fea-5a6179085fe4} TCPHandler: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (nan, inf) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000000f348da6 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x00000000148f2e34 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x00000000148f2699 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x00000000084e7b4e in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084e43fe in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 15:00:57.233854 [ 1140 ] {73a3d588-9390-4b8d-9c1d-b258b1be5306} executeQuery: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (nan, nan) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55988) (comment: 01760_polygon_dictionaries.sql) (in query: SELECT tuple(nan, nan) as key, dictGet('01760_db.dict_array', 'name', key);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000000f348da6 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x00000000148f2e34 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x00000000148f2699 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x00000000084e7b4e in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084e43fe in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 15:00:57.234492 [ 1140 ] {73a3d588-9390-4b8d-9c1d-b258b1be5306} TCPHandler: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (nan, nan) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000000f348da6 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x00000000148f2e34 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x00000000148f2699 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x00000000084e7b4e in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084e43fe in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 15:00:57.240706 [ 1140 ] {95cabd48-84ad-439e-be96-ecf6fc589bf1} executeQuery: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (inf, nan) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55988) (comment: 01760_polygon_dictionaries.sql) (in query: SELECT tuple(inf, nan) as key, dictGet('01760_db.dict_array', 'name', key);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000000f348da6 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x00000000148f2e34 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x00000000148f2699 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x00000000084e7b4e in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084e43fe in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 15:00:57.241322 [ 1140 ] {95cabd48-84ad-439e-be96-ecf6fc589bf1} TCPHandler: Code: 36. DB::Exception: PolygonDictionary input point component must not be NaN: While processing (inf, nan) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [56]) @ 0x000000000f348da6 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x00000000148f2e34 in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x00000000148f2699 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x00000000084e7b4e in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084e43fe in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 15:00:57.376056 [ 1140 ] {3bc34d06-0a99-408d-8cd1-80ac5eb0dd60} executeQuery: Code: 36. DB::Exception: PolygonDictionary input point component must not be infinite: While processing (inf, inf) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55988) (comment: 01760_polygon_dictionaries.sql) (in query: SELECT tuple(inf, inf) as key, dictGet('01760_db.dict_array', 'name', key);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [61]) @ 0x00000000084ea866 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x00000000148f2e5b in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x00000000148f2699 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x00000000084e7b4e in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084e43fe in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 15:00:57.377038 [ 1140 ] {3bc34d06-0a99-408d-8cd1-80ac5eb0dd60} TCPHandler: Code: 36. DB::Exception: PolygonDictionary input point component must not be infinite: While processing (inf, inf) AS key, dictGet('01760_db.dict_array', 'name', key). (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [61]) @ 0x00000000084ea866 in /usr/bin/clickhouse 3. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:0: DB::IPolygonDictionary::extractPoints(std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) @ 0x00000000148f2e5b in /usr/bin/clickhouse 4. ./build_docker/./src/Dictionaries/PolygonDictionary.cpp:79: DB::IPolygonDictionary::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x00000000148f2699 in /usr/bin/clickhouse 5. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x00000000084e7b4e in /usr/bin/clickhouse 6. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084e43fe in /usr/bin/clickhouse 7. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 12. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 31. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 2024.05.01 15:01:00.509455 [ 1140 ] {341acd83-07d2-4852-8a12-9b0b6a55bfc6} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40824) (in query: select _path,_file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:00.510112 [ 1140 ] {341acd83-07d2-4852-8a12-9b0b6a55bfc6} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:05.237381 [ 1140 ] {821f13c6-9a31-4930-8a89-9fed26bd02a5} executeQuery: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40848) (in query: select _path, _file from file('nonexist.txt', 'CSV', 'val1 char')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:05.237984 [ 1140 ] {821f13c6-9a31-4930-8a89-9fed26bd02a5} TCPHandler: Code: 107. DB::Exception: File /var/lib/clickhouse/user_files/nonexist.txt doesn't exist. (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageFile.cpp:1434: DB::StorageFile::read(std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a1397c1 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::IStorage::read(DB::QueryPlan&, std::vector> const&, std::shared_ptr const&, DB::SelectQueryInfo&, std::shared_ptr, DB::QueryProcessingStage::Enum, unsigned long, unsigned long) @ 0x000000001a07bdd1 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeFetchColumns(DB::QueryProcessingStage::Enum, DB::QueryPlan&) @ 0x0000000019549418 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::executeImpl(DB::QueryPlan&, std::optional) @ 0x0000000019540e31 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::buildQueryPlan(DB::QueryPlan&) @ 0x000000001953f04e in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::buildQueryPlan(DB::QueryPlan&) @ 0x0000000019609945 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:0: DB::InterpreterSelectWithUnionQuery::execute() @ 0x000000001960a81a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:08.384777 [ 1140 ] {871317a9-fe88-4641-b5a8-71ddecf45c4b} executeQuery: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexist.txt, errno: 2, strerror: No such file or directory: While processing file('nonexist.txt'), file('b.txt'). (FILE_DOESNT_EXIST) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40926) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('nonexist.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000000f9d05a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000000f9cb588 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000000fa51b79 in /usr/bin/clickhouse 5. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008267f85 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 15:01:08.386135 [ 1140 ] {871317a9-fe88-4641-b5a8-71ddecf45c4b} TCPHandler: Code: 107. DB::ErrnoException: Cannot open file /var/lib/clickhouse/user_files/nonexist.txt, errno: 2, strerror: No such file or directory: While processing file('nonexist.txt'), file('b.txt'). (FILE_DOESNT_EXIST), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000000f9d05a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000000f9cb588 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFile.cpp:0: DB::ReadBufferFromFile::ReadBufferFromFile(String const&, unsigned long, int, char*, unsigned long, std::optional, std::shared_ptr) @ 0x000000000fa51b79 in /usr/bin/clickhouse 5. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008267f85 in /usr/bin/clickhouse 6. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 7. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 15. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 2024.05.01 15:01:08.945156 [ 1140 ] {306cf0d7-707f-45cc-99af-2b98dcae27bb} executeQuery: Code: 74. DB::ErrnoException: Cannot read from file: /var/lib/clickhouse/user_files/dir, errno: 21, strerror: Is a directory: While processing file('dir'), file('b.txt'). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40938) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('dir'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000000f9d05a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000000f9cb588 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFileDescriptor.cpp:0: DB::ReadBufferFromFileDescriptor::readImpl(char*, unsigned long, unsigned long, unsigned long) @ 0x000000000fa542a7 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/ReadBufferFromFileDescriptor.cpp:0: DB::ReadBufferFromFileDescriptor::nextImpl() @ 0x000000000fa54423 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/ReadBuffer.h:72: DB::(anonymous namespace)::copyDataImpl(DB::ReadBuffer&, DB::WriteBuffer&, bool, unsigned long, std::atomic const*, std::shared_ptr) @ 0x000000000fa84aa8 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/copyData.cpp:68: DB::copyData(DB::ReadBuffer&, DB::WriteBuffer&) @ 0x000000000fa849a9 in /usr/bin/clickhouse 8. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000826808a in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 15:01:08.946670 [ 1140 ] {306cf0d7-707f-45cc-99af-2b98dcae27bb} TCPHandler: Code: 74. DB::ErrnoException: Cannot read from file: /var/lib/clickhouse/user_files/dir, errno: 21, strerror: Is a directory: While processing file('dir'), file('b.txt'). (CANNOT_READ_FROM_FILE_DESCRIPTOR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ErrnoException::ErrnoException(String const&, int, int, std::optional const&) @ 0x000000000f9d05a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/Exception.cpp:0: DB::throwFromErrnoWithPath(String const&, String const&, int, int) @ 0x000000000f9cb588 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBufferFromFileDescriptor.cpp:0: DB::ReadBufferFromFileDescriptor::readImpl(char*, unsigned long, unsigned long, unsigned long) @ 0x000000000fa542a7 in /usr/bin/clickhouse 5. ./build_docker/./src/IO/ReadBufferFromFileDescriptor.cpp:0: DB::ReadBufferFromFileDescriptor::nextImpl() @ 0x000000000fa54423 in /usr/bin/clickhouse 6. ./build_docker/./src/IO/ReadBuffer.h:72: DB::(anonymous namespace)::copyDataImpl(DB::ReadBuffer&, DB::WriteBuffer&, bool, unsigned long, std::atomic const*, std::shared_ptr) @ 0x000000000fa84aa8 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/copyData.cpp:68: DB::copyData(DB::ReadBuffer&, DB::WriteBuffer&) @ 0x000000000fa849a9 in /usr/bin/clickhouse 8. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000826808a in /usr/bin/clickhouse 9. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 10. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 2024.05.01 15:01:09.524698 [ 1140 ] {c71a0fad-f38d-48d5-8f4c-37c9bbf0a303} executeQuery: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('/tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40948) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('/tmp/c.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008268330 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 15:01:09.526813 [ 1140 ] {c71a0fad-f38d-48d5-8f4c-37c9bbf0a303} TCPHandler: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('/tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008268330 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 15:01:09.941783 [ 1140 ] {444314a7-32b4-4938-b63e-6996a62ae38d} executeQuery: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('../../../../../../../../../../../../../../../../../../../tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40950) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('../../../../../../../../../../../../../../../../../../../tmp/c.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008268330 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 15:01:09.943257 [ 1140 ] {444314a7-32b4-4938-b63e-6996a62ae38d} TCPHandler: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('../../../../../../../../../../../../../../../../../../../tmp/c.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008268330 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 15:01:10.464129 [ 1140 ] {2518fe08-e3ef-4e6a-ad18-15534510b79a} executeQuery: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('../../../../a.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40964) (comment: 01658_read_file_to_stringcolumn.sh) (in query: select file('../../../../a.txt'), file('b.txt')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008268330 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 15:01:10.465812 [ 1140 ] {2518fe08-e3ef-4e6a-ad18-15534510b79a} TCPHandler: Code: 291. DB::Exception: File is not inside /var/lib/clickhouse/user_files: While processing file('../../../../a.txt'), file('b.txt'). (DATABASE_ACCESS_DENIED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::FunctionFile::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008268330 in /usr/bin/clickhouse 4. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 5. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/ActionsDAG.cpp:0: DB::ActionsDAG::addFunctionImpl(std::shared_ptr const&, std::vector>, std::vector>, String, std::shared_ptr, bool) @ 0x00000000187b6edf in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/ActionsDAG.cpp:199: DB::ActionsDAG::addFunction(std::shared_ptr const&, std::vector>, String) @ 0x00000000187b62f7 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:641: DB::ScopeStack::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018a9d7c7 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::Data::addFunction(std::shared_ptr const&, std::vector> const&, String) @ 0x0000000018aaee1e in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::ActionsMatcher::visit(DB::ASTFunction const&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa0a50 in /usr/bin/clickhouse 16. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:698: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e000 in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:0: DB::ActionsMatcher::visit(DB::ASTExpressionList&, std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018aa98f9 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ActionsVisitor.cpp:709: DB::ActionsMatcher::visit(std::shared_ptr const&, DB::ActionsMatcher::Data&) @ 0x0000000018a9e105 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:78: DB::InDepthNodeVisitor const>::doVisit(std::shared_ptr const&) @ 0x0000000018a9204d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InDepthNodeVisitor.h:0: DB::ExpressionAnalyzer::getRootActions(std::shared_ptr const&, bool, std::shared_ptr&, bool) @ 0x0000000018a6738d in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SelectQueryExpressionAnalyzer::appendSelect(DB::ExpressionActionsChain&, bool) @ 0x0000000018a76760 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7e30c in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 28. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 30. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 2024.05.01 15:01:15.197479 [ 1140 ] {e63f6fe1-0ad3-48ef-b84f-32377d2d384c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.01 MiB (attempt to allocate chunk of 2098176 bytes), maximum: 3.81 MiB.: while executing 'FUNCTION repeat('aa' :: 1, number :: 0) -> repeat('aa', number) String : 2'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35194) (comment: 01656_test_query_log_factories_info.sql) (in query: SELECT repeat('aa', number) FROM numbers(10e3) SETTINGS max_memory_usage=4e6, max_block_size=100 FORMAT Null;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x0000000007ca1bc8 in /usr/bin/clickhouse 8. DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e460f32 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:15.198700 [ 1140 ] {e63f6fe1-0ad3-48ef-b84f-32377d2d384c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.01 MiB (attempt to allocate chunk of 2098176 bytes), maximum: 3.81 MiB.: while executing 'FUNCTION repeat('aa' :: 1, number :: 0) -> repeat('aa', number) String : 2'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. void DB::PODArrayBase<1ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x0000000007ca1bc8 in /usr/bin/clickhouse 8. DB::(anonymous namespace)::FunctionRepeat::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e460f32 in /usr/bin/clickhouse 9. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 10. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 22. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 24. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 25. ? @ 0x00007f5975bcaac3 in ? 26. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:18.910050 [ 1140 ] {c3379aa8-1223-494e-aa71-8eb12803ad51} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: create table test1601_detach_permanently_atomic.test_name_reuse (number UInt64) engine=MergeTree order by tuple();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001863125e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x0000000018630eb0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192acc2c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:18.911032 [ 1140 ] {c3379aa8-1223-494e-aa71-8eb12803ad51} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001863125e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x0000000018630eb0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192acc2c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.010925 [ 1140 ] {b1c4e394-7c92-4948-b262-ec2ac18e2d5f} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.011964 [ 1140 ] {b1c4e394-7c92-4948-b262-ec2ac18e2d5f} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.018859 [ 1140 ] {885f8850-c8c9-4be5-87ea-247fd4a2c85e} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.019433 [ 1140 ] {885f8850-c8c9-4be5-87ea-247fd4a2c85e} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.032055 [ 1140 ] {e4c79b34-b296-4d37-a5f4-38ff8ef2d3db} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: drop table test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.032575 [ 1140 ] {e4c79b34-b296-4d37-a5f4-38ff8ef2d3db} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.129477 [ 1140 ] {17ea0e9f-0a8e-4ad4-b321-ba254821390b} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: RENAME TABLE test1601_detach_permanently_atomic.test_name_rename_attempt TO test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001863125e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186417b2 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.130353 [ 1140 ] {17ea0e9f-0a8e-4ad4-b321-ba254821390b} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001863125e in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:0: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186417b2 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.217659 [ 1140 ] {faee11c3-c67b-4f9e-8433-1391ba7c4bab} executeQuery: Code: 60. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` doesn't exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: EXCHANGE TABLES test1601_detach_permanently_atomic.test_name_rename_attempt AND test1601_detach_permanently_atomic.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000186abd2c in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:255: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018641902 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.218505 [ 1140 ] {faee11c3-c67b-4f9e-8433-1391ba7c4bab} TCPHandler: Code: 60. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000186abd2c in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:255: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018641902 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.247915 [ 1140 ] {276cffb9-ed54-43f6-a1de-9f4663dd2de6} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE test_name_reuse; to attach existing table or CREATE TABLE test_name_reuse ; to create new table or ATTACH TABLE test_name_reuse FROM '/path/to/data/'
; to create new table and attach data. 2024.05.01 15:01:19.337605 [ 1140 ] {276cffb9-ed54-43f6-a1de-9f4663dd2de6} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exist (detached or detached permanently). To attach it back you need to use short ATTACH syntax (ATTACH TABLE `test1601_detach_permanently_atomic`.`test_name_reuse`;). (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: ATTACH TABLE test1601_detach_permanently_atomic.test_name_reuse UUID '00000000-0000-0000-0000-000000000001' (`number` UInt64 ) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 8192 ;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x0000000007cbdf6a in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::createTable(std::shared_ptr, String const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001862d85c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae45c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.338715 [ 1140 ] {276cffb9-ed54-43f6-a1de-9f4663dd2de6} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_atomic`.`test_name_reuse` already exist (detached or detached permanently). To attach it back you need to use short ATTACH syntax (ATTACH TABLE `test1601_detach_permanently_atomic`.`test_name_reuse`;). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&, String&&) @ 0x0000000007cbdf6a in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::createTable(std::shared_ptr, String const&, std::shared_ptr const&, std::shared_ptr const&) @ 0x000000001862d85c in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae45c in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.402917 [ 1140 ] {93d20dea-3a50-4a87-b78f-90e71b6863d3} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.403407 [ 1140 ] {93d20dea-3a50-4a87-b78f-90e71b6863d3} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.503807 [ 1140 ] {c506addb-6f37-4b53-9e8f-a994d262457a} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_atomic.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.504351 [ 1140 ] {c506addb-6f37-4b53-9e8f-a994d262457a} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_atomic.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.628527 [ 1140 ] {3c70a56d-94cb-4beb-b637-3b0de8e622cf} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: create table test1601_detach_permanently_ordinary.test_name_reuse (number UInt64) engine=MergeTree order by tuple();), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001863125e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x0000000018630eb0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192acc2c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.629248 [ 1140 ] {3c70a56d-94cb-4beb-b637-3b0de8e622cf} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001863125e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x0000000018630eb0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192acc2c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.640909 [ 1140 ] {0cb82865-10e8-498b-acd7-1a02a2f33993} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.641424 [ 1140 ] {0cb82865-10e8-498b-acd7-1a02a2f33993} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.645349 [ 1140 ] {4bebdb77-f654-4db2-984b-7b28e22906c8} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.645937 [ 1140 ] {4bebdb77-f654-4db2-984b-7b28e22906c8} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.657661 [ 1140 ] {23117d59-0c36-4f8c-a8ea-e6f62880f4cb} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: drop table test1601_detach_permanently_ordinary.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.658365 [ 1140 ] {23117d59-0c36-4f8c-a8ea-e6f62880f4cb} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.758087 [ 1140 ] {ac5c5f91-bfe3-4b1e-b12e-2514f2c764e6} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: RENAME TABLE test1601_detach_permanently_ordinary.test_name_rename_attempt TO test1601_detach_permanently_ordinary.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001863125e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x0000000018630eb0 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:419: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018631cb2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.758834 [ 1140 ] {ac5c5f91-bfe3-4b1e-b12e-2514f2c764e6} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_ordinary`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001863125e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x0000000018630eb0 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:419: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018631cb2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.785041 [ 1140 ] {45181fca-4c34-4962-97ca-ec796d36a684} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE test_name_reuse; to attach existing table or CREATE TABLE test_name_reuse
; to create new table or ATTACH TABLE test_name_reuse FROM '/path/to/data/'
; to create new table and attach data. 2024.05.01 15:01:19.834658 [ 1140 ] {78614b1b-1986-4cd1-8bd1-ae94e853f27d} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.835216 [ 1140 ] {78614b1b-1986-4cd1-8bd1-ae94e853f27d} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.907515 [ 1140 ] {58f6be07-1894-4a1b-ad72-d105519f9b71} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_ordinary.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:19.908152 [ 1140 ] {58f6be07-1894-4a1b-ad72-d105519f9b71} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_ordinary.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.067911 [ 1140 ] {5a37462d-6231-4169-b78e-6a3f16421ea4} executeQuery: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_ordinary/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DROP DATABASE test1601_detach_permanently_ordinary;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000d40db0d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:538: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x000000001863528b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x00000000189c1ed0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:396: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x00000000193929bf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000001938ecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:74: DB::InterpreterDropQuery::execute() @ 0x000000001938e354 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.068676 [ 1140 ] {5a37462d-6231-4169-b78e-6a3f16421ea4} TCPHandler: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_ordinary/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000d40db0d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:538: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x000000001863528b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x00000000189c1ed0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:396: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x00000000193929bf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000001938ecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:74: DB::InterpreterDropQuery::execute() @ 0x000000001938e354 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.162707 [ 1140 ] {d71469b7-4a9b-4965-9715-07831859e2a5} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: create table test1601_detach_permanently_lazy.test_name_reuse (number UInt64) engine=Log;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001863125e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x0000000018630eb0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192acc2c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.163236 [ 1140 ] {d71469b7-4a9b-4965-9715-07831859e2a5} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001863125e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x0000000018630eb0 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192acc2c in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.173684 [ 1140 ] {223d3f31-8504-4a68-9e92-c8a153f9350c} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.174239 [ 1140 ] {223d3f31-8504-4a68-9e92-c8a153f9350c} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.177342 [ 1140 ] {bcee211f-4b10-4ebd-a0cd-041c0ad4617a} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.177858 [ 1140 ] {bcee211f-4b10-4ebd-a0cd-041c0ad4617a} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.187843 [ 1140 ] {9a7fa227-7b34-4d9e-a0a9-3ba05b221af4} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: drop table test1601_detach_permanently_lazy.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.188349 [ 1140 ] {9a7fa227-7b34-4d9e-a0a9-3ba05b221af4} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.285441 [ 1140 ] {58578b2e-119a-4c75-9d54-bc772f4eb66a} executeQuery: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: RENAME TABLE test1601_detach_permanently_lazy.test_name_rename_attempt TO test1601_detach_permanently_lazy.test_name_reuse;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001863125e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x0000000018630eb0 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:419: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018631cb2 in /usr/bin/clickhouse 6. ./build_docker/./src/Databases/DatabaseLazy.cpp:94: DB::DatabaseLazy::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000019354d19 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.286394 [ 1140 ] {58578b2e-119a-4c75-9d54-bc772f4eb66a} TCPHandler: Code: 57. DB::Exception: Table `test1601_detach_permanently_lazy`.`test_name_reuse` already exists (detached permanently). (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:0: DB::DatabaseOnDisk::checkMetadataFilenameAvailabilityUnlocked(String const&) const @ 0x000000001863125e in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__mutex_base:100: DB::DatabaseOnDisk::checkMetadataFilenameAvailability(String const&) const @ 0x0000000018630eb0 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:419: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018631cb2 in /usr/bin/clickhouse 6. ./build_docker/./src/Databases/DatabaseLazy.cpp:94: DB::DatabaseLazy::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000019354d19 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.312510 [ 1140 ] {07b468b7-2a01-4a8e-814f-f8d56191b8bb} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE test_name_reuse; to attach existing table or CREATE TABLE test_name_reuse
; to create new table or ATTACH TABLE test_name_reuse FROM '/path/to/data/'
; to create new table and attach data. 2024.05.01 15:01:20.345589 [ 1140 ] {37b473f8-8ad3-485f-886f-3c95112c9161} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.346117 [ 1140 ] {37b473f8-8ad3-485f-886f-3c95112c9161} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.397282 [ 1140 ] {941b8ae3-5f99-46f4-88b9-8c158cd41007} executeQuery: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DETACH table test1601_detach_permanently_lazy.test_name_reuse PERMANENTLY;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.397829 [ 1140 ] {941b8ae3-5f99-46f4-88b9-8c158cd41007} TCPHandler: Code: 60. DB::Exception: Table test1601_detach_permanently_lazy.test_name_reuse does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:941: DB::DatabaseCatalog::getDatabaseAndTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c6224 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x000000001938f53e in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.428901 [ 1140 ] {131fdbb7-4e75-42e1-8b85-cc3c1f509011} executeQuery: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_lazy/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35210) (comment: 01601_detach_permanently.sql) (in query: DROP DATABASE test1601_detach_permanently_lazy;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000d40db0d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:538: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x000000001863528b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x00000000189c1ed0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:396: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x00000000193929bf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000001938ecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:74: DB::InterpreterDropQuery::execute() @ 0x000000001938e354 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:20.429396 [ 1140 ] {131fdbb7-4e75-42e1-8b85-cc3c1f509011} TCPHandler: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/test1601_detach_permanently_lazy/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting. (DATABASE_NOT_EMPTY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, char const*&&) @ 0x000000000d40db0d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:538: DB::DatabaseOnDisk::drop(std::shared_ptr) @ 0x000000001863528b in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::detachDatabase(std::shared_ptr, String const&, bool, bool) @ 0x00000000189c1ed0 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:396: DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr&, std::vector, DB::UUIDTag>, std::allocator, DB::UUIDTag>>>&) @ 0x00000000193929bf in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x000000001938ecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:74: DB::InterpreterDropQuery::execute() @ 0x000000001938e354 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:23.870682 [ 1140 ] {01600_log_queries_with_extensive_info_004_err} executeQuery: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to Int32: while executing 'FUNCTION greater(i : 0, '' : 1) -> greater(i, '') UInt8 : 2'. (ATTEMPT_TO_READ_AFTER_EOF) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41116) (comment: 01600_log_queries_with_extensive_info.sh) (in query: select k from test_log_queries.logtable where i > ''), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [26]) @ 0x0000000007fbb7e6 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x000000000fa7b595 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:73: void DB::readIntTextUnsafe(long&, DB::ReadBuffer&) @ 0x00000000185d6c0b in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:433: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x00000000185d6758 in /usr/bin/clickhouse 6. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000007c87304 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a17809 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 9. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a595c1d in /usr/bin/clickhouse 10. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a57d452 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7b847 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 15:01:23.872359 [ 1140 ] {01600_log_queries_with_extensive_info_004_err} TCPHandler: Code: 32. DB::Exception: Attempt to read after eof: while converting '' to Int32: while executing 'FUNCTION greater(i : 0, '' : 1) -> greater(i, '') UInt8 : 2'. (ATTEMPT_TO_READ_AFTER_EOF), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [26]) @ 0x0000000007fbb7e6 in /usr/bin/clickhouse 3. ./build_docker/./src/IO/VarInt.cpp:13: DB::throwReadAfterEOF() @ 0x000000000fa7b595 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:73: void DB::readIntTextUnsafe(long&, DB::ReadBuffer&) @ 0x00000000185d6c0b in /usr/bin/clickhouse 5. ./build_docker/./src/Common/PODArray.h:433: DB::SerializationNumber::deserializeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&, bool) const @ 0x00000000185d6758 in /usr/bin/clickhouse 6. DB::SimpleTextSerialization::deserializeWholeText(DB::IColumn&, DB::ReadBuffer&, DB::FormatSettings const&) const @ 0x0000000007c87304 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::(anonymous namespace)::convertFieldToTypeImpl(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a17809 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/convertFieldToType.cpp:0: DB::convertFieldToType(DB::Field const&, DB::IDataType const&, DB::IDataType const*) @ 0x0000000019a14fad in /usr/bin/clickhouse 9. DB::FunctionComparison::executeWithConstString(std::shared_ptr const&, DB::IColumn const*, DB::IColumn const*, std::shared_ptr const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a595c1d in /usr/bin/clickhouse 10. DB::FunctionComparison::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000a57d452 in /usr/bin/clickhouse 11. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 12. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 13. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 14. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExpressionAnalyzer.cpp:0: DB::ExpressionAnalysisResult::ExpressionAnalysisResult(DB::SelectQueryExpressionAnalyzer&, std::shared_ptr const&, bool, bool, bool, std::shared_ptr const&, std::shared_ptr const&, DB::Block const&) @ 0x0000000018a7b847 in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:946: DB::InterpreterSelectQuery::getSampleBlockImpl() @ 0x0000000019543827 in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:769: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr)::$_0::operator()(bool) const @ 0x000000001953ac3d in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:0: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x00000000195335ae in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 28. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 29. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 30. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 31. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 2024.05.01 15:01:36.343585 [ 932 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 48 (trying to mutate part 48_0_0_0 to 1) 2024.05.01 15:01:36.443718 [ 939 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 47 (trying to mutate part 47_0_0_0 to 1) 2024.05.01 15:01:36.444045 [ 931 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 45 (trying to mutate part 45_0_0_0 to 1) 2024.05.01 15:01:36.631379 [ 47429 ] {e3e5f81d-688b-4ebf-97bc-2f3c4961f330} executeQuery: Code: 341. DB::Exception: Mutation 0000000000 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59660) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:36.633384 [ 47429 ] {e3e5f81d-688b-4ebf-97bc-2f3c4961f330} TCPHandler: Code: 341. DB::Exception: Mutation 0000000000 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:37.184523 [ 925 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 46 (trying to mutate part 46_0_0_0 to 1) 2024.05.01 15:01:38.036412 [ 47429 ] {31231ec7-e81a-41bd-9a3b-1427877f5b00} executeQuery: Code: 341. DB::Exception: Mutation 0000000001 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59706) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:38.037819 [ 47429 ] {31231ec7-e81a-41bd-9a3b-1427877f5b00} TCPHandler: Code: 341. DB::Exception: Mutation 0000000001 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:38.041662 [ 936 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 53 (trying to mutate part 53_0_0_0 to 2) 2024.05.01 15:01:38.049650 [ 934 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 50 (trying to mutate part 50_0_0_0 to 2) 2024.05.01 15:01:38.049905 [ 928 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 51 (trying to mutate part 51_0_0_0 to 2) 2024.05.01 15:01:38.754272 [ 932 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 52 (trying to mutate part 52_0_0_0 to 2) 2024.05.01 15:01:39.730984 [ 47429 ] {a6e5da77-76b5-4578-9adb-3776800763ca} executeQuery: Code: 341. DB::Exception: Mutation 0000000002 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59746) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:39.732417 [ 47429 ] {a6e5da77-76b5-4578-9adb-3776800763ca} TCPHandler: Code: 341. DB::Exception: Mutation 0000000002 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:39.734543 [ 930 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 78 (trying to mutate part 78_0_0_0 to 3) 2024.05.01 15:01:39.734761 [ 925 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 76 (trying to mutate part 76_0_0_0 to 3) 2024.05.01 15:01:39.734951 [ 926 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 79 (trying to mutate part 79_0_0_0 to 3) 2024.05.01 15:01:40.057102 [ 924 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 77 (trying to mutate part 77_0_0_0 to 3) 2024.05.01 15:01:41.438360 [ 47429 ] {15fe3e44-512b-48a0-926d-7c4273e954d0} executeQuery: Code: 341. DB::Exception: Mutation 0000000003 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59772) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:41.439611 [ 47429 ] {15fe3e44-512b-48a0-926d-7c4273e954d0} TCPHandler: Code: 341. DB::Exception: Mutation 0000000003 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:41.444554 [ 925 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 75 (trying to mutate part 75_0_0_0_3 to 4) 2024.05.01 15:01:41.444787 [ 931 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 73 (trying to mutate part 73_0_0_0_3 to 4) 2024.05.01 15:01:41.444945 [ 935 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 76 (trying to mutate part 76_0_0_0_3 to 4) 2024.05.01 15:01:42.162918 [ 930 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): Mutation with version 4 not found in partition ID 74 (trying to mutate part 74_0_0_0_3) 2024.05.01 15:01:43.132909 [ 47429 ] {87a20a7a-3a99-4790-964d-c315c8366ebc} executeQuery: Code: 341. DB::Exception: Mutation 0000000004 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41572) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:43.134193 [ 47429 ] {87a20a7a-3a99-4790-964d-c315c8366ebc} TCPHandler: Code: 341. DB::Exception: Mutation 0000000004 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:43.137749 [ 930 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 68 (trying to mutate part 68_0_0_0_4 to 5) 2024.05.01 15:01:43.137897 [ 937 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 66 (trying to mutate part 66_0_0_0_4 to 5) 2024.05.01 15:01:43.702166 [ 931 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 67 (trying to mutate part 67_0_0_0_4 to 5) 2024.05.01 15:01:44.881542 [ 47429 ] {dc14731f-1b37-4cbb-8a57-a108f097f462} executeQuery: Code: 341. DB::Exception: Mutation 0000000005 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41626) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:44.883312 [ 47429 ] {dc14731f-1b37-4cbb-8a57-a108f097f462} TCPHandler: Code: 341. DB::Exception: Mutation 0000000005 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:44.904922 [ 924 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 57 (trying to mutate part 57_0_0_0_5 to 6) 2024.05.01 15:01:44.905134 [ 938 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 56 (trying to mutate part 56_0_0_0_5 to 6) 2024.05.01 15:01:46.579764 [ 47429 ] {46609688-84d8-4375-ab2f-fc138553b3c7} executeQuery: Code: 341. DB::Exception: Mutation 0000000006 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41648) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:46.580970 [ 47429 ] {46609688-84d8-4375-ab2f-fc138553b3c7} TCPHandler: Code: 341. DB::Exception: Mutation 0000000006 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:46.582334 [ 934 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 65 (trying to mutate part 65_0_0_0_5 to 7) 2024.05.01 15:01:46.582607 [ 938 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 67 (trying to mutate part 67_0_0_0_5 to 7) 2024.05.01 15:01:46.783564 [ 927 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 66 (trying to mutate part 66_0_0_0_5 to 7) 2024.05.01 15:01:48.295536 [ 935 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 74 (trying to mutate part 74_0_0_0_4 to 8) 2024.05.01 15:01:48.296721 [ 47429 ] {d52e9584-121f-408b-9961-bed19adba450} executeQuery: Code: 341. DB::Exception: Mutation 0000000007 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41692) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:48.298123 [ 47429 ] {d52e9584-121f-408b-9961-bed19adba450} TCPHandler: Code: 341. DB::Exception: Mutation 0000000007 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:48.314113 [ 934 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 72 (trying to mutate part 72_0_0_0_4 to 8) 2024.05.01 15:01:48.314223 [ 938 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 73 (trying to mutate part 73_0_0_0_4 to 8) 2024.05.01 15:01:50.028696 [ 47429 ] {8a10f4ae-2ff2-454a-b04b-ad7fea77d995} executeQuery: Code: 341. DB::Exception: Mutation 0000000008 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41716) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:50.030516 [ 47429 ] {8a10f4ae-2ff2-454a-b04b-ad7fea77d995} TCPHandler: Code: 341. DB::Exception: Mutation 0000000008 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:50.050125 [ 939 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 69 (trying to mutate part 69_0_0_0_8 to 9) 2024.05.01 15:01:50.050312 [ 929 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 7 (trying to mutate part 7_0_0_0_8 to 9) 2024.05.01 15:01:51.774704 [ 47429 ] {af4d7fd0-0973-4e4e-a8d6-3b9da66fd366} executeQuery: Code: 341. DB::Exception: Mutation 0000000009 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34436) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:51.776020 [ 47429 ] {af4d7fd0-0973-4e4e-a8d6-3b9da66fd366} TCPHandler: Code: 341. DB::Exception: Mutation 0000000009 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:51.778795 [ 929 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 62 (trying to mutate part 62_0_0_0_9 to 10) 2024.05.01 15:01:51.799948 [ 938 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 60 (trying to mutate part 60_0_0_0_9 to 10) 2024.05.01 15:01:51.800043 [ 935 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 61 (trying to mutate part 61_0_0_0_9 to 10) 2024.05.01 15:01:53.489976 [ 47429 ] {deacaa08-9061-4c94-9c22-e0b1b1b5c9e3} executeQuery: Code: 341. DB::Exception: Mutation 0000000010 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34452) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:53.491504 [ 47429 ] {deacaa08-9061-4c94-9c22-e0b1b1b5c9e3} TCPHandler: Code: 341. DB::Exception: Mutation 0000000010 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:53.517475 [ 934 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 57 (trying to mutate part 57_0_0_0_10 to 11) 2024.05.01 15:01:53.517603 [ 929 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 58 (trying to mutate part 58_0_0_0_10 to 11) 2024.05.01 15:01:54.256394 [ 932 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): Mutation with version 11 not found in partition ID 56 (trying to mutate part 56_0_0_0_10) 2024.05.01 15:01:55.195936 [ 927 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 62 (trying to mutate part 62_0_0_0_10 to 12) 2024.05.01 15:01:55.196923 [ 47429 ] {11c474c5-7db7-43c3-b73d-a2f2fa10cd75} executeQuery: Code: 341. DB::Exception: Mutation 0000000011 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34484) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:55.198177 [ 47429 ] {11c474c5-7db7-43c3-b73d-a2f2fa10cd75} TCPHandler: Code: 341. DB::Exception: Mutation 0000000011 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:55.215445 [ 934 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 60 (trying to mutate part 60_0_0_0_10 to 12) 2024.05.01 15:01:55.215768 [ 938 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 61 (trying to mutate part 61_0_0_0_10 to 12) 2024.05.01 15:01:56.906659 [ 47429 ] {e74d9f94-0e61-4212-a911-a65a448aceda} executeQuery: Code: 341. DB::Exception: Mutation 0000000012 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34524) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:56.908002 [ 47429 ] {e74d9f94-0e61-4212-a911-a65a448aceda} TCPHandler: Code: 341. DB::Exception: Mutation 0000000012 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:56.912034 [ 938 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 69 (trying to mutate part 69_0_0_0_9 to 13) 2024.05.01 15:01:56.912278 [ 928 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 70 (trying to mutate part 70_0_0_0_8 to 13) 2024.05.01 15:01:56.912799 [ 937 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 71 (trying to mutate part 71_0_0_0_8 to 13) 2024.05.01 15:01:57.095476 [ 930 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 7 (trying to mutate part 7_0_0_0_9 to 13) 2024.05.01 15:01:58.606590 [ 47429 ] {10004dbd-a96e-427d-be51-376e579437fd} executeQuery: Code: 341. DB::Exception: Mutation 0000000013 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34568) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:58.608716 [ 47429 ] {10004dbd-a96e-427d-be51-376e579437fd} TCPHandler: Code: 341. DB::Exception: Mutation 0000000013 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:01:58.610804 [ 929 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 6 (trying to mutate part 6_0_0_0_13 to 14) 2024.05.01 15:01:58.610933 [ 928 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 62 (trying to mutate part 62_0_0_0_13 to 14) 2024.05.01 15:01:58.631446 [ 935 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 60 (trying to mutate part 60_0_0_0_13 to 14) 2024.05.01 15:01:58.631635 [ 925 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 61 (trying to mutate part 61_0_0_0_13 to 14) 2024.05.01 15:02:00.286928 [ 47429 ] {d19bcc7c-2768-4709-8738-368c771c1f16} executeQuery: Code: 341. DB::Exception: Mutation 0000000014 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34614) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:00.288289 [ 47429 ] {d19bcc7c-2768-4709-8738-368c771c1f16} TCPHandler: Code: 341. DB::Exception: Mutation 0000000014 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:00.294161 [ 926 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 68 (trying to mutate part 68_0_0_0_13 to 15) 2024.05.01 15:02:00.294276 [ 936 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 67 (trying to mutate part 67_0_0_0_13 to 15) 2024.05.01 15:02:02.079656 [ 930 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 55 (trying to mutate part 55_0_0_0_15 to 16) 2024.05.01 15:02:02.084860 [ 47429 ] {9450b496-5e1d-4598-b805-afa705f57c92} executeQuery: Code: 341. DB::Exception: Mutation 0000000015 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35464) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value String SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:02.086908 [ 47429 ] {9450b496-5e1d-4598-b805-afa705f57c92} TCPHandler: Code: 341. DB::Exception: Mutation 0000000015 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:02.102746 [ 933 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 53 (trying to mutate part 53_0_0_0_15 to 16) 2024.05.01 15:02:02.102859 [ 928 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 54 (trying to mutate part 54_0_0_0_15 to 16) 2024.05.01 15:02:03.840671 [ 47429 ] {344cf5e6-597b-484f-a731-4eadfe997ca5} executeQuery: Code: 341. DB::Exception: Mutation 0000000016 was killed, manually removed or table was dropped. (UNFINISHED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35508) (comment: 01593_concurrent_alter_mutations_kill.sh) (in query: ALTER TABLE concurrent_mutate_kill MODIFY COLUMN value UInt64 SETTINGS replication_alter_partitions_sync=2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:03.842133 [ 47429 ] {344cf5e6-597b-484f-a731-4eadfe997ca5} TCPHandler: Code: 341. DB::Exception: Mutation 0000000016 was killed, manually removed or table was dropped. (UNFINISHED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:592: DB::StorageReplicatedMergeTree::waitMutationToFinishOnReplicas(std::vector> const&, String const&) const @ 0x000000001a26b57a in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::waitMutation(String const&, unsigned long) const @ 0x000000001a306502 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a3045d9 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:03.845036 [ 933 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 53 (trying to mutate part 53_0_0_0_16 to 17) 2024.05.01 15:02:03.845245 [ 932 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): There are no mutations for partition ID 55 (trying to mutate part 55_0_0_0_16 to 17) 2024.05.01 15:02:04.623521 [ 925 ] {} test_0pwbnk5i.concurrent_mutate_kill (ReplicatedMergeTreeQueue): Mutation with version 17 not found in partition ID 54 (trying to mutate part 54_0_0_0_16) 2024.05.01 15:02:18.140850 [ 47429 ] {19c00f01-2184-4085-bca1-9d0855176d7c} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59962) (comment: 01545_system_errors.sh) (in query: SELECT throwIf(1)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:18.142095 [ 47429 ] {19c00f01-2184-4085-bca1-9d0855176d7c} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(1 :: 0) -> throwIf(1) UInt8 : 1'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:19.545279 [ 1140 ] {6e114d65-645f-41ba-9cbd-6b3115080d1f} executeQuery: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(not(dummy) :: 1) -> throwIf(not(dummy)) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:45658) (comment: 01545_system_errors.sh) (in query: SELECT `dummy` FROM `system`.`one` WHERE throwIf(NOT `dummy`)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001b30efca in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:121: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001b30ee57 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:19.546573 [ 1140 ] {6e114d65-645f-41ba-9cbd-6b3115080d1f} TCPHandler: Code: 395. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(not(dummy) :: 1) -> throwIf(not(dummy)) UInt8 : 2'. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001b30efca in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:121: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001b30ee57 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:19.549819 [ 47429 ] {df7568ee-d28b-44f1-ad8c-42553ea321af} executeQuery: Code: 395. DB::Exception: Received from 127.2:9000. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(not(dummy) :: 1) -> throwIf(not(dummy)) UInt8 : 2'. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001b30efca in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:121: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001b30ee57 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? : While executing Remote. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59984) (comment: 01545_system_errors.sh) (in query: SELECT * FROM remote('127.2', system.one) where throwIf(not dummy)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:02:19.551192 [ 47429 ] {df7568ee-d28b-44f1-ad8c-42553ea321af} TCPHandler: Code: 395. DB::Exception: Received from 127.2:9000. DB::Exception: Value passed to 'throwIf' function is non-zero: while executing 'FUNCTION throwIf(not(dummy) :: 1) -> throwIf(not(dummy)) UInt8 : 2'. Stack trace: 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. DB::(anonymous namespace)::FunctionThrowIf::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x000000000e613a8b in /usr/bin/clickhouse 4. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 5. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 6. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 7. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:0: DB::FilterTransform::doTransform(DB::Chunk&) @ 0x000000001b30efca in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/FilterTransform.cpp:121: DB::FilterTransform::transform(DB::Chunk&) @ 0x000000001b30ee57 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 18. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? : While executing Remote. (FUNCTION_THROW_IF_VALUE_IS_NON_ZERO), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::readException(DB::ReadBuffer&, String const&, bool) @ 0x000000000fa5c4f1 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::Connection::receiveException() const @ 0x000000001adc5239 in /usr/bin/clickhouse 4. ./build_docker/./src/Client/Connection.cpp:987: DB::Connection::receivePacket() @ 0x000000001adcf61b in /usr/bin/clickhouse 5. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:02:24.477919 [ 3903 ] {67acc627-4974-4b70-bf17-5368d340e37b} ExternalDictionariesLoader: Could not load external dictionary 'fc540a51-057c-4328-a187-000596eecd12', next update is scheduled at 2024-05-01 15:02:30: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:02:24.480982 [ 49467 ] {1d97eb21-0999-4692-bcef-e9807961b642} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60070) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.481168 [ 49466 ] {dc3fde2c-d647-459e-8ee9-ae2e4add7e5c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60054) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.481385 [ 1140 ] {67acc627-4974-4b70-bf17-5368d340e37b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60026) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.482607 [ 49467 ] {1d97eb21-0999-4692-bcef-e9807961b642} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.482892 [ 49466 ] {dc3fde2c-d647-459e-8ee9-ae2e4add7e5c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.483000 [ 1140 ] {67acc627-4974-4b70-bf17-5368d340e37b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.483906 [ 49470 ] {3c970a97-937d-46b9-b95c-f9e18b6ab391} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60098) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.485544 [ 49470 ] {3c970a97-937d-46b9-b95c-f9e18b6ab391} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.485665 [ 49468 ] {0e2f6c57-eccc-43e7-b5d7-d4bb14bd17c6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60084) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.487169 [ 49468 ] {0e2f6c57-eccc-43e7-b5d7-d4bb14bd17c6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.496166 [ 49471 ] {5c64ec20-1609-49e4-9517-9a74a70abb3a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60102) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.497903 [ 49471 ] {5c64ec20-1609-49e4-9517-9a74a70abb3a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.497951 [ 49475 ] {eab42fd6-c976-476c-b96d-b8baac940a0f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60132) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.498034 [ 32818 ] {22e8fa4e-2734-4950-9766-bfcfcf7b226e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60038) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.498149 [ 49469 ] {8c6669da-de25-409c-bdd0-bb239250bbee} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60092) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.498282 [ 49481 ] {3904cd3f-c8fd-4947-9ac7-2fdc816fec8a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60150) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.499265 [ 49475 ] {eab42fd6-c976-476c-b96d-b8baac940a0f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.499385 [ 32818 ] {22e8fa4e-2734-4950-9766-bfcfcf7b226e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.499841 [ 49469 ] {8c6669da-de25-409c-bdd0-bb239250bbee} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.500122 [ 49481 ] {3904cd3f-c8fd-4947-9ac7-2fdc816fec8a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.501694 [ 49478 ] {18a90e68-0d71-4863-9e29-c7fa4238097f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60138) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.503207 [ 49478 ] {18a90e68-0d71-4863-9e29-c7fa4238097f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.506198 [ 49472 ] {03ad893a-73f4-493c-9cec-18b8e57d7d94} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60118) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.507562 [ 49472 ] {03ad893a-73f4-493c-9cec-18b8e57d7d94} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.935827 [ 1140 ] {51cd70a7-e8bb-42b6-be52-7ecb2c0eb7ff} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60158) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.937382 [ 1140 ] {51cd70a7-e8bb-42b6-be52-7ecb2c0eb7ff} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.942838 [ 32818 ] {690e60fa-0012-4be8-bfec-c5a3f00103a1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60162) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.944260 [ 32818 ] {690e60fa-0012-4be8-bfec-c5a3f00103a1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.955607 [ 49466 ] {4b293407-585f-448a-aadb-873ccc499dfb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60170) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.957346 [ 49466 ] {4b293407-585f-448a-aadb-873ccc499dfb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.958961 [ 49467 ] {f5403df4-65e3-418a-8414-37869d277226} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60172) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.960514 [ 49467 ] {f5403df4-65e3-418a-8414-37869d277226} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.967094 [ 49468 ] {c8c8dcfd-f5d7-4cb3-be76-c2f99696afb1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60176) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.970237 [ 49470 ] {06364f1f-98f0-4c46-b637-401d8b4c76a9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60188) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.970503 [ 49468 ] {c8c8dcfd-f5d7-4cb3-be76-c2f99696afb1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.971920 [ 49470 ] {06364f1f-98f0-4c46-b637-401d8b4c76a9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.981442 [ 49469 ] {123ea3f7-725f-4129-9dde-0b5a9416cbd5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60184) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.984325 [ 49469 ] {123ea3f7-725f-4129-9dde-0b5a9416cbd5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.986496 [ 49471 ] {c98232d9-3554-4aff-aa47-698421c77175} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60192) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.987905 [ 49471 ] {c98232d9-3554-4aff-aa47-698421c77175} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.992128 [ 49472 ] {33ef4851-f099-491a-b83e-d5d66146d0eb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60202) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:24.993556 [ 49472 ] {33ef4851-f099-491a-b83e-d5d66146d0eb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.003786 [ 49475 ] {562ec8d5-aec7-425f-98a8-8f90cab8fced} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60210) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.005637 [ 49475 ] {562ec8d5-aec7-425f-98a8-8f90cab8fced} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.013714 [ 49478 ] {3966e1e9-ecdc-4f28-bb7e-f0530ab200b9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60226) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.016551 [ 49478 ] {3966e1e9-ecdc-4f28-bb7e-f0530ab200b9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.053283 [ 49481 ] {baa3962a-5045-4592-851a-b463f01cea85} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60238) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.054539 [ 49481 ] {baa3962a-5045-4592-851a-b463f01cea85} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.412165 [ 1140 ] {4651c6a7-40a1-4bfb-9d16-4fd8af53b3d7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60250) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.413469 [ 1140 ] {4651c6a7-40a1-4bfb-9d16-4fd8af53b3d7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.419188 [ 49466 ] {923e3b99-c345-4430-ad9e-15309433c9f3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60260) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.420648 [ 49466 ] {923e3b99-c345-4430-ad9e-15309433c9f3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.421246 [ 32818 ] {1a8a8da1-30b5-4806-ab4a-16c651beca34} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60256) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.423054 [ 32818 ] {1a8a8da1-30b5-4806-ab4a-16c651beca34} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.438009 [ 49470 ] {1e76fb53-6885-49b3-bbe4-79b1cd10a92c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60294) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.439404 [ 49470 ] {1e76fb53-6885-49b3-bbe4-79b1cd10a92c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.441464 [ 49468 ] {99ba38db-f264-434b-9bb2-f77554d93f1f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60282) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.444651 [ 49468 ] {99ba38db-f264-434b-9bb2-f77554d93f1f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.447145 [ 49467 ] {81be4a6b-d879-4673-bd4f-e328c08a763d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60270) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.447309 [ 49469 ] {39d04019-9769-42ba-9af4-c9c02c8a3800} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60290) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.448567 [ 49469 ] {39d04019-9769-42ba-9af4-c9c02c8a3800} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.452307 [ 49471 ] {459cc2ca-f0a7-4769-ad65-4b9fa093fec4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60296) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.454044 [ 49471 ] {459cc2ca-f0a7-4769-ad65-4b9fa093fec4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.462359 [ 49467 ] {81be4a6b-d879-4673-bd4f-e328c08a763d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.475896 [ 49472 ] {3a7d1531-9ba6-4b56-ae50-a5206bd26240} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60312) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.480793 [ 49472 ] {3a7d1531-9ba6-4b56-ae50-a5206bd26240} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.482417 [ 49478 ] {2a81bb98-a8ab-4de7-942e-40a5d1695924} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60324) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.482474 [ 49475 ] {cdd28c6f-715d-40f1-9198-9fcf6cac11fb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60318) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.484121 [ 49475 ] {cdd28c6f-715d-40f1-9198-9fcf6cac11fb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.484444 [ 49478 ] {2a81bb98-a8ab-4de7-942e-40a5d1695924} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.549351 [ 49481 ] {b92fd0be-79a4-47b9-85e5-f78e882cf845} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60330) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.553454 [ 49481 ] {b92fd0be-79a4-47b9-85e5-f78e882cf845} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.872831 [ 49471 ] {f8430dbd-a7b9-45f3-b465-4e10727ac406} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60336) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.874256 [ 49471 ] {f8430dbd-a7b9-45f3-b465-4e10727ac406} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.888754 [ 49472 ] {d6ce4dc8-a02c-46ae-8f71-ec584cefa440} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60344) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.889770 [ 49475 ] {7f69df80-2b73-4c73-a51d-67d76459fc4c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60350) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.890338 [ 49472 ] {d6ce4dc8-a02c-46ae-8f71-ec584cefa440} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.891101 [ 49475 ] {7f69df80-2b73-4c73-a51d-67d76459fc4c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.901761 [ 49478 ] {c7b6ebbe-b08a-4e59-916d-c0c98a5d10d9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60358) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.903121 [ 49478 ] {c7b6ebbe-b08a-4e59-916d-c0c98a5d10d9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.909636 [ 1140 ] {0d98a4f2-a56a-459c-86fb-523de09d115f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60376) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.910078 [ 49481 ] {ca87d301-3532-4ccd-98c8-f6188d24b394} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60370) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.911012 [ 1140 ] {0d98a4f2-a56a-459c-86fb-523de09d115f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.911297 [ 49481 ] {ca87d301-3532-4ccd-98c8-f6188d24b394} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.911811 [ 32818 ] {eb8f25f3-d8d0-4ccd-8062-f00aa1d87984} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60384) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.920689 [ 32818 ] {eb8f25f3-d8d0-4ccd-8062-f00aa1d87984} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.926536 [ 49466 ] {58864deb-15d4-4237-80bb-2de880e20fc9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60394) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.927574 [ 49466 ] {58864deb-15d4-4237-80bb-2de880e20fc9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.931142 [ 49467 ] {f26235e7-f518-4667-8083-e8dcca4d94e6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60404) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.932453 [ 49467 ] {f26235e7-f518-4667-8083-e8dcca4d94e6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.948612 [ 49468 ] {b0f02fb1-810f-4916-a8b5-47a704d9dade} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60406) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.949827 [ 49468 ] {b0f02fb1-810f-4916-a8b5-47a704d9dade} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.987144 [ 49469 ] {c4de94a0-ef5f-414f-999c-a9f4ab171c59} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60414) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.988488 [ 49469 ] {c4de94a0-ef5f-414f-999c-a9f4ab171c59} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.995727 [ 49470 ] {632ff81b-e1b8-4bc5-8fba-3a6ffdf1d0d5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60426) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:25.997108 [ 49470 ] {632ff81b-e1b8-4bc5-8fba-3a6ffdf1d0d5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.329438 [ 49471 ] {63d7d26e-1240-42b7-8f89-bbe5557a29ff} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60428) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.330719 [ 49471 ] {63d7d26e-1240-42b7-8f89-bbe5557a29ff} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.351983 [ 49472 ] {4aa6879d-02a8-4a4f-bf85-8ed000c91b5c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60442) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.353368 [ 49472 ] {4aa6879d-02a8-4a4f-bf85-8ed000c91b5c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.369245 [ 49475 ] {15388c5d-f8a0-4556-8144-94c6980356af} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60444) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.370548 [ 49475 ] {15388c5d-f8a0-4556-8144-94c6980356af} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.383897 [ 49478 ] {1c71e754-bb38-4383-b278-0b2b891d50cb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60452) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.385081 [ 49478 ] {1c71e754-bb38-4383-b278-0b2b891d50cb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.389331 [ 49481 ] {b0acac2c-abed-46bf-a0e0-686f6382f14a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60462) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.390463 [ 49481 ] {b0acac2c-abed-46bf-a0e0-686f6382f14a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.405349 [ 1140 ] {d9469d49-de2a-417c-ae7a-f3ae4d095f7e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60474) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.406442 [ 1140 ] {d9469d49-de2a-417c-ae7a-f3ae4d095f7e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.407826 [ 32818 ] {eed78ffa-0927-4e19-9af9-b664ac29b308} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60490) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.409898 [ 32818 ] {eed78ffa-0927-4e19-9af9-b664ac29b308} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.453039 [ 49466 ] {b835bcb9-6690-4d66-80e2-ea7abfd016dd} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60502) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.454454 [ 49466 ] {b835bcb9-6690-4d66-80e2-ea7abfd016dd} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.459801 [ 49468 ] {a4993135-43d0-4acd-8dce-b8fcd3802f79} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60524) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.461785 [ 49468 ] {a4993135-43d0-4acd-8dce-b8fcd3802f79} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.462731 [ 49467 ] {627de691-ccc0-475b-9b6f-55ca45525861} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60508) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.464185 [ 49467 ] {627de691-ccc0-475b-9b6f-55ca45525861} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.474780 [ 49469 ] {9ce334cc-314f-467a-aa16-2299e46a5d9d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60530) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.475884 [ 49469 ] {9ce334cc-314f-467a-aa16-2299e46a5d9d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.538428 [ 49471 ] {b2d4718b-6395-4bac-a56d-fb71c0ac6ea9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60532) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.539891 [ 49471 ] {b2d4718b-6395-4bac-a56d-fb71c0ac6ea9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.799374 [ 49471 ] {f0e352b2-8a7d-434a-87c7-3501aaceccc5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60540) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.800597 [ 49471 ] {f0e352b2-8a7d-434a-87c7-3501aaceccc5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.812678 [ 49472 ] {0b3ef577-5a91-46b3-a430-92ce7c2e85eb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60554) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.813952 [ 49472 ] {0b3ef577-5a91-46b3-a430-92ce7c2e85eb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.863079 [ 49475 ] {66b244da-a3fd-409d-b84d-1618e90c3f96} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60568) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.864389 [ 49475 ] {66b244da-a3fd-409d-b84d-1618e90c3f96} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.888713 [ 49481 ] {696d5a51-c77e-4289-b9f3-14ffa1005556} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60574) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.889954 [ 49481 ] {696d5a51-c77e-4289-b9f3-14ffa1005556} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.891321 [ 49478 ] {417754cc-06b0-4eed-a0a5-4f0e5bf6c34d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60570) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.892483 [ 49478 ] {417754cc-06b0-4eed-a0a5-4f0e5bf6c34d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.912201 [ 32818 ] {4e63af7c-386e-4340-ae39-2df201b38263} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60586) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.912993 [ 1140 ] {5a6c3ada-04ff-48dd-b329-eb0254202f8e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60584) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.913379 [ 32818 ] {4e63af7c-386e-4340-ae39-2df201b38263} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.914479 [ 1140 ] {5a6c3ada-04ff-48dd-b329-eb0254202f8e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.920408 [ 49466 ] {a64ab8e8-da28-4887-8c2e-ce7a63945396} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60594) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.921570 [ 49466 ] {a64ab8e8-da28-4887-8c2e-ce7a63945396} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.944065 [ 49467 ] {3454f78f-483d-41bb-934a-94effc08d0b3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60600) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.945233 [ 49467 ] {3454f78f-483d-41bb-934a-94effc08d0b3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.946400 [ 49468 ] {ac1c4a8f-d10f-4b50-8b89-d744011b8cb3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60602) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.947390 [ 49468 ] {ac1c4a8f-d10f-4b50-8b89-d744011b8cb3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.990198 [ 49469 ] {60dcddd8-49c9-43b8-8d99-50e208eeca62} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60612) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:26.991581 [ 49469 ] {60dcddd8-49c9-43b8-8d99-50e208eeca62} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.019940 [ 49470 ] {21a4fa14-bb8f-4d54-b809-cb8bec12bbf0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60624) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.021652 [ 49470 ] {21a4fa14-bb8f-4d54-b809-cb8bec12bbf0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.248017 [ 49481 ] {4834613b-3e96-4764-bdcf-f73c7dfb8d95} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60644) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.249244 [ 49481 ] {4834613b-3e96-4764-bdcf-f73c7dfb8d95} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.252824 [ 49478 ] {b7b67db1-aacb-4d6f-b722-68b04ee1091e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60638) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.254219 [ 49478 ] {b7b67db1-aacb-4d6f-b722-68b04ee1091e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.330820 [ 1140 ] {4323310a-2a54-41cd-90b6-3534165a7102} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60646) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.332071 [ 1140 ] {4323310a-2a54-41cd-90b6-3534165a7102} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.349658 [ 49466 ] {4c6d7783-9bdb-45dd-a960-c6c30e2372f4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60654) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.353698 [ 49466 ] {4c6d7783-9bdb-45dd-a960-c6c30e2372f4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.354580 [ 32818 ] {c1aae4d4-9d8b-472d-af32-3c4f26fc390c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60650) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.355689 [ 32818 ] {c1aae4d4-9d8b-472d-af32-3c4f26fc390c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.363501 [ 49467 ] {d65f2bf1-4072-4e51-bce9-439fcee404ff} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60670) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.364782 [ 49467 ] {d65f2bf1-4072-4e51-bce9-439fcee404ff} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.388341 [ 49468 ] {aa9a7916-f044-4ffd-9743-4dbc51192140} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60684) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.389913 [ 49468 ] {aa9a7916-f044-4ffd-9743-4dbc51192140} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.412452 [ 49469 ] {413d559f-fa6e-460b-a90f-aa5be3d5cd0a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60700) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.413984 [ 49469 ] {413d559f-fa6e-460b-a90f-aa5be3d5cd0a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.451134 [ 49481 ] {c66c1aaf-988a-42eb-ad3d-5ed4bcaf3eee} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60716) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.452572 [ 49481 ] {c66c1aaf-988a-42eb-ad3d-5ed4bcaf3eee} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.470822 [ 49478 ] {ee71edb2-dac8-41cf-9aa1-a5e467775054} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60732) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.472386 [ 49478 ] {ee71edb2-dac8-41cf-9aa1-a5e467775054} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.520999 [ 1140 ] {64b79cfc-0ba6-4fd5-a2e5-d8bb61ead51b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60736) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.522399 [ 1140 ] {64b79cfc-0ba6-4fd5-a2e5-d8bb61ead51b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.552384 [ 32818 ] {bf1e8fbd-07cd-4ed6-a0a5-901a9bee871d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60744) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.553575 [ 32818 ] {bf1e8fbd-07cd-4ed6-a0a5-901a9bee871d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.674358 [ 49478 ] {a6e7e6ea-8a19-4fd0-a60f-6107bfdbe419} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60760) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.675473 [ 49478 ] {a6e7e6ea-8a19-4fd0-a60f-6107bfdbe419} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.704172 [ 49481 ] {fdd3305d-aba7-4c16-8e9f-bbf56164292a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60772) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.705659 [ 49481 ] {fdd3305d-aba7-4c16-8e9f-bbf56164292a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.786841 [ 1140 ] {f8d54a27-36a9-4464-8f15-74a5d07df4b8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60776) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.788325 [ 1140 ] {f8d54a27-36a9-4464-8f15-74a5d07df4b8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.796731 [ 32818 ] {1ee815c3-5d3e-4db1-8614-ec27d54c1c32} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60784) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.796803 [ 49466 ] {8c4b7c96-5ef2-4a7a-970e-f397605ed0af} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60786) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.798106 [ 32818 ] {1ee815c3-5d3e-4db1-8614-ec27d54c1c32} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.798191 [ 49466 ] {8c4b7c96-5ef2-4a7a-970e-f397605ed0af} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.819407 [ 49467 ] {657dd005-b86a-4993-894b-917008a93a67} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60792) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.820886 [ 49467 ] {657dd005-b86a-4993-894b-917008a93a67} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.826346 [ 49468 ] {c6454a09-248e-4200-8d1d-1a2eda320750} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60800) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.827768 [ 49468 ] {c6454a09-248e-4200-8d1d-1a2eda320750} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.880330 [ 49478 ] {694361b4-78dc-4584-a9b3-3e24cdf543d9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60802) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.881511 [ 49478 ] {694361b4-78dc-4584-a9b3-3e24cdf543d9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.916655 [ 49481 ] {b7aa4f96-29f9-4322-937b-1bbfd633c01a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60816) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.918084 [ 49481 ] {b7aa4f96-29f9-4322-937b-1bbfd633c01a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.952495 [ 49469 ] {709eec9a-6a03-4be3-935d-6027928685d7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60828) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.953657 [ 49469 ] {709eec9a-6a03-4be3-935d-6027928685d7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.979802 [ 1140 ] {2162780a-1b8e-4d31-8419-5fb3833b18c5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60844) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.981070 [ 1140 ] {2162780a-1b8e-4d31-8419-5fb3833b18c5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.998055 [ 32818 ] {ee0bc3cf-7ccf-41e5-a304-ad01085105a7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60848) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:27.999371 [ 32818 ] {ee0bc3cf-7ccf-41e5-a304-ad01085105a7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.163854 [ 49466 ] {b1e23f8f-5901-4b49-b2ad-cb733f01c26c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60864) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.165421 [ 49466 ] {b1e23f8f-5901-4b49-b2ad-cb733f01c26c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.168446 [ 49470 ] {e2799189-ea11-48a0-8f2a-4629e9982e65} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60878) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.169758 [ 49470 ] {e2799189-ea11-48a0-8f2a-4629e9982e65} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.234180 [ 32818 ] {1c3057e7-4b5b-4ab5-a088-8a199537b4c2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60894) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.235455 [ 32818 ] {1c3057e7-4b5b-4ab5-a088-8a199537b4c2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.252538 [ 49472 ] {9a35b4eb-8383-4488-b320-90a6cb84f6f6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60914) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.253966 [ 49472 ] {9a35b4eb-8383-4488-b320-90a6cb84f6f6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.257411 [ 49471 ] {a29bb8c4-9641-4eaf-993a-80c87ec2dc57} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60898) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.258780 [ 49471 ] {a29bb8c4-9641-4eaf-993a-80c87ec2dc57} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.269629 [ 49475 ] {643d4763-0784-441e-940d-86fe91bc6fbd} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60920) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.270986 [ 49475 ] {643d4763-0784-441e-940d-86fe91bc6fbd} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.287963 [ 49478 ] {ad0bb33e-c5c1-4422-b42a-c222cccbea7c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60932) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.289325 [ 49478 ] {ad0bb33e-c5c1-4422-b42a-c222cccbea7c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.338223 [ 49481 ] {423aa4c7-b0d1-4f22-81c8-c792d7ba10b1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60934) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.339580 [ 49481 ] {423aa4c7-b0d1-4f22-81c8-c792d7ba10b1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.395848 [ 49466 ] {b78a6a55-9fd3-4b97-aaad-e0055cb97c00} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60948) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.396956 [ 49466 ] {b78a6a55-9fd3-4b97-aaad-e0055cb97c00} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.409143 [ 49470 ] {f2d96e07-dd98-49ef-ae26-a726ae2ea830} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60964) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.410546 [ 49470 ] {f2d96e07-dd98-49ef-ae26-a726ae2ea830} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.434728 [ 32818 ] {6f7832b8-f4f2-4b45-af85-6fc0501347f9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60970) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.436053 [ 32818 ] {6f7832b8-f4f2-4b45-af85-6fc0501347f9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.489695 [ 49471 ] {3a1ae087-3e3c-4929-8521-59927626f946} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60984) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.490755 [ 49471 ] {3a1ae087-3e3c-4929-8521-59927626f946} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.589366 [ 49470 ] {e3ab74b8-9117-4b17-bda6-2c86db5035b6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32782) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.589533 [ 49466 ] {755fb9bc-054d-428e-b38d-6421c35846f8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32768) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.590661 [ 49470 ] {e3ab74b8-9117-4b17-bda6-2c86db5035b6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.590722 [ 49466 ] {755fb9bc-054d-428e-b38d-6421c35846f8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.691877 [ 32818 ] {847115f7-58dd-43bf-ae23-02cb9797ee8a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32784) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.693210 [ 32818 ] {847115f7-58dd-43bf-ae23-02cb9797ee8a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.710169 [ 49471 ] {327e36e3-ee53-4fdb-b3ce-c692d51b3111} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32798) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.711406 [ 49471 ] {327e36e3-ee53-4fdb-b3ce-c692d51b3111} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.714735 [ 49475 ] {460fbf74-6794-49b9-9976-b064fae58645} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32802) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.714857 [ 49472 ] {ae440649-e043-46b7-8964-3d8af272a39e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32800) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.716053 [ 49472 ] {ae440649-e043-46b7-8964-3d8af272a39e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.716168 [ 49475 ] {460fbf74-6794-49b9-9976-b064fae58645} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.742753 [ 49478 ] {0521ae24-7a4e-48cf-a5e2-b88770af6dd5} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32816) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.744470 [ 49478 ] {0521ae24-7a4e-48cf-a5e2-b88770af6dd5} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.779335 [ 49481 ] {1e61e368-f5af-4d10-b931-be0f0a6faa39} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32826) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.780952 [ 49481 ] {1e61e368-f5af-4d10-b931-be0f0a6faa39} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.853642 [ 49466 ] {580442ef-d628-4567-a69b-2c2c3ad36125} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32838) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.854723 [ 49466 ] {580442ef-d628-4567-a69b-2c2c3ad36125} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.875662 [ 49470 ] {9df3fd43-f96d-4584-9f25-48ff99d0b32f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32852) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.877261 [ 32818 ] {6c160fa1-7abf-49bd-84f2-02aed84f601f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32862) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.878121 [ 49470 ] {9df3fd43-f96d-4584-9f25-48ff99d0b32f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.878751 [ 32818 ] {6c160fa1-7abf-49bd-84f2-02aed84f601f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.951565 [ 49471 ] {74eea66f-1170-4293-b065-b0e076064aa7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32868) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:28.953081 [ 49471 ] {74eea66f-1170-4293-b065-b0e076064aa7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.061252 [ 49466 ] {aa7546f6-c42f-4b66-a2d0-b17e1aa96c97} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32874) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.062463 [ 49466 ] {aa7546f6-c42f-4b66-a2d0-b17e1aa96c97} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.075002 [ 49470 ] {726f6c6b-b385-4010-80e7-905f9917cc91} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32890) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.076534 [ 49470 ] {726f6c6b-b385-4010-80e7-905f9917cc91} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.145738 [ 32818 ] {d675b18c-0310-47fb-b59f-79c718cad7d8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32906) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.147403 [ 32818 ] {d675b18c-0310-47fb-b59f-79c718cad7d8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.193544 [ 49471 ] {a9c8db1d-4a01-40cd-9818-25e7c8642d10} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32920) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.194654 [ 49471 ] {a9c8db1d-4a01-40cd-9818-25e7c8642d10} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.206105 [ 49472 ] {741f76cf-1785-43d3-b2ad-db46504594ca} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32928) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.207542 [ 49472 ] {741f76cf-1785-43d3-b2ad-db46504594ca} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.244516 [ 49478 ] {d5210818-a5c3-4118-afb1-e382681a7a43} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32948) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.245974 [ 49478 ] {d5210818-a5c3-4118-afb1-e382681a7a43} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.249631 [ 49475 ] {98eed5fb-bd29-4918-b035-1f2eaf5feefd} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32944) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.251510 [ 49475 ] {98eed5fb-bd29-4918-b035-1f2eaf5feefd} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.267627 [ 49481 ] {d86779f0-8a74-4e7d-b88b-ed6261f24ad0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32954) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.269171 [ 49481 ] {d86779f0-8a74-4e7d-b88b-ed6261f24ad0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.312447 [ 1140 ] {22d11c06-8e5e-4bd7-a7a3-39dd79dc9bbd} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32958) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.313608 [ 1140 ] {22d11c06-8e5e-4bd7-a7a3-39dd79dc9bbd} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.333530 [ 49467 ] {707f7719-d91c-4ae1-8fae-6be3c6946d87} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32968) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.334998 [ 49467 ] {707f7719-d91c-4ae1-8fae-6be3c6946d87} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.351457 [ 49468 ] {d1f43c41-e5fe-47e1-b225-c96caec6aaf8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32974) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.353314 [ 49468 ] {d1f43c41-e5fe-47e1-b225-c96caec6aaf8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.432441 [ 49469 ] {a29554df-0a5f-4268-940b-b48ae7d8eb67} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32980) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.433663 [ 49469 ] {a29554df-0a5f-4268-940b-b48ae7d8eb67} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.586469 [ 1140 ] {c9e9cba9-a04d-4a04-a225-963779bbe7e2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32998) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.588376 [ 1140 ] {c9e9cba9-a04d-4a04-a225-963779bbe7e2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.591740 [ 49481 ] {28efd9cd-0553-45c4-9586-f93efa642d03} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32988) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.593270 [ 49481 ] {28efd9cd-0553-45c4-9586-f93efa642d03} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.624629 [ 49467 ] {3613c3e9-03f2-4b25-bd3f-a7a283d06c32} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33004) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.625899 [ 49467 ] {3613c3e9-03f2-4b25-bd3f-a7a283d06c32} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.648797 [ 49468 ] {d294a0e6-761f-4909-bea7-2701d6f0c7e6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33020) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.650059 [ 49468 ] {d294a0e6-761f-4909-bea7-2701d6f0c7e6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.681966 [ 49469 ] {43f9de2d-c346-421e-b8e8-4e6aa7a6f5fc} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33036) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.683738 [ 49469 ] {43f9de2d-c346-421e-b8e8-4e6aa7a6f5fc} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.713340 [ 32818 ] {a1d4cedd-60fe-4ce1-85b0-df1be9e0b678} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33046) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.714779 [ 32818 ] {a1d4cedd-60fe-4ce1-85b0-df1be9e0b678} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.753998 [ 49466 ] {e32db280-a80b-40a9-9033-e73b35a0ddab} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33058) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.755477 [ 49466 ] {e32db280-a80b-40a9-9033-e73b35a0ddab} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.763029 [ 49470 ] {c7339f23-673f-4692-88a1-8519298edd6f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33064) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.764667 [ 49470 ] {c7339f23-673f-4692-88a1-8519298edd6f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.782091 [ 1140 ] {15d812e7-e73a-4979-9936-56264d2bec53} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33070) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.783449 [ 1140 ] {15d812e7-e73a-4979-9936-56264d2bec53} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.815551 [ 49481 ] {c4259fdc-8126-4080-b386-059eab861c89} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33072) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.820164 [ 49481 ] {c4259fdc-8126-4080-b386-059eab861c89} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.849171 [ 49467 ] {7e2297ea-5ff8-4515-a921-c9f0fb771cc0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33082) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.850387 [ 49467 ] {7e2297ea-5ff8-4515-a921-c9f0fb771cc0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.887376 [ 49468 ] {977c3270-7317-48cf-a2fd-493a17537b0c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33092) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:29.888641 [ 49468 ] {977c3270-7317-48cf-a2fd-493a17537b0c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.040758 [ 49481 ] {f953b916-72b2-40ce-ab5c-6141b4bf6bd0} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33104) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.041806 [ 49481 ] {f953b916-72b2-40ce-ab5c-6141b4bf6bd0} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.066556 [ 1140 ] {66e9d87d-7e76-4e12-ba46-53fc5e689110} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33106) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.067627 [ 1140 ] {66e9d87d-7e76-4e12-ba46-53fc5e689110} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.091504 [ 49467 ] {3c44fe10-47c2-42e1-9b50-43c7c15590ec} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33110) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.092776 [ 49467 ] {3c44fe10-47c2-42e1-9b50-43c7c15590ec} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.114870 [ 49468 ] {1d1ea8a1-61b3-4dc3-bd32-1ae80e8942e2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33124) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.116585 [ 49468 ] {1d1ea8a1-61b3-4dc3-bd32-1ae80e8942e2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.131466 [ 49469 ] {3eeb48b0-948c-47c7-97d8-6ffea0c12e1f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33130) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.132682 [ 49469 ] {3eeb48b0-948c-47c7-97d8-6ffea0c12e1f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.171807 [ 32818 ] {8e04afa5-4994-4d72-a95e-bdf19e450677} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33140) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.173210 [ 32818 ] {8e04afa5-4994-4d72-a95e-bdf19e450677} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.201968 [ 49466 ] {33836b27-8a66-406b-b0c5-a67fc1a98132} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33146) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.203285 [ 49466 ] {33836b27-8a66-406b-b0c5-a67fc1a98132} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.228535 [ 49481 ] {e3bc8584-1e09-4457-8e1d-f5bb2d9d2738} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33156) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.229587 [ 49481 ] {e3bc8584-1e09-4457-8e1d-f5bb2d9d2738} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.246228 [ 49470 ] {29e4f744-25b9-476f-92bf-e55fe3125091} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33172) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.247439 [ 49470 ] {29e4f744-25b9-476f-92bf-e55fe3125091} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.275279 [ 1140 ] {218f6526-cc5e-4d65-9500-5c81876a9d46} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33176) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.276573 [ 1140 ] {218f6526-cc5e-4d65-9500-5c81876a9d46} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.305328 [ 49467 ] {12298fc5-8900-4c77-9a85-f9f4239a182a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33188) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.306665 [ 49467 ] {12298fc5-8900-4c77-9a85-f9f4239a182a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.314049 [ 49468 ] {ae6d1af3-819e-4cf5-a2e5-2f87ed38cc2f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33202) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.315107 [ 49468 ] {ae6d1af3-819e-4cf5-a2e5-2f87ed38cc2f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.550032 [ 1140 ] {8fb9bacd-4579-40bf-8bfa-e28a7610074f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48954) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.551090 [ 1140 ] {8fb9bacd-4579-40bf-8bfa-e28a7610074f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.564644 [ 49481 ] {4ae171ac-1e08-4827-9b75-c9f1167ba3d4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48948) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.564807 [ 49468 ] {8066fdad-cc51-4c13-a398-fed5b3b8ea51} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48974) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.566082 [ 49468 ] {8066fdad-cc51-4c13-a398-fed5b3b8ea51} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.566588 [ 49481 ] {4ae171ac-1e08-4827-9b75-c9f1167ba3d4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.582260 [ 49467 ] {2fed5ae6-8582-4959-95ab-3af131cae9e3} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48960) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.583652 [ 49467 ] {2fed5ae6-8582-4959-95ab-3af131cae9e3} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.616054 [ 49469 ] {1410845a-e652-4902-8759-b97e21b01a5e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48990) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.617163 [ 49469 ] {1410845a-e652-4902-8759-b97e21b01a5e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.687965 [ 32818 ] {3fe9b301-f847-434d-9f20-7b26b8612149} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48996) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.689540 [ 32818 ] {3fe9b301-f847-434d-9f20-7b26b8612149} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.690011 [ 49466 ] {c9d2051c-f3ca-431b-8e3a-e45da73ee915} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49008) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.691308 [ 49466 ] {c9d2051c-f3ca-431b-8e3a-e45da73ee915} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.705486 [ 49470 ] {df1f11bd-8402-4f3f-a7d8-0c95abdc940a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49024) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.712509 [ 49470 ] {df1f11bd-8402-4f3f-a7d8-0c95abdc940a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.718112 [ 49471 ] {9cf2d04b-ff20-4496-97e0-e588d533112f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49034) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.719358 [ 49471 ] {9cf2d04b-ff20-4496-97e0-e588d533112f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.744084 [ 49472 ] {2ad26b3a-ec3e-4e11-bfd8-dcaeda96b762} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49042) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.745623 [ 49472 ] {2ad26b3a-ec3e-4e11-bfd8-dcaeda96b762} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.772646 [ 49475 ] {1b638d80-8576-4ad1-b539-c2158ff6f2eb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49060) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.774209 [ 49475 ] {1b638d80-8576-4ad1-b539-c2158ff6f2eb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.791037 [ 49468 ] {a45713e2-a89a-4a60-af11-e410e6e0b488} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49046) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.798029 [ 49468 ] {a45713e2-a89a-4a60-af11-e410e6e0b488} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.947541 [ 3831 ] {} ExternalDictionariesLoader: Could not load external dictionary 'fc540a51-057c-4328-a187-000596eecd12', next update is scheduled at 2024-05-01 15:02:36: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:02:30.990068 [ 49469 ] {df84f290-b165-4108-8988-defec1dfd94f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49074) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:30.991791 [ 49469 ] {df84f290-b165-4108-8988-defec1dfd94f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.010179 [ 49468 ] {47437253-40c3-452d-9a08-8c1511b24f76} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49080) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.011811 [ 49468 ] {47437253-40c3-452d-9a08-8c1511b24f76} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.054802 [ 32818 ] {2a2f36e3-4bf9-4543-afaf-e856b335cf24} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49088) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.056268 [ 32818 ] {2a2f36e3-4bf9-4543-afaf-e856b335cf24} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.083651 [ 49466 ] {88e6e486-21b9-462e-a053-5872b37d8a70} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49102) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.084279 [ 49470 ] {b88604bc-3b39-44d1-aabe-9c2ed618536e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49106) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.085204 [ 49466 ] {88e6e486-21b9-462e-a053-5872b37d8a70} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.086284 [ 49470 ] {b88604bc-3b39-44d1-aabe-9c2ed618536e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.130058 [ 49471 ] {54642c24-b172-489c-9bca-bde0896c4e7c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49110) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.131471 [ 49471 ] {54642c24-b172-489c-9bca-bde0896c4e7c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.133454 [ 49472 ] {a7e2be67-978e-430c-8be1-391b8516219d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49124) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.141620 [ 49472 ] {a7e2be67-978e-430c-8be1-391b8516219d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.157035 [ 49475 ] {b75d19de-00dd-4af5-ab0e-22f50eeb5bc6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49126) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.158592 [ 49475 ] {b75d19de-00dd-4af5-ab0e-22f50eeb5bc6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.190740 [ 49469 ] {95ddf5de-15d4-4c0d-8549-876cd841e236} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49138) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.191826 [ 49469 ] {95ddf5de-15d4-4c0d-8549-876cd841e236} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.220958 [ 49478 ] {acb4e5c5-ed91-4453-9dab-600a33c0e5d9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49162) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.221000 [ 49468 ] {945ee354-97c1-462d-abcf-72eaaf278cf8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49146) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.222258 [ 49478 ] {acb4e5c5-ed91-4453-9dab-600a33c0e5d9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.223296 [ 49468 ] {945ee354-97c1-462d-abcf-72eaaf278cf8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.279757 [ 32818 ] {7e3a0f22-9c3d-4811-80e4-3cc7e0e76177} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49172) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.281255 [ 32818 ] {7e3a0f22-9c3d-4811-80e4-3cc7e0e76177} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.442901 [ 49468 ] {d9c3a716-0a73-4b41-bfb3-8c65a79c6376} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49176) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.444621 [ 49468 ] {d9c3a716-0a73-4b41-bfb3-8c65a79c6376} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.448627 [ 49469 ] {64f687ca-77b0-4bcd-b6ee-d566089d6fe7} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49188) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.449987 [ 49469 ] {64f687ca-77b0-4bcd-b6ee-d566089d6fe7} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.518417 [ 32818 ] {9ac3d897-d12a-4dd7-84d0-55ef15976a91} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49204) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.519881 [ 32818 ] {9ac3d897-d12a-4dd7-84d0-55ef15976a91} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.522845 [ 49466 ] {baaaf85b-fc73-4faf-92b1-8d9d6bb5c787} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49206) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.524120 [ 49466 ] {baaaf85b-fc73-4faf-92b1-8d9d6bb5c787} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.560491 [ 49470 ] {0324314a-35ea-4551-b792-2c946ddf0d18} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49222) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.562072 [ 49470 ] {0324314a-35ea-4551-b792-2c946ddf0d18} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.589785 [ 49471 ] {d652c0c7-77b5-4cd6-b348-3cef861df694} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49226) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.591452 [ 49471 ] {d652c0c7-77b5-4cd6-b348-3cef861df694} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.604709 [ 49472 ] {f6c0a132-43f8-4adc-9b00-37cbbe18977a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49240) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.605991 [ 49472 ] {f6c0a132-43f8-4adc-9b00-37cbbe18977a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.609275 [ 49475 ] {adfce68a-5845-4e10-b5db-77b01886ecdf} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49246) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.610528 [ 49475 ] {adfce68a-5845-4e10-b5db-77b01886ecdf} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.637849 [ 49468 ] {a57c8193-2356-4be3-acea-dd05f71e6d05} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49256) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.639039 [ 49468 ] {a57c8193-2356-4be3-acea-dd05f71e6d05} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.698556 [ 49469 ] {878f24db-05a4-486a-861b-949f6114dc5f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49270) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.700368 [ 49469 ] {878f24db-05a4-486a-861b-949f6114dc5f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.714537 [ 49478 ] {1cb797cf-9773-48e3-b459-27a1787b5bfe} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49286) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.715975 [ 49478 ] {1cb797cf-9773-48e3-b459-27a1787b5bfe} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.776903 [ 32818 ] {387afb3f-a701-44f0-adbd-432d72f84fa4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49298) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.778344 [ 32818 ] {387afb3f-a701-44f0-adbd-432d72f84fa4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.895603 [ 49466 ] {c76f1ce3-dce5-4336-978c-f0e6c7a1cb04} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49312) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.899598 [ 49466 ] {c76f1ce3-dce5-4336-978c-f0e6c7a1cb04} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.913540 [ 49470 ] {3f349f56-45e5-4d9f-b29b-f2ac1362e2c8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49324) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.914766 [ 49470 ] {3f349f56-45e5-4d9f-b29b-f2ac1362e2c8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.980569 [ 32818 ] {8268868e-797e-4c58-b19d-780599e6a274} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49340) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:31.982110 [ 32818 ] {8268868e-797e-4c58-b19d-780599e6a274} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.030970 [ 1140 ] {340b3c81-702e-46f8-818a-d7607d5bbd0e} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49364) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.032736 [ 49481 ] {e73d794c-58fc-480c-9bd1-561303bff23b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49356) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.034339 [ 49481 ] {e73d794c-58fc-480c-9bd1-561303bff23b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.036563 [ 1140 ] {340b3c81-702e-46f8-818a-d7607d5bbd0e} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.049459 [ 49467 ] {14b6f1b4-8f52-4307-9d90-615a10fd0df9} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49366) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.050785 [ 49467 ] {14b6f1b4-8f52-4307-9d90-615a10fd0df9} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.083521 [ 49466 ] {2f91a6b7-e066-4763-9830-32be4a5caede} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49380) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.085143 [ 49466 ] {2f91a6b7-e066-4763-9830-32be4a5caede} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.118499 [ 49468 ] {a552c628-48ca-46c9-b969-d04316fc507b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49394) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.119851 [ 49468 ] {a552c628-48ca-46c9-b969-d04316fc507b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.127162 [ 49470 ] {70f359f9-16b2-4416-a6e5-a3ead7312fed} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49392) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.128707 [ 49470 ] {70f359f9-16b2-4416-a6e5-a3ead7312fed} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.204001 [ 32818 ] {81b698f2-8434-4e6b-bcfb-fe7d9e71ce5f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49406) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.205600 [ 32818 ] {81b698f2-8434-4e6b-bcfb-fe7d9e71ce5f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.230301 [ 1140 ] {ea9d3317-a20e-42f5-9de7-c90984fdae37} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49420) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.231999 [ 1140 ] {ea9d3317-a20e-42f5-9de7-c90984fdae37} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.236957 [ 49481 ] {fed82d48-9c99-4c34-9455-29042a89d571} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49418) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.238565 [ 49481 ] {fed82d48-9c99-4c34-9455-29042a89d571} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.358420 [ 49466 ] {d2692736-57a2-4194-ab46-a7fafcc9e640} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49428) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.360021 [ 49466 ] {d2692736-57a2-4194-ab46-a7fafcc9e640} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.414833 [ 49470 ] {1a498039-9fd9-4642-93bd-951c2d1f09ef} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49432) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.418106 [ 49470 ] {1a498039-9fd9-4642-93bd-951c2d1f09ef} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.490108 [ 32818 ] {fe85d3ec-56f6-4343-8f59-f1f5bffe1a3f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49438) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.491295 [ 32818 ] {fe85d3ec-56f6-4343-8f59-f1f5bffe1a3f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.516517 [ 49481 ] {67d9917d-a4f0-480b-98e1-3dc39fc7697f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49442) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.517749 [ 49481 ] {67d9917d-a4f0-480b-98e1-3dc39fc7697f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.520951 [ 1140 ] {65ae8ab6-8962-4bd9-92b0-e874121831bb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49454) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.522029 [ 1140 ] {65ae8ab6-8962-4bd9-92b0-e874121831bb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.550262 [ 49467 ] {5a0c445c-17a2-4d41-8a6b-a440679543a4} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49460) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.551519 [ 49467 ] {5a0c445c-17a2-4d41-8a6b-a440679543a4} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.562936 [ 49468 ] {ba2fc041-e215-4773-9dea-92398b8cf7cb} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49466) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.563993 [ 49468 ] {ba2fc041-e215-4773-9dea-92398b8cf7cb} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.592323 [ 49466 ] {23dca541-a863-44f8-9235-cbed450290e1} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49472) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.593842 [ 49466 ] {23dca541-a863-44f8-9235-cbed450290e1} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.613560 [ 49470 ] {36d59fc8-e304-4756-9618-63d6cf9f0f0b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49486) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.614646 [ 49470 ] {36d59fc8-e304-4756-9618-63d6cf9f0f0b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.658587 [ 49469 ] {02436c0b-4a35-4364-bb27-815f22ac0d1d} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49496) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.660237 [ 49469 ] {02436c0b-4a35-4364-bb27-815f22ac0d1d} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.689814 [ 32818 ] {3f46a91e-7860-4b9a-85cf-feb58956ba7c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49512) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.691071 [ 32818 ] {3f46a91e-7860-4b9a-85cf-feb58956ba7c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.759479 [ 49481 ] {872d49ed-5bad-48ba-b1c2-83eaedb5a3a2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49528) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.760818 [ 49481 ] {872d49ed-5bad-48ba-b1c2-83eaedb5a3a2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.836302 [ 49466 ] {6092d886-78dd-429f-ad08-d276ae4fd745} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49530) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.840616 [ 49466 ] {6092d886-78dd-429f-ad08-d276ae4fd745} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.871834 [ 49470 ] {56c72e2a-a604-49b1-a576-744bfb30fa76} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49544) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.873288 [ 49470 ] {56c72e2a-a604-49b1-a576-744bfb30fa76} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.935033 [ 32818 ] {a0046e86-203c-461e-8939-b7f12c0e7afe} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49558) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.936581 [ 32818 ] {a0046e86-203c-461e-8939-b7f12c0e7afe} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.975141 [ 49481 ] {48c04c80-bda5-4801-adfd-f31588e5dbe6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49560) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.976604 [ 49481 ] {48c04c80-bda5-4801-adfd-f31588e5dbe6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.988897 [ 1140 ] {bc9caff8-e55b-46e8-98ff-f12e31389023} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49570) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:32.990186 [ 1140 ] {bc9caff8-e55b-46e8-98ff-f12e31389023} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.008546 [ 49467 ] {5cfd55f1-377b-4fb6-9d59-a3860b7bf176} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49578) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.011321 [ 49467 ] {5cfd55f1-377b-4fb6-9d59-a3860b7bf176} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.031257 [ 49466 ] {f07246e8-6f4f-40b2-84cb-316f865d3a09} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49590) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.032541 [ 49466 ] {f07246e8-6f4f-40b2-84cb-316f865d3a09} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.057278 [ 49468 ] {4a45de53-ba74-4002-8a00-b7d316241185} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49600) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.058802 [ 49468 ] {4a45de53-ba74-4002-8a00-b7d316241185} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.077106 [ 49469 ] {84e29b62-b22e-42a4-a3a4-e245b9325f9f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49612) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.078317 [ 49469 ] {84e29b62-b22e-42a4-a3a4-e245b9325f9f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.173331 [ 49471 ] {3e09cc7e-c193-4898-bcbf-40e62b2c0f6f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49622) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.175479 [ 49472 ] {f0f16199-6af2-4baf-8e77-9b651caecaff} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49628) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.176622 [ 49472 ] {f0f16199-6af2-4baf-8e77-9b651caecaff} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.179975 [ 49471 ] {3e09cc7e-c193-4898-bcbf-40e62b2c0f6f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.240609 [ 49475 ] {763816c3-b61e-4e85-9af5-d2a0d1cb4b60} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49636) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.241655 [ 49475 ] {763816c3-b61e-4e85-9af5-d2a0d1cb4b60} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.277020 [ 49469 ] {5a8adbea-0e78-4fe8-8095-416942a2176f} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49638) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.278362 [ 49469 ] {5a8adbea-0e78-4fe8-8095-416942a2176f} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.344306 [ 49468 ] {d7a25c51-937a-432d-98ae-a137b250f1df} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49642) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.346207 [ 49468 ] {d7a25c51-937a-432d-98ae-a137b250f1df} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.398355 [ 49471 ] {5b04c682-af82-472c-8e8b-28e5867dc8e2} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49646) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.399593 [ 49471 ] {5b04c682-af82-472c-8e8b-28e5867dc8e2} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.446100 [ 49472 ] {4fbfe0e7-9d34-426c-bcc6-063a5baa587b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49662) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.447835 [ 49472 ] {4fbfe0e7-9d34-426c-bcc6-063a5baa587b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.458184 [ 49469 ] {b8e126b2-ce61-4ef3-9cda-7a54634ab791} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49674) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.459324 [ 49469 ] {b8e126b2-ce61-4ef3-9cda-7a54634ab791} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.463525 [ 49475 ] {108f4573-5aef-4158-a175-b6db3de9174c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49682) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.464693 [ 49475 ] {108f4573-5aef-4158-a175-b6db3de9174c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.533275 [ 49468 ] {6086b998-ad32-4583-ac3c-4afaaa1ebb80} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49688) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.534952 [ 49468 ] {6086b998-ad32-4583-ac3c-4afaaa1ebb80} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.536738 [ 49478 ] {6e0ef225-664f-44dc-9c89-1bf45232afca} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49686) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.537928 [ 49478 ] {6e0ef225-664f-44dc-9c89-1bf45232afca} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.598557 [ 49471 ] {acbd522b-a95f-4134-910c-e9ab34a2367a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49696) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.599924 [ 49471 ] {acbd522b-a95f-4134-910c-e9ab34a2367a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.616991 [ 32818 ] {0266ac2a-8040-4e81-86c7-8e3fd854a5f6} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49710) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.618257 [ 32818 ] {0266ac2a-8040-4e81-86c7-8e3fd854a5f6} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.629437 [ 49472 ] {f3c359bb-52ad-4897-a0a2-f4248dadff95} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49712) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.630608 [ 49472 ] {f3c359bb-52ad-4897-a0a2-f4248dadff95} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.683329 [ 49469 ] {b313b310-6e9c-4d80-8857-e575d06ca608} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49718) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.684743 [ 49469 ] {b313b310-6e9c-4d80-8857-e575d06ca608} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.725866 [ 49468 ] {25fc99cb-e877-4ae6-b72b-d0be50093918} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49720) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.726973 [ 49468 ] {25fc99cb-e877-4ae6-b72b-d0be50093918} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.768402 [ 49475 ] {b1bb6d61-91dc-4fa9-b5a3-412df783ea1a} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49730) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.770179 [ 49475 ] {b1bb6d61-91dc-4fa9-b5a3-412df783ea1a} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.859557 [ 49471 ] {3fc80cbb-bd4f-46b1-95d8-4782ecf9d7e8} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49734) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.861855 [ 49471 ] {3fc80cbb-bd4f-46b1-95d8-4782ecf9d7e8} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.904535 [ 49469 ] {bc2af200-65a1-4fb6-a9f2-e65be92790be} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49748) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.905801 [ 49469 ] {bc2af200-65a1-4fb6-a9f2-e65be92790be} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.930348 [ 49468 ] {67b2dff2-fcf6-489d-9925-c53cc46cff23} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49754) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.931780 [ 49468 ] {67b2dff2-fcf6-489d-9925-c53cc46cff23} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.935345 [ 49472 ] {e9813e41-14d8-4026-9078-d038a523566b} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49760) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.936544 [ 49472 ] {e9813e41-14d8-4026-9078-d038a523566b} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.989077 [ 49475 ] {8ba812f0-3053-470d-8745-f104bf6d9a6c} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49762) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:33.992501 [ 49475 ] {8ba812f0-3053-470d-8745-f104bf6d9a6c} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:34.002543 [ 49478 ] {03dacb69-9be9-4471-9fa5-d3dda08e5387} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49764) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:34.003936 [ 49478 ] {03dacb69-9be9-4471-9fa5-d3dda08e5387} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:34.048108 [ 32818 ] {932a2583-79f6-4d50-9d94-ceca47399b55} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49770) (comment: 01542_dictionary_load_exception_race.sh) (in query: SELECT dictGetString('ordinary_db.dict1', 'third_column', toUInt64(rand() % 1000)) from numbers(2)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:34.049127 [ 32818 ] {932a2583-79f6-4d50-9d94-ceca47399b55} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: while executing 'FUNCTION dictGetString('ordinary_db.dict1' :: 0, 'third_column' :: 1, toUInt64(modulo(rand(), 1000)) :: 3) -> dictGetString('ordinary_db.dict1', 'third_column', toUInt64(modulo(rand(), 1000))) String : 4'. (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 13. DB::FlatDictionary::loadData() @ 0x00000000142b4cfb in /usr/bin/clickhouse 14. DB::FlatDictionary::FlatDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::FlatDictionary::Configuration, std::shared_ptr) @ 0x00000000142b45c8 in /usr/bin/clickhouse 15. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x00000000142cf8a3 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 17. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 18. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 19. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 23. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 25. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 26. ? @ 0x00007f5975bcaac3 in ? 27. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:02:34.101808 [ 32818 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:49770). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:02:34.104430 [ 49475 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:49762). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:02:34.105945 [ 49478 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:49764). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:04:02.880782 [ 49468 ] {50950-12264-2} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:49820). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49820) (comment: 01541_max_memory_usage_for_user_long.sh) (in query: SELECT sleepEachRow(1) FROM numbers(600)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001af0b542 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:919: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af079f9 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:02.882927 [ 49468 ] {50950-12264-2} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:49820). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:04:02.883205 [ 49468 ] {50950-12264-2} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:49820). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:0: DB::TCPHandler::getQueryCancellationStatus() @ 0x000000001af0b542 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:919: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af079f9 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:02.883815 [ 49468 ] {50950-12264-2} TCPHandler: Client has gone away. 2024.05.01 15:04:04.780412 [ 49469 ] {e96fa930-5bf8-49be-8c9c-9e5e5923fcea} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE primary_key_test; to attach existing table or CREATE TABLE primary_key_test
; to create new table or ATTACH TABLE primary_key_test FROM '/path/to/data/'
; to create new table and attach data. 2024.05.01 15:04:04.856243 [ 49469 ] {c48bedb2-56ac-42e0-a1ee-30dc1ea7fc3a} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE primary_key_test; to attach existing table or CREATE TABLE primary_key_test
; to create new table or ATTACH TABLE primary_key_test FROM '/path/to/data/'
; to create new table and attach data. 2024.05.01 15:04:04.940551 [ 49469 ] {12e20ab9-856b-4bc7-868d-df48cf1eaed4} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE primary_key_test; to attach existing table or CREATE TABLE primary_key_test
; to create new table or ATTACH TABLE primary_key_test FROM '/path/to/data/'
; to create new table and attach data. 2024.05.01 15:04:05.028942 [ 49469 ] {97bfa8b0-207c-4209-8ce6-01f27f6a33e5} InterpreterCreateQuery: ATTACH TABLE query with full table definition is not recommended: use either ATTACH TABLE primary_key_test; to attach existing table or CREATE TABLE primary_key_test
; to create new table or ATTACH TABLE primary_key_test FROM '/path/to/data/'
; to create new table and attach data. 2024.05.01 15:04:05.187324 [ 49469 ] {1c1e4a20-f32f-406d-811c-2c18e6133176} executeQuery: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42668) (comment: 01516_create_table_primary_key.sql) (in query: CREATE TABLE primary_key_test (`v1` Int64, `v2` Int32, `v3` String) ENGINE = ReplacingMergeTree PRIMARY KEY (v1, gcd(v1, v2)) ORDER BY v1 SETTINGS index_granularity = 23451, min_bytes_for_wide_part = 0, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 19586, prefer_fetch_merged_part_size_threshold = 7797910349, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 1, index_granularity_bytes = 20727045, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 29149, primary_key_compress_block_size = 39440), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x0000000008ef02c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:500: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8250ea in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:05.188369 [ 49469 ] {1c1e4a20-f32f-406d-811c-2c18e6133176} TCPHandler: Code: 36. DB::Exception: Primary key must be a prefix of the sorting key, but its length: 2 is greater than the sorting key length: 1. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, unsigned long&, unsigned long&) @ 0x0000000008ef02c6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:500: DB::MergeTreeData::checkProperties(DB::StorageInMemoryMetadata const&, DB::StorageInMemoryMetadata const&, bool, bool, std::shared_ptr) const @ 0x000000001a8250ea in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/MergeTreeData.cpp:621: DB::MergeTreeData::MergeTreeData(DB::StorageID const&, DB::StorageInMemoryMetadata const&, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool, bool, std::function) @ 0x000000001a81fc6a in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/StorageMergeTree.cpp:101: DB::StorageMergeTree::StorageMergeTree(DB::StorageID const&, String const&, DB::StorageInMemoryMetadata const&, bool, std::shared_ptr, String const&, DB::MergeTreeData::MergingParams const&, std::unique_ptr>, bool) @ 0x000000001ac6c514 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: std::shared_ptr std::allocate_shared[abi:v15000], DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>, bool const&, void>(std::allocator const&, DB::StorageID const&, String const&, DB::StorageInMemoryMetadata&, bool const&, std::shared_ptr&, String&, DB::MergeTreeData::MergingParams&, std::unique_ptr>&&, bool const&) @ 0x000000001ac6bc57 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:0: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac68473 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 9. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 16. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 21. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.191021 [ 51359 ] {34864be5-a21b-4dc5-8e7d-9019612f0b9b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53660) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.191102 [ 51360 ] {5b38fe7d-e842-45f1-9ecf-fcaa083aebd2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53662) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.191036 [ 51361 ] {8cd6f93a-b414-42e0-a78b-9396bc7ab5ab} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53674) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.191250 [ 51362 ] {27a3a3d6-2afc-4795-b807-7b6c030a0dce} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53682) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.191295 [ 51364 ] {6a79d885-89bf-49fd-a709-bde096ee0e42} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53712) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.191303 [ 51363 ] {a15a97b1-ea40-45f6-8e0d-130a3c630f83} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53696) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.191367 [ 49468 ] {57c25e92-ea39-491c-96dc-ce5ea7c5a7fe} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53644) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000007f9f7a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1024: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44cde in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac2964a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.192897 [ 51361 ] {8cd6f93a-b414-42e0-a78b-9396bc7ab5ab} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.193080 [ 51359 ] {34864be5-a21b-4dc5-8e7d-9019612f0b9b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.193178 [ 51360 ] {5b38fe7d-e842-45f1-9ecf-fcaa083aebd2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.193260 [ 51362 ] {27a3a3d6-2afc-4795-b807-7b6c030a0dce} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.193817 [ 51363 ] {a15a97b1-ea40-45f6-8e0d-130a3c630f83} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.193964 [ 51364 ] {6a79d885-89bf-49fd-a709-bde096ee0e42} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_0_0_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.194765 [ 49468 ] {57c25e92-ea39-491c-96dc-ce5ea7c5a7fe} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000007f9f7a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1024: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44cde in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac2964a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.530769 [ 49468 ] {8e1cff21-5475-47b8-897a-a3db28d2c183} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_2_2_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53732) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.532289 [ 49468 ] {8e1cff21-5475-47b8-897a-a3db28d2c183} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_2_2_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.546937 [ 51359 ] {801315b0-d2e6-4dd4-9fd2-b875955365ec} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_2_2_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53734) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.547212 [ 51360 ] {70f03e72-588a-415d-a695-1aaddefe9602} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_2_2_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53742) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.548268 [ 51359 ] {801315b0-d2e6-4dd4-9fd2-b875955365ec} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_2_2_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:12.549406 [ 51360 ] {70f03e72-588a-415d-a695-1aaddefe9602} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_2_2_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:13.080414 [ 51360 ] {24b1dbae-6014-45ec-958e-e75a94bfa881} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53836) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:13.081980 [ 51362 ] {5df93177-d85a-4138-a7d2-99b67579df14} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53858) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:13.082082 [ 51361 ] {bb143de0-1b83-477f-99a6-c19faecd2d70} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53850) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:13.083291 [ 51362 ] {5df93177-d85a-4138-a7d2-99b67579df14} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:13.084182 [ 51361 ] {bb143de0-1b83-477f-99a6-c19faecd2d70} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:13.082165 [ 51360 ] {24b1dbae-6014-45ec-958e-e75a94bfa881} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:13.101231 [ 51364 ] {8565a7d5-69fe-4165-8940-f85f3e2b5ac3} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r2 r3 r4 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:53864) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:13.102768 [ 51364 ] {8565a7d5-69fe-4165-8940-f85f3e2b5ac3} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_3_3_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r2 r3 r4 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:15.319121 [ 51359 ] {c60eddce-b095-43d0-86e5-957b805845f9} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54264) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 6), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000007f9f7a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1024: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44cde in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac2964a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:15.325134 [ 51359 ] {c60eddce-b095-43d0-86e5-957b805845f9} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000007f9f7a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1024: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44cde in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac2964a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:15.868295 [ 51361 ] {78dde592-437f-4547-82aa-487b6d1e0a88} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54378) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 7), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:15.870822 [ 51361 ] {78dde592-437f-4547-82aa-487b6d1e0a88} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_9_9_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:16.451652 [ 51365 ] {e76cde56-52fa-4e94-8495-d87d03dfbace} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54466) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 7), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:16.471206 [ 51365 ] {e76cde56-52fa-4e94-8495-d87d03dfbace} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:16.482225 [ 51366 ] {863f0d95-1e86-4a3f-a455-a8f7406a0fbf} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54482) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 7), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:16.482300 [ 51360 ] {27c4876a-3ad3-4ce7-b4ae-5f61c77ab9f7} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54478) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 7), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:16.483851 [ 51360 ] {27c4876a-3ad3-4ce7-b4ae-5f61c77ab9f7} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:16.483927 [ 51366 ] {863f0d95-1e86-4a3f-a455-a8f7406a0fbf} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:16.486223 [ 49469 ] {35d39bb2-ea51-4cd1-aa0e-b2793a1fb77b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54492) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 8), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:16.487566 [ 49469 ] {35d39bb2-ea51-4cd1-aa0e-b2793a1fb77b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_10_10_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:17.081011 [ 51362 ] {4d37f45e-5558-4e9f-8f77-a50cc910fcfd} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_11_11_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54592) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 8), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:17.082365 [ 51362 ] {4d37f45e-5558-4e9f-8f77-a50cc910fcfd} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_11_11_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:17.083101 [ 51363 ] {cb7b0852-08b3-44a5-b79a-17261ff97b4e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_11_11_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54598) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 9), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:17.085165 [ 51363 ] {cb7b0852-08b3-44a5-b79a-17261ff97b4e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_11_11_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:17.108493 [ 51371 ] {f4a0016b-f52b-4e00-a1ee-f58303b7a2a7} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_11_11_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54602) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 8), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:17.110428 [ 51371 ] {f4a0016b-f52b-4e00-a1ee-f58303b7a2a7} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_11_11_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:17.565702 [ 51371 ] {350d361e-6b31-4a40-8661-6c4728adf0aa} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_12_12_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54704) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 8), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:17.567122 [ 51371 ] {350d361e-6b31-4a40-8661-6c4728adf0aa} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_12_12_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:17.581812 [ 49468 ] {3a5b71ee-7b13-4d12-873a-29fbd1df8918} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_12_12_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54708) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 8), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:17.583080 [ 49468 ] {3a5b71ee-7b13-4d12-873a-29fbd1df8918} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_12_12_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:18.706007 [ 51366 ] {2da70299-ed38-4756-b6e7-308211b4f451} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_14_14_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54916) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:18.710640 [ 51366 ] {2da70299-ed38-4756-b6e7-308211b4f451} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_14_14_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:19.204992 [ 51359 ] {d468391f-4e9f-4c40-adb5-e26007dc12ce} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55008) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 13), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:19.206410 [ 51359 ] {d468391f-4e9f-4c40-adb5-e26007dc12ce} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_15_15_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:19.765052 [ 51362 ] {0c4be33a-06c2-42b4-8100-26eeb4116e84} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_16_16_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55118) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 13), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:19.768011 [ 51362 ] {0c4be33a-06c2-42b4-8100-26eeb4116e84} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_16_16_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:19.834056 [ 49469 ] {a98968d7-fa38-498b-9a0a-889211d3b1c4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_16_16_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55134) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 13), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:19.835764 [ 49469 ] {a98968d7-fa38-498b-9a0a-889211d3b1c4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_16_16_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:19.843172 [ 51364 ] {f11a34c0-43d1-429d-bb57-f218e1157780} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_16_16_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55136) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:19.847842 [ 51365 ] {98b81d09-4cd8-4111-ab6a-a2f5d3280fb3} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_16_16_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55140) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 14), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:19.852465 [ 51364 ] {f11a34c0-43d1-429d-bb57-f218e1157780} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_16_16_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:19.852572 [ 51365 ] {98b81d09-4cd8-4111-ab6a-a2f5d3280fb3} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_16_16_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r4 r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:20.319067 [ 51364 ] {9b1cef3e-bcac-4fa2-a0fd-f4b14d805c86} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55226) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 12), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:20.320626 [ 51364 ] {9b1cef3e-bcac-4fa2-a0fd-f4b14d805c86} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_17_17_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:20.922178 [ 51371 ] {798f48b2-be96-4260-ad82-9cc77a08e141} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_18_18_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:50992) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 16), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:20.923797 [ 51371 ] {798f48b2-be96-4260-ad82-9cc77a08e141} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_18_18_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:20.937277 [ 51362 ] {d00e2d2a-2d65-4bac-a595-6b0631b15801} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_18_18_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r4 r6 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51002) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 15), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:20.938912 [ 51362 ] {d00e2d2a-2d65-4bac-a595-6b0631b15801} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_18_18_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r4 r6 r7 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:21.433835 [ 51362 ] {6dbc2d2a-bd72-4b46-8c75-8f368693acb6} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51076) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 15), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:21.434927 [ 51366 ] {d9adb906-5cac-4918-b5b1-bd507b9c4577} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51080) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 16), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:21.435514 [ 51362 ] {6dbc2d2a-bd72-4b46-8c75-8f368693acb6} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:21.437333 [ 51366 ] {d9adb906-5cac-4918-b5b1-bd507b9c4577} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_19_19_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r6 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:22.066983 [ 51366 ] {8a8c1025-52ea-4fc9-99b0-4fc240b8c712} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r4 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51172) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 18), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:22.068653 [ 51366 ] {8a8c1025-52ea-4fc9-99b0-4fc240b8c712} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r4 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:22.086771 [ 51371 ] {a8df5c07-60c5-47a2-bc0b-64bd399df55c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r4 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51182) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 16), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:22.088182 [ 51371 ] {a8df5c07-60c5-47a2-bc0b-64bd399df55c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_20_20_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r4 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:22.633510 [ 51362 ] {12e6a180-53c1-4a7c-92ac-4c548a2ea6a4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_21_21_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51290) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 19), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:22.635646 [ 51362 ] {12e6a180-53c1-4a7c-92ac-4c548a2ea6a4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_21_21_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:22.643341 [ 51370 ] {017a888f-4f93-4262-8008-00e0a9d8451d} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_21_21_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r3 r4 r5 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51300) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 18), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:22.645094 [ 51370 ] {017a888f-4f93-4262-8008-00e0a9d8451d} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_21_21_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r3 r4 r5 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:23.128933 [ 49468 ] {75d5250d-7e41-4972-a347-6777a82500fa} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51366) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 19), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:23.130458 [ 49468 ] {75d5250d-7e41-4972-a347-6777a82500fa} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:23.132363 [ 49469 ] {2337b82e-e0f8-47ca-ae7d-9799502066ca} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51374) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 17), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:23.133821 [ 49469 ] {2337b82e-e0f8-47ca-ae7d-9799502066ca} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:23.173278 [ 51370 ] {26823700-c76e-4ce1-8738-b1a9c700b897} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r1 r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51378) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 20), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:23.174840 [ 51370 ] {26823700-c76e-4ce1-8738-b1a9c700b897} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_22_22_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r1 r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:24.216712 [ 51360 ] {9ef7715f-41d5-436f-afb0-f1cabddc2693} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51622) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 20), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:24.221153 [ 51360 ] {9ef7715f-41d5-436f-afb0-f1cabddc2693} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:24.265531 [ 51370 ] {8b0dc2a4-77e9-47ce-9dbd-c4d14683647d} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51638) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 21), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:24.267044 [ 51370 ] {8b0dc2a4-77e9-47ce-9dbd-c4d14683647d} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_24_24_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:25.495864 [ 51365 ] {4ec94f7f-9504-407a-8ef9-1e8ced77eb04} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_26_26_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51822) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 23), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:25.498651 [ 51365 ] {4ec94f7f-9504-407a-8ef9-1e8ced77eb04} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_26_26_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:25.499980 [ 51363 ] {3647c913-95eb-4d19-bbd8-f26a19d55a4d} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_26_26_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51826) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 23), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:25.501454 [ 51363 ] {3647c913-95eb-4d19-bbd8-f26a19d55a4d} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_26_26_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:25.546059 [ 49468 ] {1f0b36c8-b22b-4d3c-b1b5-2960523b102b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_26_26_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r3 r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51840) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 24), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:25.547442 [ 49468 ] {1f0b36c8-b22b-4d3c-b1b5-2960523b102b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_26_26_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r3 r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:26.061561 [ 51359 ] {12438c08-c8dc-4a97-9eb4-71e9c07638af} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51968) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 25), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:26.062947 [ 51359 ] {12438c08-c8dc-4a97-9eb4-71e9c07638af} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:26.088277 [ 51361 ] {4ac2ab91-af4f-4a40-a614-1b9e1c7bab35} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:51970) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 22), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:26.089852 [ 51361 ] {4ac2ab91-af4f-4a40-a614-1b9e1c7bab35} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_27_27_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:26.660389 [ 51360 ] {958ae21d-a339-4282-be6d-c7939625e49f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_28_28_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52050) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 24), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:26.661680 [ 51360 ] {958ae21d-a339-4282-be6d-c7939625e49f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_28_28_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:27.185844 [ 51359 ] {900150b9-b5da-482b-b842-b83f30966914} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52166) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 27), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:27.187192 [ 51359 ] {900150b9-b5da-482b-b842-b83f30966914} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:27.205370 [ 51366 ] {a941a45e-a85a-4d80-a206-45474c58263b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52174) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 25), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:27.206808 [ 51366 ] {a941a45e-a85a-4d80-a206-45474c58263b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:27.223645 [ 51370 ] {a6e3c95f-151c-4f1a-a2ed-05cfffdbf794} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52176) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 26), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:27.225514 [ 51370 ] {a6e3c95f-151c-4f1a-a2ed-05cfffdbf794} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_29_29_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:27.709340 [ 51370 ] {d40dca14-0f4f-40f0-b7e4-70934f9eec78} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_30_30_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52274) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 26), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:27.713630 [ 51370 ] {d40dca14-0f4f-40f0-b7e4-70934f9eec78} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_30_30_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:27.743406 [ 51371 ] {62b67cc5-30a7-4b3e-a8e1-df5069356c10} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_30_30_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52284) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 25), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:27.745205 [ 51371 ] {62b67cc5-30a7-4b3e-a8e1-df5069356c10} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_30_30_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:27.758056 [ 51362 ] {002bcf4d-c7b5-424e-b6ac-32621ac63761} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_30_30_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r4 r6 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52296) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 27), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:27.759176 [ 51362 ] {002bcf4d-c7b5-424e-b6ac-32621ac63761} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_30_30_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r4 r6 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:28.281659 [ 51371 ] {0738ab21-6689-402b-942f-e83aa8b82e0c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_31_31_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52382) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 27), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:28.283307 [ 51371 ] {0738ab21-6689-402b-942f-e83aa8b82e0c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_31_31_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:28.288073 [ 51370 ] {8923e9c9-5790-421f-9a02-96b671b11aef} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_31_31_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52368) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 25), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:28.291406 [ 49469 ] {8435ca4c-713b-479b-8878-a09f2a304c25} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_31_31_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52402) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 29), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:28.292474 [ 51370 ] {8923e9c9-5790-421f-9a02-96b671b11aef} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_31_31_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:28.292779 [ 49469 ] {8435ca4c-713b-479b-8878-a09f2a304c25} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_31_31_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:28.352469 [ 51360 ] {20a3f39d-4e23-4bda-9422-2c22a27090f0} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_31_31_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r4 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52414) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 29), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:28.354666 [ 51360 ] {20a3f39d-4e23-4bda-9422-2c22a27090f0} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_31_31_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r4 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:28.892329 [ 51365 ] {53d25014-a413-4e21-b333-9f9429ab42b4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_32_32_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52486) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 29), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:28.893952 [ 51365 ] {53d25014-a413-4e21-b333-9f9429ab42b4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_32_32_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:28.918140 [ 51359 ] {f30d96dd-c0f1-479b-96e6-7079a94d4ee4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_32_32_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r4 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52494) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 27), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:28.919446 [ 51359 ] {f30d96dd-c0f1-479b-96e6-7079a94d4ee4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_32_32_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r4 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:31.113334 [ 51366 ] {ee58deff-7be3-41ca-9200-6c523c9f5522} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37728) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 30), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:31.114067 [ 51363 ] {7e11f9a5-40bd-4355-b4e1-782dcc224443} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37734) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 32), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:31.114692 [ 51366 ] {ee58deff-7be3-41ca-9200-6c523c9f5522} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:31.115445 [ 51363 ] {7e11f9a5-40bd-4355-b4e1-782dcc224443} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:31.143549 [ 49468 ] {09c5f407-09bc-4492-93cb-1a2453fbd1fc} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r4 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37742) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 34), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:31.145142 [ 49468 ] {09c5f407-09bc-4492-93cb-1a2453fbd1fc} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_36_36_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r4 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:31.632070 [ 51361 ] {b4a5a69d-216e-4c9a-8cef-46223600b1f2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_37_37_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37838) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 33), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:31.633788 [ 51361 ] {b4a5a69d-216e-4c9a-8cef-46223600b1f2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_37_37_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:31.636519 [ 51370 ] {c8701ed9-57bf-4cab-9d5b-e3cd02783900} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_37_37_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37846) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 35), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:31.637821 [ 51370 ] {c8701ed9-57bf-4cab-9d5b-e3cd02783900} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_37_37_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:31.670485 [ 51371 ] {e8075eec-9627-4a13-884d-4db540cbd4b6} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_37_37_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37848) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 33), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:31.672309 [ 51371 ] {e8075eec-9627-4a13-884d-4db540cbd4b6} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_37_37_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:32.231430 [ 51364 ] {e2490302-9f2b-49cd-8e09-cee0003deef1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37922) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 36), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:32.234729 [ 51364 ] {e2490302-9f2b-49cd-8e09-cee0003deef1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:32.257540 [ 49468 ] {98069eb8-ced1-48a6-a062-2c3a24877ac1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r2 r3 r4 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37930) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 35), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:32.259137 [ 49468 ] {98069eb8-ced1-48a6-a062-2c3a24877ac1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_38_38_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r2 r3 r4 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:33.845956 [ 51364 ] {881ce320-8cce-4e94-8156-9b7b353d658c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_41_41_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r4 r6 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38236) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 35), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:33.848086 [ 51364 ] {881ce320-8cce-4e94-8156-9b7b353d658c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_41_41_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r4 r6 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:34.340916 [ 51364 ] {8ad30685-0a8e-4946-835a-f29a1cd207b5} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_42_42_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38330) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 38), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:34.352535 [ 51364 ] {8ad30685-0a8e-4946-835a-f29a1cd207b5} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_42_42_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:34.906554 [ 49469 ] {4c414ff1-cd94-4cde-a843-e7ca80ef0019} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_43_43_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38412) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 41), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:34.907940 [ 49469 ] {4c414ff1-cd94-4cde-a843-e7ca80ef0019} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_43_43_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:34.917260 [ 51360 ] {c4e45b64-b7b9-41cc-ae51-ea095abca467} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_43_43_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38416) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 41), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:34.918504 [ 51360 ] {c4e45b64-b7b9-41cc-ae51-ea095abca467} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_43_43_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:35.466741 [ 51359 ] {6b1cd322-d14b-4fb3-b6b5-870d728e1006} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r4 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38530) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 40), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:35.468167 [ 51359 ] {6b1cd322-d14b-4fb3-b6b5-870d728e1006} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_44_44_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r4 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:36.015784 [ 51365 ] {4c812bbe-7f53-47a2-93af-f9b8db350d75} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38658) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 42), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:36.017188 [ 51365 ] {4c812bbe-7f53-47a2-93af-f9b8db350d75} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:36.018704 [ 51364 ] {2e777dbe-1218-4cbf-ba01-5bc6647f5322} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38648) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 43), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:36.019919 [ 51364 ] {2e777dbe-1218-4cbf-ba01-5bc6647f5322} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:36.023494 [ 51359 ] {e6e902a7-d685-4e36-9eb6-ffd6a3dfa22f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38674) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 41), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:36.024679 [ 51359 ] {e6e902a7-d685-4e36-9eb6-ffd6a3dfa22f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_45_45_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:37.191872 [ 51371 ] {d74a8240-c145-4539-bca5-cd05210913e4} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_47_47_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38856) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 43), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:37.193587 [ 51371 ] {d74a8240-c145-4539-bca5-cd05210913e4} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_47_47_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:37.737364 [ 51366 ] {716ea4a2-b77d-4c30-bdaf-209b0df9c79a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_48_48_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38960) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 42), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:37.737404 [ 49469 ] {05085e03-81be-4603-8155-baab0dbe0669} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_48_48_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:38956) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 44), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:37.738891 [ 51366 ] {716ea4a2-b77d-4c30-bdaf-209b0df9c79a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_48_48_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:37.738916 [ 49469 ] {05085e03-81be-4603-8155-baab0dbe0669} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_48_48_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:38.825907 [ 51365 ] {ef20e55a-0249-40a1-812c-f20a25224ae0} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39160) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 48), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:38.828183 [ 51365 ] {ef20e55a-0249-40a1-812c-f20a25224ae0} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:38.888587 [ 51360 ] {5ac4424e-1af1-4614-94e3-bc102c43bcef} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39176) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 48), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:38.890251 [ 51360 ] {5ac4424e-1af1-4614-94e3-bc102c43bcef} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:38.893598 [ 49468 ] {2c553d51-1298-4802-93f1-e5f25869ca72} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r4 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39162) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 48), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:38.895627 [ 49468 ] {2c553d51-1298-4802-93f1-e5f25869ca72} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_50_50_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r4 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:39.443025 [ 51360 ] {67e49e54-af5a-4693-9c95-058e5ef523e5} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_51_51_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39278) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 48), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:39.444924 [ 51360 ] {67e49e54-af5a-4693-9c95-058e5ef523e5} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_51_51_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:39.446540 [ 51359 ] {e73259a3-bf61-4a0e-926d-034b6e19a1d0} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_51_51_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:39294) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 47), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:39.447929 [ 51359 ] {e73259a3-bf61-4a0e-926d-034b6e19a1d0} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_51_51_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:41.121434 [ 51361 ] {7c537a34-260f-4c6d-a8ba-de47d6cc1025} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_54_54_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40068) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 50), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:41.122862 [ 51361 ] {7c537a34-260f-4c6d-a8ba-de47d6cc1025} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_54_54_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:42.200652 [ 51370 ] {a19d4573-a039-47d8-b2e4-a0b64f75368c} executeQuery: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40232) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 54), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000007f9f7a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1024: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44cde in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac2964a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:42.203746 [ 51370 ] {a19d4573-a039-47d8-b2e4-a0b64f75368c} TCPHandler: Code: 286. DB::Exception: Another quorum insert has been already started. (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000007f9f7a6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1024: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()::operator()() const @ 0x000000001ac44cde in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:1052: void DB::ZooKeeperRetriesControl::retryLoop::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'(), DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()>(DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda'()&&, DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool)::'lambda0'()&&) @ 0x000000001ac2b5e8 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::commitPart(std::shared_ptr const&, std::shared_ptr&, String const&, unsigned long, bool) @ 0x000000001ac2aa85 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:423: DB::ReplicatedMergeTreeSinkImpl::finishDelayedChunk(std::shared_ptr const&) @ 0x000000001ac1bcc9 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac2964a in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:42.256788 [ 51361 ] {3899009d-e7d1-4d5b-aa09-73bd92cdd88b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_56_56_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40262) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 54), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:42.258248 [ 51361 ] {3899009d-e7d1-4d5b-aa09-73bd92cdd88b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_56_56_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:42.767568 [ 51364 ] {6eaf639c-79ee-4e41-b7e6-90c28e904b22} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40376) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 54), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:42.768969 [ 51364 ] {6eaf639c-79ee-4e41-b7e6-90c28e904b22} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:42.788009 [ 51366 ] {fd24e6de-a65a-4c17-a946-e5b3ec4c64be} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40384) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 55), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:42.790588 [ 51366 ] {fd24e6de-a65a-4c17-a946-e5b3ec4c64be} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_58_58_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:43.904036 [ 51365 ] {712e135c-fdf9-4a8e-bfee-9947e2e7968c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_60_60_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r4 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40570) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 55), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:43.906390 [ 51365 ] {712e135c-fdf9-4a8e-bfee-9947e2e7968c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_60_60_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r4 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:44.408472 [ 49468 ] {c65cbfc2-b513-48c7-8639-fff258080830} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_61_61_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40674) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 57), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:44.409929 [ 49468 ] {c65cbfc2-b513-48c7-8639-fff258080830} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_61_61_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:44.410898 [ 51362 ] {7ebf355b-bacb-4c35-a70d-a4b6f19f682e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_61_61_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40670) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 55), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:44.412143 [ 51362 ] {7ebf355b-bacb-4c35-a70d-a4b6f19f682e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_61_61_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:44.453569 [ 51370 ] {67c9955c-de98-4774-8e6c-e6fc65f815fd} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_61_61_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r4 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40676) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 55), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:44.454669 [ 51370 ] {67c9955c-de98-4774-8e6c-e6fc65f815fd} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_61_61_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r3 r4 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:44.915167 [ 51364 ] {2fe6b69b-8a57-4c53-b3ab-399410ee587f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_62_62_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40788) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 55), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:44.917702 [ 51364 ] {2fe6b69b-8a57-4c53-b3ab-399410ee587f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_62_62_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:44.976856 [ 51370 ] {950058f9-64bf-447c-bd23-c0697d74a2ad} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_62_62_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40796) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 58), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:44.978528 [ 51370 ] {950058f9-64bf-447c-bd23-c0697d74a2ad} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_62_62_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:45.565991 [ 51366 ] {5306d1c3-6f0d-47dd-b9b8-a6929b13b060} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40896) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 60), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:45.567320 [ 51366 ] {5306d1c3-6f0d-47dd-b9b8-a6929b13b060} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_63_63_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:46.151049 [ 51359 ] {06f9927a-b637-43b0-ab2d-a5dd7aebbb9b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_64_64_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:40984) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 60), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:46.152722 [ 51359 ] {06f9927a-b637-43b0-ab2d-a5dd7aebbb9b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_64_64_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:46.639462 [ 51371 ] {8c3b8cab-98b2-4f86-b92e-028295921995} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41104) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 62), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:46.641090 [ 51371 ] {8c3b8cab-98b2-4f86-b92e-028295921995} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:46.658944 [ 51363 ] {6306ab32-58a1-4822-ad9f-470eeafd9ae8} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41116) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 62), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:46.660186 [ 51363 ] {6306ab32-58a1-4822-ad9f-470eeafd9ae8} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:46.694483 [ 51359 ] {080b9dd9-01cc-424d-8616-28d6c7a0c763} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r6 r7 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41128) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 61), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:46.695805 [ 51359 ] {080b9dd9-01cc-424d-8616-28d6c7a0c763} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_65_65_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r6 r7 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:47.265096 [ 51359 ] {3c194d45-5082-4303-beae-da635d711c47} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_66_66_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41214) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 62), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:47.266450 [ 51359 ] {3c194d45-5082-4303-beae-da635d711c47} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_66_66_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r7 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:47.756631 [ 51371 ] {e1a702b8-8781-4adf-97b9-a42dc6aff4f5} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_67_67_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41318) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 62), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:47.765571 [ 51371 ] {e1a702b8-8781-4adf-97b9-a42dc6aff4f5} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_67_67_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:47.775922 [ 51363 ] {634efe5f-1f2b-4466-9205-bda21dcfc72e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_67_67_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41328) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 60), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:47.779171 [ 51363 ] {634efe5f-1f2b-4466-9205-bda21dcfc72e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_67_67_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:48.365846 [ 49469 ] {e9abefcd-ac91-4bc5-afd5-60ede9589b28} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_68_68_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41428) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 64), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:48.367548 [ 49469 ] {e9abefcd-ac91-4bc5-afd5-60ede9589b28} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_68_68_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:50.056960 [ 51370 ] {bff9c5a8-f6b5-483f-abd7-44a18920e201} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_71_71_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41656) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 65), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:50.058552 [ 51370 ] {bff9c5a8-f6b5-483f-abd7-44a18920e201} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_71_71_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:50.562195 [ 51363 ] {8a1b04d4-d0be-4f43-af51-c01e09c941ec} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_72_72_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44880) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 65), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:50.564297 [ 51363 ] {8a1b04d4-d0be-4f43-af51-c01e09c941ec} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_72_72_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:50.597964 [ 49469 ] {9ac3af7c-8bc1-4345-9aff-2dbc406fc31e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_72_72_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r1 r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44890) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 69), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:50.599389 [ 49469 ] {9ac3af7c-8bc1-4345-9aff-2dbc406fc31e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_72_72_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r1 r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:50.603768 [ 51365 ] {33482d6c-95ae-45f2-9ede-f6dbf6013a28} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_72_72_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r10 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44900) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 69), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:50.605269 [ 51365 ] {33482d6c-95ae-45f2-9ede-f6dbf6013a28} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_72_72_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r10 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:51.071885 [ 49469 ] {ad1c4493-da3f-436f-b909-84c911943733} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_73_73_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44984) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 69), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:51.073447 [ 49469 ] {ad1c4493-da3f-436f-b909-84c911943733} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_73_73_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:51.073925 [ 51365 ] {dc31870b-8b49-44a6-b00d-93d39e64737c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_73_73_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44994) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 69), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:51.075447 [ 51365 ] {dc31870b-8b49-44a6-b00d-93d39e64737c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_73_73_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:51.644317 [ 51361 ] {cb14e13e-a13c-423b-b126-3f7da8ac74ef} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_74_74_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45092) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 70), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:51.645715 [ 51361 ] {cb14e13e-a13c-423b-b126-3f7da8ac74ef} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_74_74_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:52.208329 [ 51363 ] {0ef77d5b-6bfd-4322-8536-18a150ff0a06} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45174) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 72), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:52.209848 [ 51363 ] {0ef77d5b-6bfd-4322-8536-18a150ff0a06} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:52.215862 [ 49468 ] {7ae77573-1a16-4ea1-ab67-8c73a52b6d3e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45188) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 68), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:52.217100 [ 49468 ] {7ae77573-1a16-4ea1-ab67-8c73a52b6d3e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:52.241798 [ 51370 ] {b338f529-a0a5-4136-8fdc-a4d3721981fd} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45196) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 71), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:52.243167 [ 51370 ] {b338f529-a0a5-4136-8fdc-a4d3721981fd} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:52.268319 [ 49469 ] {21a2306f-9560-4e53-809d-801e22cb5a3c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r10 r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45198) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 70), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:52.276459 [ 49469 ] {21a2306f-9560-4e53-809d-801e22cb5a3c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_75_75_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r10 r4 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:52.780340 [ 51365 ] {f19e4690-ce01-4c06-9eec-b51088c57792} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_76_76_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45262) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 72), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:52.781940 [ 51365 ] {f19e4690-ce01-4c06-9eec-b51088c57792} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_76_76_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:53.922552 [ 51361 ] {d84f9d15-7437-44ef-a0f6-95cea5f0c342} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_78_78_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45466) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 74), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:53.924700 [ 51361 ] {d84f9d15-7437-44ef-a0f6-95cea5f0c342} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_78_78_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:54.518843 [ 51360 ] {d2cc9278-8ba5-47f5-8cb3-64f6c8b815a2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_79_79_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45584) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 75), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:54.520826 [ 51360 ] {d2cc9278-8ba5-47f5-8cb3-64f6c8b815a2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_79_79_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.061227 [ 51362 ] {aed82a95-8623-44d5-bfa4-90b78582421c} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_80_80_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45682) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 77), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.068172 [ 51362 ] {aed82a95-8623-44d5-bfa4-90b78582421c} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_80_80_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.081481 [ 49468 ] {653689e2-4b67-4007-9a4a-4209ac165306} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_80_80_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45688) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 76), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.086617 [ 49468 ] {653689e2-4b67-4007-9a4a-4209ac165306} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_80_80_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.092674 [ 51370 ] {24f4bc82-3119-4301-87ea-ad2a01e11a1a} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_80_80_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45694) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 73), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.094469 [ 51370 ] {24f4bc82-3119-4301-87ea-ad2a01e11a1a} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_80_80_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.108762 [ 51364 ] {518dfed7-757c-412d-890f-4e0f9195b525} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_80_80_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45706) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 73), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.111089 [ 51364 ] {518dfed7-757c-412d-890f-4e0f9195b525} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_80_80_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.138889 [ 51359 ] {aed89c50-c56c-4b14-95d2-45e73c1d4666} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_80_80_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r2 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45714) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 75), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.147136 [ 51359 ] {aed89c50-c56c-4b14-95d2-45e73c1d4666} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_80_80_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r2 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.572013 [ 51370 ] {8ec7d0d9-a9b0-427d-aa73-05bc2e6ceb69} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_81_81_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45772) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 73), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.573269 [ 51370 ] {8ec7d0d9-a9b0-427d-aa73-05bc2e6ceb69} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_81_81_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.594996 [ 51364 ] {95c6481a-6407-4855-b0ad-2afbbe520fc7} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_81_81_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45782) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 73), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.596469 [ 51364 ] {95c6481a-6407-4855-b0ad-2afbbe520fc7} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_81_81_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.596942 [ 51359 ] {d495932b-18f6-4ad5-8360-d02524883114} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_81_81_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45796) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 77), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:55.598073 [ 51359 ] {d495932b-18f6-4ad5-8360-d02524883114} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_81_81_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:56.092547 [ 51359 ] {30570b90-56e1-4904-9961-656834d589d2} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_82_82_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45876) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 77), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:56.093892 [ 51359 ] {30570b90-56e1-4904-9961-656834d589d2} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_82_82_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:56.110524 [ 51371 ] {f08442e7-8551-4bca-9f1e-4c8e5e4f7d02} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_82_82_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45886) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 78), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:56.113348 [ 51371 ] {f08442e7-8551-4bca-9f1e-4c8e5e4f7d02} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_82_82_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:56.150008 [ 51363 ] {0bc929d9-d3cf-425c-a508-15b9b849915e} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_82_82_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r10 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45894) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 76), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:56.151619 [ 51363 ] {0bc929d9-d3cf-425c-a508-15b9b849915e} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_82_82_0 required_number_of_replicas: 5 actual_number_of_replicas: 3 replicas: r1 r10 r3 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:56.616853 [ 51363 ] {3d9cea83-05ae-40f9-83af-6202eeb0fe84} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_83_83_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45976) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 76), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:56.618733 [ 51363 ] {3d9cea83-05ae-40f9-83af-6202eeb0fe84} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_83_83_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:58.341046 [ 49469 ] {95014070-4264-4ed4-aebe-d09e9e2ab01f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46240) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 82), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:58.341333 [ 51365 ] {3d422ba4-1899-40ed-bbc6-2322493e9633} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46256) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 82), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:58.342519 [ 49469 ] {95014070-4264-4ed4-aebe-d09e9e2ab01f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:58.342948 [ 51365 ] {3d422ba4-1899-40ed-bbc6-2322493e9633} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_86_86_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:58.857079 [ 51361 ] {184f6351-f05b-4ae5-a0da-8342c1f97e6b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_87_87_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46330) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 83), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:58.858198 [ 51361 ] {184f6351-f05b-4ae5-a0da-8342c1f97e6b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_87_87_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:58.898233 [ 51360 ] {d780f275-d4e6-40ac-a5e2-58457cb1dda0} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_87_87_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46338) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 82), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:04:58.899339 [ 51360 ] {d780f275-d4e6-40ac-a5e2-58457cb1dda0} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_87_87_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:00.497609 [ 51371 ] {04c56a30-b3d7-4a51-b594-bb9886fadfb0} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_90_90_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46628) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 82), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:00.499101 [ 51371 ] {04c56a30-b3d7-4a51-b594-bb9886fadfb0} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_90_90_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:00.505863 [ 51363 ] {5b3664df-be99-4518-8b82-64fde4ca3bf7} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_90_90_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46638) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 82), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:00.507609 [ 51363 ] {5b3664df-be99-4518-8b82-64fde4ca3bf7} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_90_90_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:00.540421 [ 51370 ] {4db66c6b-7349-42f4-9dba-bc06303aa1b0} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_90_90_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r6 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60524) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 83), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:00.541707 [ 51370 ] {4db66c6b-7349-42f4-9dba-bc06303aa1b0} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_90_90_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r6 r8 r9 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:01.056826 [ 49469 ] {e0a1eccb-5353-431b-8764-dc0fabd0a3ff} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60630) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 87), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:01.058299 [ 49469 ] {e0a1eccb-5353-431b-8764-dc0fabd0a3ff} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:01.085347 [ 51365 ] {9f2c936a-6214-4fcc-a7bb-5085c6ef60aa} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60642) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 86), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:01.086901 [ 51365 ] {9f2c936a-6214-4fcc-a7bb-5085c6ef60aa} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:01.150944 [ 51360 ] {75e3ad58-3ec1-4038-89a5-6f7dbd9d33de} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60644) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 87), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:01.159246 [ 51360 ] {75e3ad58-3ec1-4038-89a5-6f7dbd9d33de} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_91_91_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:02.391141 [ 51362 ] {bb46e0db-0e65-4485-8840-80fc32302168} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60818) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 88), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:02.393369 [ 51362 ] {bb46e0db-0e65-4485-8840-80fc32302168} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:02.395091 [ 49468 ] {57138b81-abc7-4a0a-9dbe-8dcc5cd073c1} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60834) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r8 SELECT 89), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:02.396997 [ 49468 ] {57138b81-abc7-4a0a-9dbe-8dcc5cd073c1} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:02.450662 [ 51361 ] {c7bfc3bb-8350-46b6-baba-734aeccfe570} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r4 r7 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60836) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 85), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:02.452107 [ 51361 ] {c7bfc3bb-8350-46b6-baba-734aeccfe570} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_93_93_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r10 r4 r7 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:02.953148 [ 51359 ] {01266e3d-60f2-4c2f-93f1-2bf95b0bbf33} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:60916) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r6 SELECT 88), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:02.954370 [ 51359 ] {01266e3d-60f2-4c2f-93f1-2bf95b0bbf33} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_94_94_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:04.097499 [ 51360 ] {cf8aa245-da00-4d82-8987-cd8c7a315e15} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_96_96_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32852) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 89), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:04.099806 [ 51360 ] {cf8aa245-da00-4d82-8987-cd8c7a315e15} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_96_96_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:04.651909 [ 51365 ] {26ab9605-6805-42f2-ac79-8f58f034d79f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_97_97_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32944) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r5 SELECT 94), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:04.653808 [ 51365 ] {26ab9605-6805-42f2-ac79-8f58f034d79f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_97_97_0 required_number_of_replicas: 5 actual_number_of_replicas: 2 replicas: r10 r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:04.660090 [ 51359 ] {10a0d488-fb8a-49a9-b143-5cda44cb6b6f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_97_97_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r5 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32932) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 89), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:04.661668 [ 51359 ] {10a0d488-fb8a-49a9-b143-5cda44cb6b6f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_97_97_0 required_number_of_replicas: 5 actual_number_of_replicas: 4 replicas: r1 r10 r5 r8 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:05.168398 [ 49468 ] {08844eb8-a7fe-495a-9bb0-b8bd80a455bb} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_98_98_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33056) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r9 SELECT 94), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:05.169873 [ 49468 ] {08844eb8-a7fe-495a-9bb0-b8bd80a455bb} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_98_98_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:06.296223 [ 51371 ] {8bdfe627-c298-42e1-981c-80e8308fe259} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_100_100_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33232) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r7 SELECT 96), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:06.297757 [ 51371 ] {8bdfe627-c298-42e1-981c-80e8308fe259} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_100_100_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:06.885244 [ 51370 ] {bfbe5c35-f34e-4f94-9dd5-3d94c328f94f} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_101_101_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33318) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r1 SELECT 93), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:06.885900 [ 51366 ] {12f3418b-2345-4c93-a760-f4bd58dec37b} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_101_101_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33316) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r4 SELECT 96), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:06.886786 [ 51370 ] {bfbe5c35-f34e-4f94-9dd5-3d94c328f94f} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_101_101_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:06.888054 [ 51366 ] {12f3418b-2345-4c93-a760-f4bd58dec37b} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_101_101_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:06.909167 [ 51364 ] {97557eb9-efbc-48e7-ae1c-e00f60cdf7be} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_101_101_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33324) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r3 SELECT 94), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:06.910953 [ 51364 ] {97557eb9-efbc-48e7-ae1c-e00f60cdf7be} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_101_101_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r10 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:07.486276 [ 51365 ] {fcfe4b09-621e-45ad-88c8-c747ae159f70} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_102_102_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33450) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r10 SELECT 99), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:07.487840 [ 51365 ] {fcfe4b09-621e-45ad-88c8-c747ae159f70} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_102_102_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:07.539694 [ 49468 ] {7816611e-8438-4458-9dfd-bd38b16771dc} executeQuery: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_102_102_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33462) (comment: 01459_manual_write_to_replicas_quorum.sh) (in query: INSERT INTO r2 SELECT 94), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:07.542470 [ 49468 ] {7816611e-8438-4458-9dfd-bd38b16771dc} TCPHandler: Code: 286. DB::Exception: Quorum for previous write has not been satisfied yet. Status: version: 1 part_name: all_102_102_0 required_number_of_replicas: 5 actual_number_of_replicas: 1 replicas: r5 . (UNSATISFIED_QUORUM_FOR_PREVIOUS_WRITE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&) @ 0x000000000827d7f9 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:219: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()::operator()() const @ 0x000000001ac3f2eb in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:61: void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&, void DB::ZooKeeperRetriesControl::retryLoop::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()>(DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&)::'lambda'()&&)::'lambda'()&&) @ 0x000000001ac3d698 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ZooKeeperRetries.h:0: DB::ReplicatedMergeTreeSinkImpl::checkQuorumPrecondition(std::shared_ptr const&) @ 0x000000001ac29e81 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp:0: DB::ReplicatedMergeTreeSinkImpl::consume(DB::Chunk) @ 0x000000001ac27763 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::SinkToStorage::onConsume(DB::Chunk) @ 0x000000001b42a9d8 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001b30692e in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Transforms/ExceptionKeepingTransform.cpp:102: DB::runStep(std::function, DB::ThreadStatus*, std::atomic*) @ 0x000000001b3066ac in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::ExceptionKeepingTransform::work() @ 0x000000001b305e02 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 16. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:05:21.616676 [ 788 ] {} test_bvme8k85.r1 (ReplicatedMergeTreeCleanupThread): Will mark replica 2r1 as lost, because it has stale log pointer: log-0000000000 2024.05.01 15:05:49.383399 [ 816 ] {} test_bvme8k85.r2 (5bcc92ed-fb6e-4bbd-9d7e-a1c467f15b2e): Will mimic 1r1 2024.05.01 15:05:57.991633 [ 933 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5bcc92ed-fb6e-4bbd-9d7e-a1c467f15b2e::all_1627_1726_1}: Code: 234. DB::Exception: No active replica has part all_1627_1726_1 or covering part (cannot execute queue-0000003910: MERGE_PARTS with virtual parts [all_1627_1726_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000017a713ad in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001a29b82e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001ab90ad9 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001ab8f789 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001a818f09 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001a819d31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001a81c102 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:05:58.226919 [ 939 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5bcc92ed-fb6e-4bbd-9d7e-a1c467f15b2e::all_1727_1826_1}: Code: 234. DB::Exception: No active replica has part all_1727_1826_1 or covering part (cannot execute queue-0000003911: MERGE_PARTS with virtual parts [all_1727_1826_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000017a713ad in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001a29b82e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001ab90ad9 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001ab8f789 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001a818f09 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001a819d31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001a81c102 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:05:58.847710 [ 926 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5bcc92ed-fb6e-4bbd-9d7e-a1c467f15b2e::all_2029_2129_1}: Code: 234. DB::Exception: No active replica has part all_2029_2129_1 or covering part (cannot execute queue-0000003914: MERGE_PARTS with virtual parts [all_2029_2129_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000017a713ad in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001a29b82e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001ab90ad9 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001ab8f789 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001a818f09 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001a819d31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001a81c102 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:00.089567 [ 926 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5bcc92ed-fb6e-4bbd-9d7e-a1c467f15b2e::all_2736_2836_1}: Code: 234. DB::Exception: No active replica has part all_2736_2836_1 or covering part (cannot execute queue-0000003921: MERGE_PARTS with virtual parts [all_2736_2836_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000017a713ad in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001a29b82e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001ab90ad9 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001ab8f789 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001a818f09 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001a819d31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001a81c102 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:00.851464 [ 932 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5bcc92ed-fb6e-4bbd-9d7e-a1c467f15b2e::all_3040_3140_1}: Code: 234. DB::Exception: No active replica has part all_3040_3140_1 or covering part (cannot execute queue-0000003925: MERGE_PARTS with virtual parts [all_3040_3140_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000017a713ad in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001a29b82e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001ab90ad9 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001ab8f789 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001a818f09 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001a819d31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001a81c102 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:01.634045 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5bcc92ed-fb6e-4bbd-9d7e-a1c467f15b2e::all_3141_3242_1}: Code: 234. DB::Exception: No active replica has part all_3141_3242_1 or covering part (cannot execute queue-0000003926: MERGE_PARTS with virtual parts [all_3141_3242_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000017a713ad in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001a29b82e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001ab90ad9 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001ab8f789 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001a818f09 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001a819d31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001a81c102 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:02.316366 [ 931 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5bcc92ed-fb6e-4bbd-9d7e-a1c467f15b2e::all_2736_3404_2}: Code: 234. DB::Exception: No active replica has part all_2736_3404_2 or covering part (cannot execute queue-0000003928: MERGE_PARTS with virtual parts [all_2736_3404_2]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000017a713ad in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001a29b82e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001ab90ad9 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001ab8f789 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001a818f09 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001a819d31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001a81c102 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:02.891415 [ 939 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5bcc92ed-fb6e-4bbd-9d7e-a1c467f15b2e::all_3505_3604_1}: Code: 234. DB::Exception: No active replica has part all_3505_3604_1 or covering part (cannot execute queue-0000003930: MERGE_PARTS with virtual parts [all_3505_3604_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000017a713ad in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001a29b82e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001ab90ad9 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001ab8f789 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001a818f09 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001a819d31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001a81c102 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:03.327580 [ 933 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5bcc92ed-fb6e-4bbd-9d7e-a1c467f15b2e::all_3605_3705_1}: Code: 234. DB::Exception: No active replica has part all_3605_3705_1 or covering part (cannot execute queue-0000003931: MERGE_PARTS with virtual parts [all_3605_3705_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000017a713ad in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001a29b82e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001ab90ad9 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001ab8f789 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001a818f09 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001a819d31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001a81c102 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:03.329143 [ 934 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5bcc92ed-fb6e-4bbd-9d7e-a1c467f15b2e::all_3706_3805_1}: Code: 234. DB::Exception: No active replica has part all_3706_3805_1 or covering part (cannot execute queue-0000003932: MERGE_PARTS with virtual parts [all_3706_3805_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000017a713ad in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001a29b82e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001ab90ad9 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001ab8f789 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001a818f09 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001a819d31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001a81c102 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:04.731912 [ 936 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5bcc92ed-fb6e-4bbd-9d7e-a1c467f15b2e::all_4208_4310_1}: Code: 234. DB::Exception: No active replica has part all_4208_4310_1 or covering part (cannot execute queue-0000003937: MERGE_PARTS with virtual parts [all_4208_4310_1]). (NO_REPLICA_HAS_PART), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, String&, String&&) @ 0x0000000017a713ad in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::executeFetch(DB::ReplicatedMergeTreeLogEntry&, bool) @ 0x000000001a29b82e in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:155: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000001ab90ad9 in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:0: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000001ab8f789 in /usr/bin/clickhouse 6. ./build_docker/./src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:284: DB::MergeTreeBackgroundExecutor::routine(std::shared_ptr) @ 0x000000001a818f09 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeBackgroundExecutor::threadFunction() @ 0x000000001a819d31 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef, StrongTypedef, std::basic_string_view>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001a81c102 in /usr/bin/clickhouse 9. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 10. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 12. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:34.819376 [ 927 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:34.820406 [ 927 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:34.838372 [ 926 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:34.839202 [ 926 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:34.860530 [ 937 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:34.861369 [ 937 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:34.886053 [ 937 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:34.886978 [ 937 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:34.908226 [ 932 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:34.908992 [ 932 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:35.149792 [ 927 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:35.150774 [ 927 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:36.068376 [ 938 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:36.069079 [ 938 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:36.466103 [ 928 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:36.466766 [ 928 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:37.173265 [ 931 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:37.173953 [ 931 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:38.202805 [ 930 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:38.203486 [ 930 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:38.747886 [ 939 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:38.748566 [ 939 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:38.891932 [ 938 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:38.892803 [ 938 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:39.235697 [ 924 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:39.236416 [ 924 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:39.721267 [ 925 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:39.721912 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:39.871322 [ 932 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:39.872071 [ 932 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:40.608315 [ 932 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:40.609241 [ 932 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:40.881898 [ 936 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:40.882591 [ 936 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:41.292312 [ 930 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:41.293063 [ 930 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:42.128037 [ 928 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:42.128745 [ 928 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:42.573538 [ 933 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:42.574230 [ 933 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:43.020369 [ 934 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:43.021068 [ 934 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_1}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt64: syntax error at begin of string. Note: there are toUInt64OrZero and toUInt64OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt64' :: 2) -> _CAST(value, 'UInt64') UInt64 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt64, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d47884 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d379e0 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d36726 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt64, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d359c0 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:43.401002 [ 935 ] {} test_9aw547nq.mutation_table (ReplicatedMergeTreeQueue): Mutation with version 1 not found in partition ID 0 (trying to mutate part 0_0_0_0) 2024.05.01 15:06:43.651901 [ 938 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_2 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d24934 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d15480 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d141c6 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d13460 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:43.652774 [ 938 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_2}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d24934 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d15480 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d141c6 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d13460 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:44.513607 [ 929 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_2 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d24934 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d15480 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d141c6 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d13460 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:44.514288 [ 929 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_2}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d24934 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d15480 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d141c6 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d13460 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:44.950155 [ 925 ] {} 5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_2 (MutateFromLogEntryTask): virtual bool DB::ReplicatedMergeMutateTaskBase::executeStep(): Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d24934 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d15480 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d141c6 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d13460 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:44.950856 [ 925 ] {} MergeTreeBackgroundExecutor: Exception while executing background task {5790b055-c953-4401-aa69-3cfeed52461f::0_0_0_0_2}: Code: 6. DB::Exception: Cannot parse string 'hello' as UInt32: syntax error at begin of string. Note: there are toUInt32OrZero and toUInt32OrNull functions, which returns zero/NULL instead of throwing exception.: while executing 'FUNCTION _CAST(value :: 1, 'UInt32' :: 2) -> _CAST(value, 'UInt32') UInt32 : 3': (while reading from part /var/lib/clickhouse/store/579/5790b055-c953-4401-aa69-3cfeed52461f/0_0_0_0_1/ located on disk default of type local): While executing MergeTreeSequentialSource. (CANNOT_PARSE_TEXT), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. DB::throwExceptionForIncompletelyParsedValue(DB::ReadBuffer&, DB::IDataType const&) @ 0x0000000007ca80b3 in /usr/bin/clickhouse 4. COW::immutable_ptr DB::ConvertThroughParsing, DB::NameToUInt32, (DB::ConvertFromStringExceptionMode)0, (DB::ConvertFromStringParsingMode)0>::execute(std::vector> const&, std::shared_ptr const&, unsigned long, void*) @ 0x0000000007d24934 in /usr/bin/clickhouse 5. bool DB::callOnIndexAndDataType, DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007d15480 in /usr/bin/clickhouse 6. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d141c6 in /usr/bin/clickhouse 7. DB::FunctionConvert, DB::NameToUInt32, DB::ToNumberMonotonicity>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007d13460 in /usr/bin/clickhouse 8. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 9. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 11. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 12. DB::IFunctionBase::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000007c82d93 in /usr/bin/clickhouse 13. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::createFunctionAdaptor(std::shared_ptr, std::shared_ptr const&)::'lambda'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x0000000007cb9f1f in /usr/bin/clickhouse 14. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 17. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::ExpressionActions::execute(DB::Block&, bool) const @ 0x0000000018a4c96b in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:119: DB::performRequiredConversions(DB::Block&, DB::NamesAndTypesList const&, std::shared_ptr) @ 0x0000000019a71703 in /usr/bin/clickhouse 21. ./build_docker/./src/Storages/MergeTree/IMergeTreeReader.cpp:0: DB::IMergeTreeReader::performRequiredConversions(std::vector::immutable_ptr, std::allocator::immutable_ptr>>&) const @ 0x000000001aa5bac6 in /usr/bin/clickhouse 22. ./build_docker/./src/Storages/MergeTree/MergeTreeSequentialSource.cpp:0: DB::MergeTreeSequentialSource::generate() @ 0x000000001aa70505 in /usr/bin/clickhouse 23. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 24. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 25. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 26. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 27. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 28. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 29. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 30. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::PartMergerWriter::mutateOriginalPartAndPrepareProjections() @ 0x000000001ab294fa in /usr/bin/clickhouse 31. ./build_docker/./src/Storages/MergeTree/MutateTask.cpp:0: DB::MutateAllPartColumnsTask::executeStep() @ 0x000000001ab470b7 in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:45.885024 [ 51360 ] {f4090b3c-40c5-47cd-8c40-1bf84a957c47} executeQuery: Code: 511. DB::Exception: There is no role `r2_01293` in user directories. (UNKNOWN_ROLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41674) (comment: 01293_create_role.sql) (in query: SHOW CREATE ROLE r2_01293;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:331: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x0000000019affc67 in /usr/bin/clickhouse 6. ./build_docker/./contrib/abseil-cpp/absl/container/internal/compressed_tuple.h:108: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x0000000019afebcc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:0: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x0000000019afdcb9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:0: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x0000000019afdc1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:06:45.885753 [ 51360 ] {f4090b3c-40c5-47cd-8c40-1bf84a957c47} TCPHandler: Code: 511. DB::Exception: There is no role `r2_01293` in user directories. (UNKNOWN_ROLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String const&) @ 0x0000000008b9783c in /usr/bin/clickhouse 3. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::throwNotFound(DB::AccessEntityType, String const&) const @ 0x0000000017e41e9a in /usr/bin/clickhouse 4. ./build_docker/./src/Access/IAccessStorage.cpp:0: DB::IAccessStorage::getID(DB::AccessEntityType, String const&) const @ 0x0000000017e41db7 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:331: DB::InterpreterShowCreateAccessEntityQuery::getEntities() const @ 0x0000000019affc67 in /usr/bin/clickhouse 6. ./build_docker/./contrib/abseil-cpp/absl/container/internal/compressed_tuple.h:108: DB::InterpreterShowCreateAccessEntityQuery::getCreateQueries() const @ 0x0000000019afebcc in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:0: DB::InterpreterShowCreateAccessEntityQuery::executeImpl() @ 0x0000000019afdcb9 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/Access/InterpreterShowCreateAccessEntityQuery.cpp:0: DB::InterpreterShowCreateAccessEntityQuery::execute() @ 0x0000000019afdc1f in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:06:46.815224 [ 51360 ] {83dc60fe-cf6d-41ce-bd00-70ef44fe58ae} executeQuery: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41684) (comment: 01280_ttl_where_group_by_negative.sql) (in query: CREATE TABLE ttl_01280_error (`a` Int, `b` Int, `x` Int64, `y` Int64, `d` DateTime) ENGINE = MergeTree ORDER BY (a, b) TTL d + toIntervalSecond(1) GROUP BY x SET y = max(y) SETTINGS index_granularity = 48583, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 9262, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 3271731562, index_granularity_bytes = 31080675, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 88711, primary_key_compress_block_size = 15166), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x00000000084eaae6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:215: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a496b88 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a4977fa in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac670a7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:06:46.816766 [ 51360 ] {83dc60fe-cf6d-41ce-bd00-70ef44fe58ae} TCPHandler: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x00000000084eaae6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:215: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a496b88 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a4977fa in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac670a7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:06:46.837021 [ 51360 ] {2944b36c-7a14-4eb3-b57d-7fab0fb09568} executeQuery: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41684) (comment: 01280_ttl_where_group_by_negative.sql) (in query: CREATE TABLE ttl_01280_error (`a` Int, `b` Int, `x` Int64, `y` Int64, `d` DateTime) ENGINE = MergeTree ORDER BY (a, b) TTL d + toIntervalSecond(1) GROUP BY b SET y = max(y) SETTINGS index_granularity = 48583, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 9262, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 3271731562, index_granularity_bytes = 31080675, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 88711, primary_key_compress_block_size = 15166), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x00000000084eaae6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:215: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a496b88 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a4977fa in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac670a7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:06:46.837885 [ 51360 ] {2944b36c-7a14-4eb3-b57d-7fab0fb09568} TCPHandler: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x00000000084eaae6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:215: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a496b88 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a4977fa in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac670a7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:06:46.964876 [ 51360 ] {2ed70005-1883-4754-84e1-d88e2c42b17e} executeQuery: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41684) (comment: 01280_ttl_where_group_by_negative.sql) (in query: CREATE TABLE ttl_01280_error (`a` Int, `b` Int, `x` Int64, `y` Int64, `d` DateTime) ENGINE = MergeTree ORDER BY (a, b) TTL d + toIntervalSecond(1) GROUP BY a, b, x SET y = max(y) SETTINGS index_granularity = 48583, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 9262, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 3271731562, index_granularity_bytes = 31080675, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 88711, primary_key_compress_block_size = 15166), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x00000000084eaae6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:207: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a496cd0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a4977fa in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac670a7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:06:46.965843 [ 51360 ] {2ed70005-1883-4754-84e1-d88e2c42b17e} TCPHandler: Code: 450. DB::Exception: TTL Expression GROUP BY key should be a prefix of primary key. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [62]) @ 0x00000000084eaae6 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:207: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a496cd0 in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a4977fa in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac670a7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:06:47.085835 [ 51360 ] {38acbd51-4a37-4a92-9ed2-afb82535aa59} executeQuery: Code: 450. DB::Exception: Multiple aggregations set for one column in TTL Expression. (BAD_TTL_EXPRESSION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41684) (comment: 01280_ttl_where_group_by_negative.sql) (in query: CREATE TABLE ttl_01280_error (`a` Int, `b` Int, `x` Int64, `y` Int64, `d` DateTime) ENGINE = MergeTree ORDER BY (a, b) TTL d + toIntervalSecond(1) GROUP BY a, b SET y = max(y), y = max(y) SETTINGS index_granularity = 48583, min_bytes_for_wide_part = 1073741824, ratio_of_defaults_for_sparse_serialization = 0., merge_max_block_size = 9262, prefer_fetch_merged_part_size_threshold = 10737418240, vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 1, min_merge_bytes_to_use_direct_io = 3271731562, index_granularity_bytes = 31080675, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 88711, primary_key_compress_block_size = 15166), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:239: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a496d0d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a4977fa in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac670a7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:06:47.086948 [ 51360 ] {38acbd51-4a37-4a92-9ed2-afb82535aa59} TCPHandler: Code: 450. DB::Exception: Multiple aggregations set for one column in TTL Expression. (BAD_TTL_EXPRESSION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [59]) @ 0x0000000008e01206 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/TTLDescription.cpp:239: DB::TTLDescription::getTTLFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a496d0d in /usr/bin/clickhouse 4. ./build_docker/./src/Storages/TTLDescription.cpp:342: DB::TTLTableDescription::getTTLForTableFromAST(std::shared_ptr const&, DB::ColumnsDescription const&, std::shared_ptr, DB::KeyDescription const&) @ 0x000000001a4977fa in /usr/bin/clickhouse 5. ./build_docker/./src/Storages/MergeTree/registerStorageMergeTree.cpp:574: DB::create(DB::StorageFactory::Arguments const&) @ 0x000000001ac670a7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: std::shared_ptr std::__function::__policy_invoker (DB::StorageFactory::Arguments const&)>::__call_impl (*)(DB::StorageFactory::Arguments const&), std::shared_ptr (DB::StorageFactory::Arguments const&)>>(std::__function::__policy_storage const*, DB::StorageFactory::Arguments const&) @ 0x0000000017c23084 in /usr/bin/clickhouse 7. ./build_docker/./src/Storages/StorageFactory.cpp:225: DB::StorageFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr, std::shared_ptr, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x000000001a129c4a in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1416: DB::InterpreterCreateQuery::doCreateTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&, std::unique_ptr>&) @ 0x00000000192ae10b in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a62ab in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:06:48.781839 [ 51360 ] {438bc497-a37e-4d85-a1f4-5b22e532e161} executeQuery: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('db_01268.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41700) (comment: 01268_dictionary_direct_layout.sql) (in query: SELECT dictGetUInt64('db_01268.dict1', 'second_column', toUInt64(100500));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. DB::SourceFromQueryPipeline::generate() @ 0x0000000014961c8b in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 20. DB::DirectDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x0000000014953f5b in /usr/bin/clickhouse 21. DB::DirectDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x00000000149564db in /usr/bin/clickhouse 22. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x00000000084e7b4e in /usr/bin/clickhouse 23. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084e43fe in /usr/bin/clickhouse 24. DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084fe52a in /usr/bin/clickhouse 25. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 26. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 27. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 28. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 29. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 30. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 31. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 2024.05.01 15:06:48.782853 [ 51360 ] {438bc497-a37e-4d85-a1f4-5b22e532e161} TCPHandler: Code: 396. DB::Exception: Limit for result exceeded, max bytes: 1.00 B, current bytes: 36.00 B: While processing dictGetUInt64('db_01268.dict1', 'second_column', toUInt64(100500)). (TOO_MANY_ROWS_OR_BYTES), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, char const*&, ReadableSize&&, ReadableSize&&) @ 0x0000000018403400 in /usr/bin/clickhouse 3. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:36: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int, int) const @ 0x0000000018402eb0 in /usr/bin/clickhouse 4. ./build_docker/./src/QueryPipeline/SizeLimits.cpp:65: DB::SizeLimits::check(unsigned long, unsigned long, char const*, int) const @ 0x000000001840305d in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Transforms/LimitsCheckingTransform.cpp:45: DB::LimitsCheckingTransform::transform(DB::Chunk&) @ 0x000000001b323a41 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 9. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 12. DB::SourceFromQueryPipeline::generate() @ 0x0000000014961c8b in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 20. DB::DirectDictionary<(DB::DictionaryKeyType)0>::getColumns(std::vector> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&) const @ 0x0000000014953f5b in /usr/bin/clickhouse 21. DB::DirectDictionary<(DB::DictionaryKeyType)0>::getColumn(String const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, COW::immutable_ptr const&) const @ 0x00000000149564db in /usr/bin/clickhouse 22. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeDictionaryRequest(std::shared_ptr&, std::vector> const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, std::vector, std::allocator>> const&, std::shared_ptr const&, std::vector::immutable_ptr, std::allocator::immutable_ptr>> const&, unsigned long) const @ 0x00000000084e7b4e in /usr/bin/clickhouse 23. DB::FunctionDictGetNoType<(DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084e43fe in /usr/bin/clickhouse 24. DB::FunctionDictGetImpl, DB::NameDictGetUInt64, (DB::DictionaryGetFunctionType)0>::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000084fe52a in /usr/bin/clickhouse 25. DB::IFunction::executeImplDryRun(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84dc4 in /usr/bin/clickhouse 26. DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c84671 in /usr/bin/clickhouse 27. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a573e7 in /usr/bin/clickhouse 28. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::defaultImplementationForConstantArguments(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a56de2 in /usr/bin/clickhouse 29. ./build_docker/./contrib/boost/boost/smart_ptr/detail/operator_bool.hpp:14: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a57374 in /usr/bin/clickhouse 30. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 31. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 2024.05.01 15:06:49.646565 [ 3822 ] {40c063cd-b9a4-47bb-bf71-65eb93f86b52} ExternalDictionariesLoader: Could not load external dictionary 'c8db19ae-2531-4658-a693-2b718f589733', next update is scheduled at 2024-05-01 15:06:54: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column col8 to destination column col8: while executing 'FUNCTION _CAST(col8 :: 7, DateTime('UTC') :: 22) -> _CAST(col8, DateTime('UTC')) DateTime('UTC') : 21'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000007f9f7a6 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x00000000080f4c0d in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x00000000080f48ea in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::loadData() @ 0x000000001432c99c in /usr/bin/clickhouse 19. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000001432c010 in /usr/bin/clickhouse 20. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000001430cd90 in /usr/bin/clickhouse 21. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000001430d641 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:06:49.649169 [ 51360 ] {40c063cd-b9a4-47bb-bf71-65eb93f86b52} executeQuery: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column col8 to destination column col8: while executing 'FUNCTION _CAST(col8 :: 7, DateTime('UTC') :: 22) -> _CAST(col8, DateTime('UTC')) DateTime('UTC') : 21': while executing 'FUNCTION dictHas('test_dict_db.table1_dict' :: 5, tuple(col1, col2, col3, col4, col5) : 6) -> dictHas('test_dict_db.table1_dict', tuple(col1, col2, col3, col4, col5)) UInt8 : 4'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41706) (comment: 01257_dictionary_mismatch_types.sql) (in query: SELECT dictGet('test_dict_db.table1_dict', 'col6', (col1, col2, col3, col4, col5)), dictGet('test_dict_db.table1_dict', 'col7', (col1, col2, col3, col4, col5)), dictGet('test_dict_db.table1_dict', 'col8', (col1, col2, col3, col4, col5)), dictGet('test_dict_db.table1_dict', 'col9', (col1, col2, col3, col4, col5)) FROM test_dict_db.table1 WHERE dictHas('test_dict_db.table1_dict', (col1, col2, col3, col4, col5));), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000007f9f7a6 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x00000000080f4c0d in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x00000000080f48ea in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::loadData() @ 0x000000001432c99c in /usr/bin/clickhouse 19. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000001432c010 in /usr/bin/clickhouse 20. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000001430cd90 in /usr/bin/clickhouse 21. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000001430d641 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 15:06:49.650792 [ 51360 ] {40c063cd-b9a4-47bb-bf71-65eb93f86b52} TCPHandler: Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: while converting source column col8 to destination column col8: while executing 'FUNCTION _CAST(col8 :: 7, DateTime('UTC') :: 22) -> _CAST(col8, DateTime('UTC')) DateTime('UTC') : 21': while executing 'FUNCTION dictHas('test_dict_db.table1_dict' :: 5, tuple(col1, col2, col3, col4, col5) : 6) -> dictHas('test_dict_db.table1_dict', tuple(col1, col2, col3, col4, col5)) UInt8 : 4'. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [47]) @ 0x0000000007f9f7a6 in /usr/bin/clickhouse 3. DB::FunctionCast::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)::operator()(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) const @ 0x00000000080f4c0d in /usr/bin/clickhouse 4. COW::immutable_ptr std::__function::__policy_invoker::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>::__call_impl::prepareRemoveNullable(std::shared_ptr const&, std::shared_ptr const&, bool) const::'lambda0'(std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long), COW::immutable_ptr (std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long)>>(std::__function::__policy_storage const*, std::vector>&, std::shared_ptr const&, DB::ColumnNullable const*, unsigned long) @ 0x00000000080f48ea in /usr/bin/clickhouse 5. DB::ExecutableFunctionCast::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c924b7 in /usr/bin/clickhouse 6. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5812a in /usr/bin/clickhouse 8. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 14. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:149: DB::PipelineExecutor::executeStep(std::atomic*) @ 0x000000001af81ce6 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001af952ff in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x000000001af95621 in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::loadData() @ 0x000000001432c99c in /usr/bin/clickhouse 19. DB::HashedDictionary<(DB::DictionaryKeyType)1, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000001432c010 in /usr/bin/clickhouse 20. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000001430cd90 in /usr/bin/clickhouse 21. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000001430d641 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 26. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 29. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 30. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 31. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 2024.05.01 15:08:16.746216 [ 51360 ] {e615ef07-0208-40f3-bc25-8920fe3fc8fd} executeQuery: Code: 60. DB::Exception: Table `test_01191`.`table` doesn't exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58088) (comment: 01191_rename_dictionary.sql) (in query: RENAME DICTIONARY test_01191.table TO test_01191.table1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000186abd2c in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186417bf in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:16.747203 [ 51360 ] {e615ef07-0208-40f3-bc25-8920fe3fc8fd} TCPHandler: Code: 60. DB::Exception: Table `test_01191`.`table` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000186abd2c in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186417bf in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:16.821665 [ 51360 ] {5b8ed661-4d67-464f-b0a9-a3c1cadbe537} executeQuery: Code: 80. DB::Exception: Use RENAME/EXCHANGE TABLE (instead of RENAME/EXCHANGE DICTIONARY) for tables. (INCORRECT_QUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58088) (comment: 01191_rename_dictionary.sql) (in query: EXCHANGE DICTIONARIES test_01191._ AND test_01191.dict;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x00000000084c9ba6 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseAtomic.cpp:245: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018642524 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:16.822412 [ 51360 ] {5b8ed661-4d67-464f-b0a9-a3c1cadbe537} TCPHandler: Code: 80. DB::Exception: Use RENAME/EXCHANGE TABLE (instead of RENAME/EXCHANGE DICTIONARY) for tables. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x00000000084c9ba6 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseAtomic.cpp:245: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018642524 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:16.903914 [ 51360 ] {b04b931a-cc0e-44e3-b37f-a46bee7e72f5} executeQuery: Code: 80. DB::Exception: Use RENAME/EXCHANGE TABLE (instead of RENAME/EXCHANGE DICTIONARY) for tables. (INCORRECT_QUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58088) (comment: 01191_rename_dictionary.sql) (in query: RENAME DICTIONARY test_01191.t TO test_01191.dict1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x00000000084c9ba6 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseAtomic.cpp:245: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018642524 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:16.904430 [ 51360 ] {b04b931a-cc0e-44e3-b37f-a46bee7e72f5} TCPHandler: Code: 80. DB::Exception: Use RENAME/EXCHANGE TABLE (instead of RENAME/EXCHANGE DICTIONARY) for tables. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [77]) @ 0x00000000084c9ba6 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseAtomic.cpp:245: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018642524 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:16.969829 [ 51360 ] {ad0ec32c-1ae0-459d-a993-3a96f49ca201} executeQuery: Code: 80. DB::Exception: Table test_01191.t is not a Dictionary. (INCORRECT_QUERY) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58088) (comment: 01191_rename_dictionary.sql) (in query: DROP DICTIONARY test_01191.t;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x00000000193909c7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:16.970507 [ 51360 ] {ad0ec32c-1ae0-459d-a993-3a96f49ca201} TCPHandler: Code: 80. DB::Exception: Table test_01191.t is not a Dictionary. (INCORRECT_QUERY), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x00000000193909c7 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:17.633607 [ 51360 ] {5a71f819-4e35-4c70-8b41-9285d943e2f4} executeQuery: Code: 60. DB::Exception: Table `test_zyf59yh8`.`t1` doesn't exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:58100) (comment: 01185_create_or_replace_table.sql) (in query: replace table t1 (n UInt64, s String) engine=MergeTree order by n;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000186abd2c in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:255: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018641902 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateOrReplaceTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&) @ 0x00000000192ab2d5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1241: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a6158 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:17.634519 [ 51360 ] {5a71f819-4e35-4c70-8b41-9285d943e2f4} TCPHandler: Code: 60. DB::Exception: Table `test_zyf59yh8`.`t1` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000186abd2c in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:255: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018641902 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::doCreateOrReplaceTable(DB::ASTCreateQuery&, DB::InterpreterCreateQuery::TableProperties const&) @ 0x00000000192ab2d5 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1241: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a6158 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 12. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 19. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 20. ? @ 0x00007f5975bcaac3 in ? 21. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:33.928074 [ 51366 ] {7c8a122b-775f-4464-80a6-0bc3978d6913} executeQuery: Code: 48. DB::Exception: Value 5 of setting distributed_ddl_entry_format_version is incompatible with cross-replication. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32948) (comment: 01152_cross_replication.sql) (in query: CREATE TABLE demo_loan_01568 ON CLUSTER test_cluster_two_shards_different_databases ( `id` Int64 COMMENT 'id', `date_stat` Date COMMENT 'date of stat', `customer_no` String COMMENT 'customer no', `loan_principal` Float64 COMMENT 'loan principal' ) ENGINE=ReplacingMergeTree() ORDER BY id PARTITION BY toYYYYMM(date_stat);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&>(int, FormatStringHelperImpl&>::type>, DB::SettingFieldNumber&) @ 0x00000000192b880d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1635: DB::InterpreterCreateQuery::prepareOnClusterQuery(DB::ASTCreateQuery&, std::shared_ptr, String const&) @ 0x00000000192b2a72 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x00000000192a9992 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1232: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5c73 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:33.928897 [ 51366 ] {7c8a122b-775f-4464-80a6-0bc3978d6913} TCPHandler: Code: 48. DB::Exception: Value 5 of setting distributed_ddl_entry_format_version is incompatible with cross-replication. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception&>(int, FormatStringHelperImpl&>::type>, DB::SettingFieldNumber&) @ 0x00000000192b880d in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1635: DB::InterpreterCreateQuery::prepareOnClusterQuery(DB::ASTCreateQuery&, std::shared_ptr, String const&) @ 0x00000000192b2a72 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:0: DB::InterpreterCreateQuery::executeQueryOnCluster(DB::ASTCreateQuery&) @ 0x00000000192a9992 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1232: DB::InterpreterCreateQuery::createTable(DB::ASTCreateQuery&) @ 0x00000000192a5c73 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1701: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a98 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:33.950625 [ 1025 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000038: localhost:9000 and localhost:9000. Will use the first one only. 2024.05.01 15:08:33.952175 [ 1025 ] {} DDLWorker: Cannot parse DDL task query-0000000038: Cannot parse query or obtain cluster info. Will try to send error status: Code: 371. DB::Exception: For a distributed DDL on circular replicated cluster its table name must be qualified by database name. (INCONSISTENT_CLUSTER_DEFINITION) (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:08:34.108125 [ 51366 ] {d1eb1321-9b2c-46d1-8328-915a874c0f42} executeQuery: Code: 371. DB::Exception: There was an error on [localhost:9000]: Code: 371. DB::Exception: For a distributed DDL on circular replicated cluster its table name must be qualified by database name. (INCONSISTENT_CLUSTER_DEFINITION) (version 23.8.11.29.altinitystable (altinity build)). (INCONSISTENT_CLUSTER_DEFINITION) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:32948) (comment: 01152_cross_replication.sql) (in query: CREATE TABLE demo_loan_01568 ON CLUSTER test_cluster_two_shards_different_databases ( `id` Int64 COMMENT 'id', `date_stat` Date COMMENT 'date of stat', `customer_no` String COMMENT 'customer no', `loan_principal` Float64 COMMENT 'loan principal' ) ENGINE=ReplacingMergeTree() ORDER BY id PARTITION BY toYYYYMM(date_stat);), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:34.108628 [ 51366 ] {d1eb1321-9b2c-46d1-8328-915a874c0f42} TCPHandler: Code: 371. DB::Exception: There was an error on [localhost:9000]: Code: 371. DB::Exception: For a distributed DDL on circular replicated cluster its table name must be qualified by database name. (INCONSISTENT_CLUSTER_DEFINITION) (version 23.8.11.29.altinitystable (altinity build)). (INCONSISTENT_CLUSTER_DEFINITION), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&, unsigned short&, String&) @ 0x0000000019a47610 in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:714: DB::DDLQueryStatusSource::generate() @ 0x0000000019a4102f in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Chunk.h:90: DB::ISource::tryGenerate() @ 0x000000001af6d0b5 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/optional:344: DB::ISource::work() @ 0x000000001af6cb69 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 7. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 10. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:57: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::CompletedPipelineExecutor::execute()::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af8054c in /usr/bin/clickhouse 11. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:34.167677 [ 1025 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000039: localhost:9000 and localhost:9000. Will use the first one only. 2024.05.01 15:08:34.285355 [ 1025 ] {} DDLWorker: There are two the same ClickHouse instances in task query-0000000040: localhost:9000 and localhost:9000. Will use the first one only. 2024.05.01 15:08:37.533005 [ 54117 ] {0b265858-65b2-4cdf-9b23-64470f580290} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33004) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:37.533902 [ 54117 ] {0b265858-65b2-4cdf-9b23-64470f580290} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:37.942608 [ 51366 ] {76b44ea2-ad32-4aad-a045-3d67ecbee8ef} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33018) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:37.943793 [ 51366 ] {76b44ea2-ad32-4aad-a045-3d67ecbee8ef} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:38.259396 [ 54117 ] {cbbe6ade-7629-4157-a6f2-937ed9f1fabd} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33038) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:38.259995 [ 54117 ] {cbbe6ade-7629-4157-a6f2-937ed9f1fabd} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:38.587899 [ 51366 ] {19f94f3b-2795-4883-b11b-5f76769dcca3} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33046) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:38.589038 [ 51366 ] {19f94f3b-2795-4883-b11b-5f76769dcca3} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:38.970886 [ 54117 ] {bafaa0e6-1a6f-47e8-a62b-666c00f2f7eb} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33074) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:38.971599 [ 54117 ] {bafaa0e6-1a6f-47e8-a62b-666c00f2f7eb} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:39.293667 [ 54117 ] {d4cda3e1-2280-485a-bd0a-dcbfe11751aa} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33082) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:39.294220 [ 54117 ] {d4cda3e1-2280-485a-bd0a-dcbfe11751aa} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:39.632946 [ 54117 ] {fbdc5d3a-1261-4dee-8940-927f43656931} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33100) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:39.633611 [ 54117 ] {fbdc5d3a-1261-4dee-8940-927f43656931} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:39.970038 [ 54117 ] {aaf51de9-b86d-4101-b779-87207447c74b} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33118) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:39.970645 [ 54117 ] {aaf51de9-b86d-4101-b779-87207447c74b} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:40.309960 [ 54117 ] {c5a37522-f038-454f-b58e-a00774c1d592} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33128) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:40.310593 [ 54117 ] {c5a37522-f038-454f-b58e-a00774c1d592} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:41.048199 [ 54117 ] {e993948d-8a2b-4701-82c5-3bd7ad1e71c8} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55658) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:41.048935 [ 54117 ] {e993948d-8a2b-4701-82c5-3bd7ad1e71c8} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:41.369939 [ 51366 ] {83936ccf-3ebc-40ef-ae4e-8d77c8c3de6a} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55674) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:41.370567 [ 51366 ] {83936ccf-3ebc-40ef-ae4e-8d77c8c3de6a} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:41.771743 [ 54117 ] {c89f6f2b-88c9-4ece-8e58-80dc97d30053} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55708) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:41.772383 [ 54117 ] {c89f6f2b-88c9-4ece-8e58-80dc97d30053} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:42.095019 [ 54117 ] {224fb0d9-d227-42d5-9454-5c7fbdb21cc4} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55726) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:42.095684 [ 54117 ] {224fb0d9-d227-42d5-9454-5c7fbdb21cc4} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:42.413831 [ 51366 ] {6b96f996-fc0f-48df-b16e-90eac7573719} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55734) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:42.414542 [ 51366 ] {6b96f996-fc0f-48df-b16e-90eac7573719} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:43.149680 [ 54117 ] {4feabe2a-3e9e-4df5-95e8-d02ed453829f} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55782) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:43.150326 [ 54117 ] {4feabe2a-3e9e-4df5-95e8-d02ed453829f} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:43.508232 [ 54117 ] {064ff0a7-bfc2-43a7-b5f9-69b01da62f72} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55802) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:43.508879 [ 54117 ] {064ff0a7-bfc2-43a7-b5f9-69b01da62f72} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:43.863779 [ 54117 ] {2eba834e-0798-4a6d-8754-3ea0837adf01} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55808) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:43.864437 [ 54117 ] {2eba834e-0798-4a6d-8754-3ea0837adf01} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:44.201500 [ 54117 ] {24bf4d33-2e8e-4584-bdcb-23ff2d3a1193} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55828) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:44.202361 [ 54117 ] {24bf4d33-2e8e-4584-bdcb-23ff2d3a1193} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:44.566861 [ 54117 ] {e8c1cf48-4536-4bee-8b9e-7f977c268cf7} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55840) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:44.567557 [ 54117 ] {e8c1cf48-4536-4bee-8b9e-7f977c268cf7} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:45.229289 [ 51366 ] {5390a0cc-d47e-4cea-a077-cd7357e71d3c} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55858) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:45.229984 [ 51366 ] {5390a0cc-d47e-4cea-a077-cd7357e71d3c} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:45.581885 [ 51366 ] {4c20f9bf-d557-4fc5-8517-01c17bf2b759} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55886) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:45.582485 [ 51366 ] {4c20f9bf-d557-4fc5-8517-01c17bf2b759} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:46.275052 [ 51366 ] {60dfeed3-d878-44f4-9b80-c4806d0d5c1c} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55932) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:46.276026 [ 51366 ] {60dfeed3-d878-44f4-9b80-c4806d0d5c1c} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:46.656633 [ 51366 ] {a752ed01-abd6-41cc-8e2b-7b99cbe05d21} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55946) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:46.657153 [ 51366 ] {a752ed01-abd6-41cc-8e2b-7b99cbe05d21} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:47.064234 [ 51366 ] {e66c950b-17ac-4871-a7e6-d72014e330af} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55964) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:47.064783 [ 51366 ] {e66c950b-17ac-4871-a7e6-d72014e330af} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:47.392483 [ 51366 ] {13ec90f5-a3fc-46f7-8a8c-36bcf3aaabb7} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55972) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:47.393090 [ 51366 ] {13ec90f5-a3fc-46f7-8a8c-36bcf3aaabb7} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:47.805951 [ 54117 ] {c6cf5ade-ac44-490f-8d3b-b70eb3cac2d2} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55990) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:47.806579 [ 54117 ] {c6cf5ade-ac44-490f-8d3b-b70eb3cac2d2} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:48.168576 [ 51366 ] {d3dc2d34-38dd-4fe3-9813-10283310256e} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56006) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:48.169186 [ 51366 ] {d3dc2d34-38dd-4fe3-9813-10283310256e} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:48.493846 [ 51366 ] {70a43bf4-bd73-452b-b58a-abd6f2470c79} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56020) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:48.494407 [ 51366 ] {70a43bf4-bd73-452b-b58a-abd6f2470c79} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:48.819752 [ 51366 ] {904743c4-db39-4c74-8837-018a05cde99f} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56038) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:48.820394 [ 51366 ] {904743c4-db39-4c74-8837-018a05cde99f} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:49.498166 [ 54117 ] {e1c3da83-c886-41f8-9630-c88274dcf44a} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56062) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:49.498718 [ 54117 ] {e1c3da83-c886-41f8-9630-c88274dcf44a} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:49.896236 [ 54117 ] {c6b4d3bb-ad67-4efa-b4cf-0f0707a4bf4e} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56090) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:49.896853 [ 54117 ] {c6b4d3bb-ad67-4efa-b4cf-0f0707a4bf4e} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:50.209872 [ 54117 ] {391e99c6-d1da-4914-ae82-87eca574f7c0} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56110) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:50.210430 [ 54117 ] {391e99c6-d1da-4914-ae82-87eca574f7c0} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:50.609007 [ 51366 ] {705ea454-673d-48bf-99c2-47f0b40afa63} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48040) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:50.609594 [ 51366 ] {705ea454-673d-48bf-99c2-47f0b40afa63} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:51.043658 [ 51366 ] {49e1b417-849b-4a58-a121-66bfc73e3c8b} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48058) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:51.044318 [ 51366 ] {49e1b417-849b-4a58-a121-66bfc73e3c8b} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:51.741603 [ 51366 ] {b371fe9f-16a0-473d-8516-05471fd828de} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48098) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:51.742269 [ 51366 ] {b371fe9f-16a0-473d-8516-05471fd828de} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:52.061891 [ 51366 ] {1a6eed29-6eae-4260-ac62-84dae878b471} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48110) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:52.062583 [ 51366 ] {1a6eed29-6eae-4260-ac62-84dae878b471} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:52.382013 [ 51366 ] {e05bbae3-d290-4cc5-8771-a1ac63625e16} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48132) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:52.382675 [ 51366 ] {e05bbae3-d290-4cc5-8771-a1ac63625e16} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:52.712431 [ 51366 ] {b8134b49-f426-4b84-a387-a7872055a741} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48154) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:52.713081 [ 51366 ] {b8134b49-f426-4b84-a387-a7872055a741} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:53.071744 [ 51366 ] {a31f8772-e33b-4f30-8203-0738579fa90b} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48180) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:53.072369 [ 51366 ] {a31f8772-e33b-4f30-8203-0738579fa90b} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:53.764751 [ 51366 ] {84404903-1efb-4c39-9787-de4862cb6885} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48220) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:53.765440 [ 51366 ] {84404903-1efb-4c39-9787-de4862cb6885} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:54.139678 [ 51366 ] {5b40bec3-8e14-47ee-9e7e-d5fb5ec4e82c} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48238) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:54.140731 [ 51366 ] {5b40bec3-8e14-47ee-9e7e-d5fb5ec4e82c} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:54.480262 [ 51366 ] {9f3d2c13-ea46-4abc-989e-7d8bfe1611ba} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48256) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:54.480907 [ 51366 ] {9f3d2c13-ea46-4abc-989e-7d8bfe1611ba} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:54.827329 [ 51366 ] {b6ca8958-8d28-49e8-80dd-5770e08db012} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48270) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:54.828023 [ 51366 ] {b6ca8958-8d28-49e8-80dd-5770e08db012} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:55.175704 [ 51366 ] {263c6939-b8a1-464e-b128-05efb13f2cab} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48278) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:55.176403 [ 51366 ] {263c6939-b8a1-464e-b128-05efb13f2cab} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:55.828845 [ 51366 ] {46b6fd82-4ff7-4deb-9d68-88ef54a8de70} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48316) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:55.829544 [ 51366 ] {46b6fd82-4ff7-4deb-9d68-88ef54a8de70} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:56.148347 [ 51366 ] {73bab9fd-f6e1-4969-9adb-3a4cbe19f371} executeQuery: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48334) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:56.148876 [ 51366 ] {73bab9fd-f6e1-4969-9adb-3a4cbe19f371} TCPHandler: Code: 57. DB::Exception: Table test_01150.t2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:56.488634 [ 51366 ] {c90d9ca7-83b7-42d4-a827-db960d7e8b02} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48346) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t1 TO test_01150.t2_tmp, test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:56.489319 [ 51366 ] {c90d9ca7-83b7-42d4-a827-db960d7e8b02} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:56.799089 [ 51366 ] {333dd5d8-e54d-4637-89a0-4eb17101d725} executeQuery: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48378) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2 TO test_01150.t1, test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:56.799817 [ 51366 ] {333dd5d8-e54d-4637-89a0-4eb17101d725} TCPHandler: Code: 57. DB::Exception: Table test_01150.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:57.128190 [ 51366 ] {415d900c-6b0e-40d2-9fd8-07544d62acb3} executeQuery: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:48398) (comment: 01150_ddl_guard_rwr.sh) (in query: RENAME TABLE test_01150.t2_tmp TO test_01150.t2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:08:57.128789 [ 51366 ] {415d900c-6b0e-40d2-9fd8-07544d62acb3} TCPHandler: Code: 81. DB::Exception: Database test_01150 does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterRenameQuery.cpp:109: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x000000001952174d in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:02.397846 [ 51366 ] {2c91f109-a579-4387-a5f3-43a7bea8a3cf} executeQuery: Code: 336. DB::Exception: Ordinary database engine is deprecated (see also allow_deprecated_database_ordinary setting). (UNKNOWN_DATABASE_ENGINE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45562) (comment: 01114_database_atomic.sh) (in query: CREATE DATABASE test_01114_1 ENGINE=Ordinary), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [93]) @ 0x0000000017ac6146 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseFactory.cpp:169: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000192c693f in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseFactory.cpp:110: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000192c2ac8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:279: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000019293e75 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1698: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a88 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:02.399281 [ 51366 ] {2c91f109-a579-4387-a5f3-43a7bea8a3cf} TCPHandler: Code: 336. DB::Exception: Ordinary database engine is deprecated (see also allow_deprecated_database_ordinary setting). (UNKNOWN_DATABASE_ENGINE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [93]) @ 0x0000000017ac6146 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseFactory.cpp:169: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000192c693f in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseFactory.cpp:110: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000192c2ac8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:279: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000019293e75 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1698: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a88 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:54.102886 [ 51366 ] {d21ae7d9-b5ad-4108-8e4d-72cba66e4726} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.05.01 15:09:54.103200 [ 51366 ] {d21ae7d9-b5ad-4108-8e4d-72cba66e4726} Application: Connection to conv_main@127.0.0.1:3456 as user metrika failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0) 2024.05.01 15:09:54.103301 [ 51366 ] {d21ae7d9-b5ad-4108-8e4d-72cba66e4726} Application: Connection to mysql failed 1 times 2024.05.01 15:09:54.103680 [ 51366 ] {d21ae7d9-b5ad-4108-8e4d-72cba66e4726} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.05.01 15:09:54.103842 [ 51366 ] {d21ae7d9-b5ad-4108-8e4d-72cba66e4726} Application: Connection to conv_main@127.0.0.1:3456 as user metrika failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0) 2024.05.01 15:09:54.103885 [ 51366 ] {d21ae7d9-b5ad-4108-8e4d-72cba66e4726} Application: Connection to mysql failed 2 times 2024.05.01 15:09:54.104177 [ 51366 ] {d21ae7d9-b5ad-4108-8e4d-72cba66e4726} mysqlxx::Pool: mysqlxx::ConnectionFailed 2024.05.01 15:09:54.104331 [ 51366 ] {d21ae7d9-b5ad-4108-8e4d-72cba66e4726} Application: Connection to conv_main@127.0.0.1:3456 as user metrika failed: mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0) 2024.05.01 15:09:54.104378 [ 51366 ] {d21ae7d9-b5ad-4108-8e4d-72cba66e4726} Application: Connection to mysql failed 3 times 2024.05.01 15:09:54.307643 [ 51366 ] {d21ae7d9-b5ad-4108-8e4d-72cba66e4726} executeQuery: Code: 501. DB::Exception: Cannot create MySQL database, because Poco::Exception. Code: 1000, e.code() = 0, Exception: Connections to mysql failed: conv_main@127.0.0.1:3456 as user metrika, ERROR 2002 : mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/mysqlxx/PoolWithFailover.cpp:214: mysqlxx::PoolWithFailover::get() @ 0x000000001f3a6aaf in /usr/bin/clickhouse 2. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::fetchTablesWithModificationTime(std::shared_ptr) const @ 0x000000001931551f in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::fetchTablesIntoLocalCache(std::shared_ptr) const @ 0x0000000019312fd7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1078: DB::DatabaseMySQL::empty() const @ 0x0000000019312977 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::DatabaseMySQL(std::shared_ptr, String const&, String const&, DB::ASTStorage const*, String const&, std::unique_ptr>, mysqlxx::PoolWithFailover&&, bool) @ 0x00000000193123e2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x00000000192cbaa1 in /usr/bin/clickhouse 7. ./build_docker/./src/Databases/DatabaseFactory.cpp:0: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000192c4e52 in /usr/bin/clickhouse 8. ./build_docker/./src/Databases/DatabaseFactory.cpp:110: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000192c2ac8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:279: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000019293e75 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1698: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a88 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)). (CANNOT_CREATE_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35198) (comment: 01114_mysql_database_engine_segfault.sql) (in query: CREATE DATABASE conv_main ENGINE = MySQL('127.0.0.1:3456', conv_main, 'metrika', '[HIDDEN]')), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseFactory.cpp:266: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000192c75b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseFactory.cpp:110: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000192c2ac8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:279: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000019293e75 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1698: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a88 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:54.308512 [ 51366 ] {d21ae7d9-b5ad-4108-8e4d-72cba66e4726} TCPHandler: Code: 501. DB::Exception: Cannot create MySQL database, because Poco::Exception. Code: 1000, e.code() = 0, Exception: Connections to mysql failed: conv_main@127.0.0.1:3456 as user metrika, ERROR 2002 : mysqlxx::ConnectionFailed: Can't connect to MySQL server on '127.0.0.1' (115) ((nullptr):0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/mysqlxx/PoolWithFailover.cpp:214: mysqlxx::PoolWithFailover::get() @ 0x000000001f3a6aaf in /usr/bin/clickhouse 2. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::fetchTablesWithModificationTime(std::shared_ptr) const @ 0x000000001931551f in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::fetchTablesIntoLocalCache(std::shared_ptr) const @ 0x0000000019312fd7 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1078: DB::DatabaseMySQL::empty() const @ 0x0000000019312977 in /usr/bin/clickhouse 5. ./build_docker/./src/Databases/MySQL/DatabaseMySQL.cpp:0: DB::DatabaseMySQL::DatabaseMySQL(std::shared_ptr, String const&, String const&, DB::ASTStorage const*, String const&, std::unique_ptr>, mysqlxx::PoolWithFailover&&, bool) @ 0x00000000193123e2 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:35: std::shared_ptr std::allocate_shared[abi:v15000], std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>, mysqlxx::PoolWithFailover, bool const&, void>(std::allocator const&, std::shared_ptr&, String const&, String const&, DB::ASTStorage*&, String&, std::unique_ptr>&&, mysqlxx::PoolWithFailover&&, bool const&) @ 0x00000000192cbaa1 in /usr/bin/clickhouse 7. ./build_docker/./src/Databases/DatabaseFactory.cpp:0: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000192c4e52 in /usr/bin/clickhouse 8. ./build_docker/./src/Databases/DatabaseFactory.cpp:110: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000192c2ac8 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:279: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000019293e75 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1698: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a88 in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 13. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 20. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 21. ? @ 0x00007f5975bcaac3 in ? 22. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)). (CANNOT_CREATE_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseFactory.cpp:266: DB::DatabaseFactory::getImpl(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000192c75b0 in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseFactory.cpp:110: DB::DatabaseFactory::get(DB::ASTCreateQuery const&, String const&, std::shared_ptr) @ 0x00000000192c2ac8 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:279: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000019293e75 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterCreateQuery.cpp:1698: DB::InterpreterCreateQuery::execute() @ 0x00000000192b3a88 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.201313 [ 51366 ] {a8e38606-d95e-4182-8a3c-0b95b963bb2b} executeQuery: Code: 60. DB::Exception: Table `test_01109`.`t3` doesn't exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35202) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES t1 AND t3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000186abd2c in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:255: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018641902 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.201877 [ 51366 ] {a8e38606-d95e-4182-8a3c-0b95b963bb2b} TCPHandler: Code: 60. DB::Exception: Table `test_01109`.`t3` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000186abd2c in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:255: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x0000000018641902 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.205900 [ 51366 ] {5e190369-02b6-46eb-8ed8-76e8b118cacd} executeQuery: Code: 60. DB::Exception: Table `test_01109`.`t4` doesn't exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35202) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES t4 AND t2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000186abd2c in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186417bf in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.206388 [ 51366 ] {5e190369-02b6-46eb-8ed8-76e8b118cacd} TCPHandler: Code: 60. DB::Exception: Table `test_01109`.`t4` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000186abd2c in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186417bf in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.209921 [ 51366 ] {181178a4-cf90-4b02-bd43-a96a6c88b3e1} executeQuery: Code: 57. DB::Exception: Table test_01109.t1 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35202) (comment: 01109_exchange_tables.sql) (in query: RENAME TABLE t0 TO t1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.210394 [ 51366 ] {181178a4-cf90-4b02-bd43-a96a6c88b3e1} TCPHandler: Code: 57. DB::Exception: Table test_01109.t1 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.526707 [ 51366 ] {4c44583e-50c4-4eed-b026-a6e50b0c5742} executeQuery: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35202) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES test_01109_other_atomic.t3 AND test_01109_ordinary.t4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x0000000008effa26 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:364: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186325aa in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001864163c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.527539 [ 51366 ] {4c44583e-50c4-4eed-b026-a6e50b0c5742} TCPHandler: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x0000000008effa26 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:364: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186325aa in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:167: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001864163c in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.601686 [ 51366 ] {4959b524-b430-400d-ba1d-ad5707caf0e0} executeQuery: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35202) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES test_01109_ordinary.t4 AND test_01109_other_atomic.t3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x0000000008effa26 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:364: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186325aa in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.602389 [ 51366 ] {4959b524-b430-400d-ba1d-ad5707caf0e0} TCPHandler: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x0000000008effa26 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:364: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186325aa in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.606969 [ 51366 ] {31432afd-862f-4207-95b6-3c6998e0b315} executeQuery: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35202) (comment: 01109_exchange_tables.sql) (in query: EXCHANGE TABLES test_01109_ordinary.t4 AND test_01109_ordinary.t4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x0000000008effa26 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:364: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186325aa in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.607554 [ 51366 ] {31432afd-862f-4207-95b6-3c6998e0b315} TCPHandler: Code: 48. DB::Exception: Tables can be exchanged only in Atomic databases. (NOT_IMPLEMENTED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [49]) @ 0x0000000008effa26 in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabaseOnDisk.cpp:364: DB::DatabaseOnDisk::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186325aa in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.694438 [ 51366 ] {b93f6dce-63a6-4003-a5c8-b0c9bb28d015} executeQuery: Code: 60. DB::Exception: Table `test_01109_rename_exists`.`t0_tmp` doesn't exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:35202) (comment: 01109_exchange_tables.sql) (in query: RENAME TABLE t0_tmp TO t1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000186abd2c in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186417bf in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:09:55.694945 [ 51366 ] {b93f6dce-63a6-4003-a5c8-b0c9bb28d015} TCPHandler: Code: 60. DB::Exception: Table `test_01109_rename_exists`.`t0_tmp` doesn't exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/DatabasesCommon.cpp:0: DB::DatabaseWithOwnTablesBase::getTableUnlocked(String const&) const @ 0x00000000186abd2c in /usr/bin/clickhouse 4. ./build_docker/./src/Databases/DatabaseAtomic.cpp:242: DB::DatabaseAtomic::renameTable(std::shared_ptr, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x00000000186417bf in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521d4e in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:03.577604 [ 51366 ] {d557ea45-ac68-48d7-993d-6b9c714a6fdd} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59486) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_1_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:03.578935 [ 51366 ] {d557ea45-ac68-48d7-993d-6b9c714a6fdd} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:03.711966 [ 54117 ] {7dc30c35-ffa9-4f46-adbb-957ceaa4517e} executeQuery: Code: 57. DB::Exception: Table test_q2pucugl.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59490) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: RENAME TABLE replica_01108_1_tmp TO replica_01108_2, replica_01108_2_tmp TO replica_01108_3, replica_01108_3_tmp TO replica_01108_4, replica_01108_4_tmp TO replica_01108_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:03.713127 [ 54117 ] {7dc30c35-ffa9-4f46-adbb-957ceaa4517e} TCPHandler: Code: 57. DB::Exception: Table test_q2pucugl.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:03.999156 [ 51366 ] {f2223a18-4582-4bb5-b6f4-7dc77c3a8ffa} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_2 is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59496) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:04.000665 [ 51366 ] {f2223a18-4582-4bb5-b6f4-7dc77c3a8ffa} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_2 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:04.398541 [ 51366 ] {f8578439-a19c-440a-99af-b1448cd643c4} executeQuery: Code: 57. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59504) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: RENAME TABLE replica_01108_1 TO replica_01108_1_tmp, replica_01108_2 TO replica_01108_2_tmp, replica_01108_3 TO replica_01108_3_tmp, replica_01108_4 TO replica_01108_4_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:04.399846 [ 51366 ] {f8578439-a19c-440a-99af-b1448cd643c4} TCPHandler: Code: 57. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:05.192337 [ 54117 ] {c1e9ba7b-46a2-4ddd-ab0b-4a56f94e5629} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_3_tmp is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59546) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_3_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:05.193749 [ 54117 ] {c1e9ba7b-46a2-4ddd-ab0b-4a56f94e5629} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_3_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:05.620151 [ 54117 ] {0e1e2036-fa2b-4b17-99fc-28dde87bed4d} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_4 is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59552) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_4), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:05.621607 [ 54117 ] {0e1e2036-fa2b-4b17-99fc-28dde87bed4d} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_4 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:06.547542 [ 54117 ] {6dac1168-260c-4557-a5fc-de4e1b78d118} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_1 is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59598) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:06.548615 [ 54117 ] {6dac1168-260c-4557-a5fc-de4e1b78d118} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_1 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:06.974395 [ 51360 ] {9f407263-8b10-4bd8-9e42-d754a9d4bb50} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59606) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_1_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:06.975475 [ 51360 ] {9f407263-8b10-4bd8-9e42-d754a9d4bb50} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:07.385308 [ 54117 ] {fa9413c5-f581-46d3-9aa5-f964327136cb} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_2 is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59630) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_2), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:07.386350 [ 54117 ] {fa9413c5-f581-46d3-9aa5-f964327136cb} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_2 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:07.562320 [ 54117 ] {cba21b2b-a0a7-41c6-9748-72b30d267c5c} executeQuery: Code: 57. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59640) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: RENAME TABLE replica_01108_1 TO replica_01108_1_tmp, replica_01108_2 TO replica_01108_2_tmp, replica_01108_3 TO replica_01108_3_tmp, replica_01108_4 TO replica_01108_4_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:07.563675 [ 54117 ] {cba21b2b-a0a7-41c6-9748-72b30d267c5c} TCPHandler: Code: 57. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:07.801674 [ 54117 ] {dd2d184d-19f3-43e7-ad15-90b7685c85a9} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_2_tmp is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59666) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_2_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:07.802912 [ 54117 ] {dd2d184d-19f3-43e7-ad15-90b7685c85a9} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_2_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:08.052025 [ 54117 ] {a2ab790e-323c-4ed3-9927-620a5b3f09d5} executeQuery: Code: 57. DB::Exception: Table test_q2pucugl.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59670) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: RENAME TABLE replica_01108_1_tmp TO replica_01108_2, replica_01108_2_tmp TO replica_01108_3, replica_01108_3_tmp TO replica_01108_4, replica_01108_4_tmp TO replica_01108_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:08.053184 [ 54117 ] {a2ab790e-323c-4ed3-9927-620a5b3f09d5} TCPHandler: Code: 57. DB::Exception: Table test_q2pucugl.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:08.229660 [ 54117 ] {7e1bb67f-2bd3-4cdd-b55c-0bf128f5f785} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_3 is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59690) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_3), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:08.230955 [ 54117 ] {7e1bb67f-2bd3-4cdd-b55c-0bf128f5f785} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_3 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:09.052824 [ 54117 ] {dc4763fa-b00d-4b8a-9ab5-c3a003ce53a7} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_4 is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59718) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_4), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:09.053958 [ 54117 ] {dc4763fa-b00d-4b8a-9ab5-c3a003ce53a7} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_4 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:09.774648 [ 54117 ] {7c560a28-432c-4782-8a00-20f6db61776c} executeQuery: Code: 57. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59754) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: RENAME TABLE replica_01108_1 TO replica_01108_1_tmp, replica_01108_2 TO replica_01108_2_tmp, replica_01108_3 TO replica_01108_3_tmp, replica_01108_4 TO replica_01108_4_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:09.775850 [ 54117 ] {7c560a28-432c-4782-8a00-20f6db61776c} TCPHandler: Code: 57. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:09.939862 [ 54117 ] {47a31106-477a-4a40-b7ca-d1f9485c7484} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_1 is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59770) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:09.941081 [ 54117 ] {47a31106-477a-4a40-b7ca-d1f9485c7484} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_1 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:10.358787 [ 54117 ] {196ba091-9bba-43c9-a10f-932daa86d94e} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:59792) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_1_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:10.359950 [ 54117 ] {196ba091-9bba-43c9-a10f-932daa86d94e} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:11.872192 [ 51360 ] {d6788fdb-dec6-44fe-ab7b-7bc1ad22d5c2} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_3_tmp is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45954) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_3_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:11.873202 [ 51360 ] {d6788fdb-dec6-44fe-ab7b-7bc1ad22d5c2} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_3_tmp is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:11.878020 [ 51361 ] {2617dd78-7434-4fc9-bae4-09c8969b7225} executeQuery: Code: 57. DB::Exception: Table test_q2pucugl.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45966) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: RENAME TABLE replica_01108_1_tmp TO replica_01108_2, replica_01108_2_tmp TO replica_01108_3, replica_01108_3_tmp TO replica_01108_4, replica_01108_4_tmp TO replica_01108_1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:11.879030 [ 51361 ] {2617dd78-7434-4fc9-bae4-09c8969b7225} TCPHandler: Code: 57. DB::Exception: Table test_q2pucugl.replica_01108_2 already exists. (TABLE_ALREADY_EXISTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, FormatStringHelperImpl::type>, DB::StorageID const&) @ 0x0000000017ff0bad in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:718: DB::DatabaseCatalog::assertTableDoesntExist(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c4448 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector> const&, std::map>, std::less, std::allocator>>>>&) @ 0x0000000019521721 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__tree:1088: DB::InterpreterRenameQuery::execute() @ 0x0000000019520186 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:12.287792 [ 51360 ] {ef60add0-07a4-40e4-b620-83708bb2f77e} executeQuery: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_4 is not replicated. (BAD_ARGUMENTS) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45992) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM RESTART REPLICA replica_01108_4), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:12.289071 [ 51360 ] {ef60add0-07a4-40e4-b620-83708bb2f77e} TCPHandler: Code: 36. DB::Exception: Table test_q2pucugl.replica_01108_4 is not replicated. (BAD_ARGUMENTS), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:0: DB::InterpreterSystemQuery::restartReplica(DB::StorageID const&, std::shared_ptr) @ 0x0000000019627df1 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:598: DB::InterpreterSystemQuery::execute() @ 0x0000000019619e47 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:13.535514 [ 51360 ] {0074d133-61c2-4193-b680-e097dde3a43c} executeQuery: Code: 60. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp does not exist. Maybe you meant replica_01108_1?. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46044) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM SYNC REPLICA replica_01108_1_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2599 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000019623faf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000019619101 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:13.536961 [ 51360 ] {0074d133-61c2-4193-b680-e097dde3a43c} TCPHandler: Code: 60. DB::Exception: Table test_q2pucugl.replica_01108_1_tmp does not exist. Maybe you meant replica_01108_1?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2599 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000019623faf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000019619101 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:14.300421 [ 51360 ] {8192b006-26ed-463e-af89-31e70d6790ad} executeQuery: Code: 60. DB::Exception: Table test_q2pucugl.replica_01108_2_tmp does not exist. Maybe you meant replica_01108_2?. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46064) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM SYNC REPLICA replica_01108_2_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2599 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000019623faf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000019619101 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:14.301510 [ 51360 ] {8192b006-26ed-463e-af89-31e70d6790ad} TCPHandler: Code: 60. DB::Exception: Table test_q2pucugl.replica_01108_2_tmp does not exist. Maybe you meant replica_01108_2?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2599 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000019623faf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000019619101 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:15.030014 [ 51360 ] {f1f37cac-a0cc-4b82-97b2-2ab0866be00f} executeQuery: Code: 60. DB::Exception: Table test_q2pucugl.replica_01108_3_tmp does not exist. Maybe you meant replica_01108_3?. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46074) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM SYNC REPLICA replica_01108_3_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2599 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000019623faf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000019619101 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:15.031134 [ 51360 ] {f1f37cac-a0cc-4b82-97b2-2ab0866be00f} TCPHandler: Code: 60. DB::Exception: Table test_q2pucugl.replica_01108_3_tmp does not exist. Maybe you meant replica_01108_3?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2599 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000019623faf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000019619101 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:15.824605 [ 51360 ] {e8bd3516-5a95-43a4-bab0-5a568b628b73} executeQuery: Code: 60. DB::Exception: Table test_q2pucugl.replica_01108_4_tmp does not exist. Maybe you meant replica_01108_4?. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46086) (comment: 01108_restart_replicas_rename_deadlock_zookeeper.sh) (in query: SYSTEM SYNC REPLICA replica_01108_4_tmp), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2599 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000019623faf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000019619101 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:15.825981 [ 51360 ] {e8bd3516-5a95-43a4-bab0-5a568b628b73} TCPHandler: Code: 60. DB::Exception: Table test_q2pucugl.replica_01108_4_tmp does not exist. Maybe you meant replica_01108_4?. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x0000000007cbcd6d in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2599 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:999: DB::InterpreterSystemQuery::syncReplica(DB::ASTSystemQuery&) @ 0x0000000019623faf in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSystemQuery.cpp:583: DB::InterpreterSystemQuery::execute() @ 0x0000000019619101 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 11. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 17. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 18. ? @ 0x00007f5975bcaac3 in ? 19. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:25.650890 [ 55126 ] {5d19d855-07d2-4de1-9551-0f61ca3abf3b} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33868) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:25.651006 [ 55125 ] {5fee321d-fbae-4d0a-b6fd-234bc40ad335} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33862) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:25.652387 [ 55126 ] {5d19d855-07d2-4de1-9551-0f61ca3abf3b} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:25.652510 [ 55125 ] {5fee321d-fbae-4d0a-b6fd-234bc40ad335} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:25.782044 [ 54117 ] {20838c3a-6da5-4f82-936e-b4fdc1101d29} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33898) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:25.783446 [ 54117 ] {20838c3a-6da5-4f82-936e-b4fdc1101d29} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:26.083232 [ 55126 ] {7fde269d-fcdc-477e-ba4f-8408dd44046c} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33972) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:26.084314 [ 55126 ] {7fde269d-fcdc-477e-ba4f-8408dd44046c} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:26.088888 [ 55130 ] {39f4cfd9-662d-4de3-9815-6f8cff31dfcc} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:33988) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:26.089710 [ 55130 ] {39f4cfd9-662d-4de3-9815-6f8cff31dfcc} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:27.440536 [ 54117 ] {e0262096-ad11-46fa-a406-f4d4bfb655fc} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34142) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:27.440549 [ 55126 ] {7f2d9910-3f74-4cd7-b742-0d3af4dbea60} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34154) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:27.440623 [ 55130 ] {6d8271de-e2f9-4f22-a6b0-ce54030e13e4} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34160) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:27.442019 [ 55126 ] {7f2d9910-3f74-4cd7-b742-0d3af4dbea60} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:27.442167 [ 55130 ] {6d8271de-e2f9-4f22-a6b0-ce54030e13e4} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:27.442414 [ 54117 ] {e0262096-ad11-46fa-a406-f4d4bfb655fc} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:27.859736 [ 55121 ] {b47587cd-9c09-4825-8b19-1d90ceac2c2a} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34220) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:27.860851 [ 55121 ] {b47587cd-9c09-4825-8b19-1d90ceac2c2a} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:29.363469 [ 55125 ] {c7eb10eb-8169-4d79-885a-70f1f6cfc56f} executeQuery: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34420) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:29.364696 [ 55125 ] {c7eb10eb-8169-4d79-885a-70f1f6cfc56f} TCPHandler: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:29.795081 [ 55125 ] {b6e5fc39-9c37-480b-9556-6c0f46c71d7f} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:34478) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:29.796192 [ 55125 ] {b6e5fc39-9c37-480b-9556-6c0f46c71d7f} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:31.377091 [ 55130 ] {39f9cb99-62a3-4826-8a01-d875b9ca700c} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55690) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:31.378524 [ 55130 ] {39f9cb99-62a3-4826-8a01-d875b9ca700c} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:31.445053 [ 55121 ] {8fbe31a6-6a02-45cb-8041-e8f6f278624b} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55720) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:31.449231 [ 55121 ] {8fbe31a6-6a02-45cb-8041-e8f6f278624b} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:31.847429 [ 55130 ] {137ba361-d37c-496c-93b4-dee8d602355b} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55770) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:31.849143 [ 55130 ] {137ba361-d37c-496c-93b4-dee8d602355b} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:31.856222 [ 54117 ] {a55c5f18-b03f-465c-906a-d485c2cc7ed6} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55774) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:31.857457 [ 54117 ] {a55c5f18-b03f-465c-906a-d485c2cc7ed6} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:32.354791 [ 55130 ] {c521ce9f-6207-4ae8-ae29-2414db0850b0} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55856) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:32.356731 [ 55130 ] {c521ce9f-6207-4ae8-ae29-2414db0850b0} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:32.426138 [ 51360 ] {8b11fc8e-0eeb-40c1-b2f5-6ad4d1c23a66} executeQuery: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55874) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:32.427266 [ 51360 ] {8b11fc8e-0eeb-40c1-b2f5-6ad4d1c23a66} TCPHandler: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:32.439223 [ 55121 ] {fa979147-41c2-4382-acf5-ca0c4c0e0122} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55890) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:32.440474 [ 55121 ] {fa979147-41c2-4382-acf5-ca0c4c0e0122} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:32.874873 [ 55130 ] {2094a305-8c66-4de4-8d08-6343b88c949b} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55938) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:32.876082 [ 55130 ] {2094a305-8c66-4de4-8d08-6343b88c949b} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:32.879776 [ 55121 ] {778fe9c6-0686-4c1b-be92-cf593d645f31} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:55964) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:32.881137 [ 55121 ] {778fe9c6-0686-4c1b-be92-cf593d645f31} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:33.377754 [ 55121 ] {4ef40a47-8be9-48b6-b08f-24c50b1ba878} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56078) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:33.379019 [ 55121 ] {4ef40a47-8be9-48b6-b08f-24c50b1ba878} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:33.660947 [ 55121 ] {7dde5e3c-2d76-4526-9d72-ddddb81cae7f} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56116) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:33.662545 [ 55121 ] {7dde5e3c-2d76-4526-9d72-ddddb81cae7f} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:34.134888 [ 55122 ] {f259b00a-526e-4987-ad16-eb1bc2a50d3f} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56192) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:34.135979 [ 55122 ] {f259b00a-526e-4987-ad16-eb1bc2a50d3f} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:34.311864 [ 54117 ] {19a61b49-f368-4a60-9284-c15e2d2ee6b0} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56216) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:34.313212 [ 54117 ] {19a61b49-f368-4a60-9284-c15e2d2ee6b0} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:34.779798 [ 54117 ] {747a4619-d4c2-4258-b728-86ca128b45d6} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56254) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:34.781047 [ 54117 ] {747a4619-d4c2-4258-b728-86ca128b45d6} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:35.085138 [ 51360 ] {6276e99d-4003-482d-90cd-d4721f706135} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56318) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:35.086276 [ 51360 ] {6276e99d-4003-482d-90cd-d4721f706135} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:35.233101 [ 54117 ] {b57657c2-8443-46f7-9c61-f8ee9b48c10f} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56342) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:35.234567 [ 54117 ] {b57657c2-8443-46f7-9c61-f8ee9b48c10f} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:35.498869 [ 54117 ] {b6a863fd-00c5-41f3-9c62-3ee52db6d101} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56350) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:35.499947 [ 54117 ] {b6a863fd-00c5-41f3-9c62-3ee52db6d101} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:35.987253 [ 51366 ] {f64086fb-a29b-461b-80fa-a8427f8b0a55} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56424) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:35.988365 [ 51366 ] {f64086fb-a29b-461b-80fa-a8427f8b0a55} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:36.178717 [ 32821 ] {115ce14b-6546-461b-bb2e-7e35d4d5a898} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56470) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:36.179981 [ 32821 ] {115ce14b-6546-461b-bb2e-7e35d4d5a898} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:36.405100 [ 55123 ] {b3282f6e-4f81-4a74-afaa-54728829bfb0} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56520) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:36.406310 [ 55123 ] {b3282f6e-4f81-4a74-afaa-54728829bfb0} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:37.244338 [ 51366 ] {0c1864ab-3617-4896-89a7-2bb32b053cda} executeQuery: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56606) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:37.245272 [ 51366 ] {0c1864ab-3617-4896-89a7-2bb32b053cda} TCPHandler: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:37.653626 [ 55123 ] {c7f285dd-f443-4eab-a964-23b36f4d9c85} executeQuery: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56658) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:37.655029 [ 55123 ] {c7f285dd-f443-4eab-a964-23b36f4d9c85} TCPHandler: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:37.668820 [ 55124 ] {780d9854-db5e-4d8a-a24f-2d4bce081008} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56668) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:37.669949 [ 55124 ] {780d9854-db5e-4d8a-a24f-2d4bce081008} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:38.064031 [ 55127 ] {47d5359b-e51f-4d62-91ad-39404d415c8b} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56734) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:38.065151 [ 55127 ] {47d5359b-e51f-4d62-91ad-39404d415c8b} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:38.419996 [ 55127 ] {975c2352-1c2c-4688-bf77-f48ce849a6dd} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56814) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:38.421181 [ 55127 ] {975c2352-1c2c-4688-bf77-f48ce849a6dd} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:38.572280 [ 51366 ] {1e26a7bf-d6c1-40ab-8dbf-7f70c9e24a19} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56822) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:38.573402 [ 51366 ] {1e26a7bf-d6c1-40ab-8dbf-7f70c9e24a19} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:39.022027 [ 51366 ] {64f51765-d1b6-49fe-ab96-fe46a983f478} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56882) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:39.023429 [ 51366 ] {64f51765-d1b6-49fe-ab96-fe46a983f478} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:39.173926 [ 55130 ] {03d4e5d2-bbaa-4655-88fa-f86f4a7ae1b4} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56930) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:39.175506 [ 55130 ] {03d4e5d2-bbaa-4655-88fa-f86f4a7ae1b4} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:39.536798 [ 51366 ] {3ba29187-66d0-472d-90be-797d5925c50d} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:56990) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:39.538596 [ 51366 ] {3ba29187-66d0-472d-90be-797d5925c50d} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:39.776789 [ 32821 ] {ea928d49-dc69-4552-98ba-49f2bfb77ed1} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:57018) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:39.778311 [ 32821 ] {ea928d49-dc69-4552-98ba-49f2bfb77ed1} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:39.925494 [ 925 ] {01d75991-e815-4818-9400-65aa3bb525bd::all_0_4_42_21} 01d75991-e815-4818-9400-65aa3bb525bd::all_0_4_42_21 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_4_42_21 from 2 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.05.01 15:10:40.283826 [ 929 ] {01d75991-e815-4818-9400-65aa3bb525bd::all_0_4_43_22} 01d75991-e815-4818-9400-65aa3bb525bd::all_0_4_43_22 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_4_43_22 from 2 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.05.01 15:10:40.949649 [ 938 ] {536627c6-ea65-4b02-8bba-a57f2f5da821::all_0_4_45_24} 536627c6-ea65-4b02-8bba-a57f2f5da821::all_0_4_45_24 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part all_0_4_45_24 from 3 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.05.01 15:10:41.218276 [ 55121 ] {88062d2e-79a4-48ff-a641-40aebd227c67} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44346) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:41.219651 [ 55121 ] {88062d2e-79a4-48ff-a641-40aebd227c67} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:41.526594 [ 54117 ] {68e60c1a-f6c2-4349-bf35-51dac7bce4e6} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44398) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:41.528381 [ 54117 ] {68e60c1a-f6c2-4349-bf35-51dac7bce4e6} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:41.690607 [ 51360 ] {f3de2f34-5176-437c-bcda-deb1643e13ce} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44424) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:41.691848 [ 51360 ] {f3de2f34-5176-437c-bcda-deb1643e13ce} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:42.684835 [ 55130 ] {84c0a13f-ecb6-4343-88ac-fcfd08967c18} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44582) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:42.686045 [ 55130 ] {84c0a13f-ecb6-4343-88ac-fcfd08967c18} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:42.814360 [ 55122 ] {a4a2c04d-8e1f-419a-bdab-6bbe7036e347} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44604) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:42.815730 [ 55122 ] {a4a2c04d-8e1f-419a-bdab-6bbe7036e347} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:43.113687 [ 54117 ] {913c9c49-d524-49a8-a82a-e95c2befaa4c} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44664) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:43.114816 [ 54117 ] {913c9c49-d524-49a8-a82a-e95c2befaa4c} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:44.330766 [ 51360 ] {d3d86eae-a5c6-4360-a683-c8e3409cc5a0} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44840) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:44.331915 [ 51360 ] {d3d86eae-a5c6-4360-a683-c8e3409cc5a0} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:44.566621 [ 55122 ] {59290127-c410-4816-9b1a-d64e0240a909} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44876) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:44.567972 [ 55122 ] {59290127-c410-4816-9b1a-d64e0240a909} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:44.893689 [ 55122 ] {b867919b-75e4-4156-a2ac-758d3b6433d2} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44898) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value3 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:44.895189 [ 55122 ] {b867919b-75e4-4156-a2ac-758d3b6433d2} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value3` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:45.030663 [ 55123 ] {d6f8d50c-4763-4a5b-88f0-648955e4c7b8} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:44934) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:45.032290 [ 55123 ] {d6f8d50c-4763-4a5b-88f0-648955e4c7b8} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:45.622907 [ 51366 ] {edbc50fa-786f-4962-adee-77956c8a0065} executeQuery: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45020) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:45.624096 [ 51366 ] {edbc50fa-786f-4962-adee-77956c8a0065} TCPHandler: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:45.630152 [ 55125 ] {d9760723-61fd-492c-b34a-a9aa54bc94d6} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45032) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:45.631342 [ 55125 ] {d9760723-61fd-492c-b34a-a9aa54bc94d6} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:45.930821 [ 51366 ] {3956429c-2c2c-4e22-9ce9-3d94b3ab848d} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45066) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:45.932082 [ 51366 ] {3956429c-2c2c-4e22-9ce9-3d94b3ab848d} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:46.079171 [ 55126 ] {d8f2b13e-8c4e-4fb1-9bef-4811279072a9} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45106) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:46.080340 [ 55126 ] {d8f2b13e-8c4e-4fb1-9bef-4811279072a9} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:46.697695 [ 55125 ] {70ee7ff3-511b-4af8-b367-79cf0be007d9} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45216) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:46.698681 [ 55125 ] {70ee7ff3-511b-4af8-b367-79cf0be007d9} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:46.981856 [ 51366 ] {ecbe7905-cdec-42d3-8d34-d7b035c1b711} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45232) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:46.982796 [ 51366 ] {ecbe7905-cdec-42d3-8d34-d7b035c1b711} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:47.020953 [ 55127 ] {f6ba14c4-b9b7-4b83-98a2-54848bd794ea} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45236) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:47.022140 [ 55127 ] {f6ba14c4-b9b7-4b83-98a2-54848bd794ea} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:47.127565 [ 55125 ] {800b1da1-62c1-4bb2-9118-2cd2ced5d35b} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45248) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 DROP COLUMN value2 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:47.128895 [ 55125 ] {800b1da1-62c1-4bb2-9118-2cd2ced5d35b} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value2` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:47.466819 [ 54117 ] {9f7ca208-0cd2-477a-8453-3bca5d5864f9} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45326) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:47.468039 [ 54117 ] {9f7ca208-0cd2-477a-8453-3bca5d5864f9} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:47.733602 [ 55125 ] {a51729ff-e73f-4889-b19b-35c6a7e553b6} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45344) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:47.734832 [ 55125 ] {a51729ff-e73f-4889-b19b-35c6a7e553b6} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:48.563000 [ 32821 ] {feb7b608-fb4a-43d5-a099-fecf9d66d049} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45510) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_3 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:48.564041 [ 32821 ] {feb7b608-fb4a-43d5-a099-fecf9d66d049} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:49.101577 [ 55130 ] {73852d37-5321-4c32-ae9a-17be54f26fb7} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45604) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:49.102800 [ 55130 ] {73852d37-5321-4c32-ae9a-17be54f26fb7} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:49.525123 [ 55124 ] {af542b18-eb69-449c-9755-0ac63a5829be} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45690) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:49.526706 [ 55124 ] {af542b18-eb69-449c-9755-0ac63a5829be} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:50.152736 [ 55122 ] {edf8752c-654d-432a-8eec-91f353290cf8} executeQuery: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45762) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:50.154102 [ 55122 ] {edf8752c-654d-432a-8eec-91f353290cf8} TCPHandler: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:50.377253 [ 54117 ] {26357161-d0d0-48f7-8452-03c2979b1c34} executeQuery: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45798) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value2 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:50.378373 [ 54117 ] {26357161-d0d0-48f7-8452-03c2979b1c34} TCPHandler: Code: 15. DB::Exception: Cannot add column `value2`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:50.456258 [ 55130 ] {64260961-df1b-4e5e-84f1-0c92e58f8b75} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45814) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:50.457418 [ 55130 ] {64260961-df1b-4e5e-84f1-0c92e58f8b75} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:50.810034 [ 55122 ] {f9b7fc9d-db4a-4509-b00d-46f992b6c530} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41496) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:50.812062 [ 55122 ] {f9b7fc9d-db4a-4509-b00d-46f992b6c530} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:51.521229 [ 55123 ] {96e2bd78-1484-4ad7-92a6-bcc1e6555660} executeQuery: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41596) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 ADD COLUMN value4 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:51.522738 [ 55123 ] {96e2bd78-1484-4ad7-92a6-bcc1e6555660} TCPHandler: Code: 15. DB::Exception: Cannot add column `value4`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:51.561144 [ 51360 ] {afaa528f-67db-4622-981e-390c14de5c41} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41612) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:51.562551 [ 51360 ] {afaa528f-67db-4622-981e-390c14de5c41} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:52.335447 [ 51360 ] {4d15aab6-f348-43a5-9e5d-093559c9a083} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41716) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:52.337451 [ 51360 ] {4d15aab6-f348-43a5-9e5d-093559c9a083} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:52.437275 [ 55124 ] {af97f3e9-f845-4edd-a261-f599b7b2a6a8} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41734) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value1 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:52.439608 [ 55124 ] {af97f3e9-f845-4edd-a261-f599b7b2a6a8} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value1` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:52.659007 [ 55123 ] {e4957537-ccd2-4e2f-ab6e-1693b26d3169} executeQuery: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41754) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value5 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:52.660843 [ 55123 ] {e4957537-ccd2-4e2f-ab6e-1693b26d3169} TCPHandler: Code: 15. DB::Exception: Cannot add column `value5`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:53.824602 [ 55127 ] {349fe482-d3a1-4b3d-84ea-052de75f7bd5} executeQuery: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41936) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value1 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:53.826039 [ 55127 ] {349fe482-d3a1-4b3d-84ea-052de75f7bd5} TCPHandler: Code: 15. DB::Exception: Cannot add column `value1`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:54.002787 [ 55125 ] {b4a10425-2eab-4840-ac4a-6d7e40653e88} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41950) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value5 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:54.004514 [ 55125 ] {b4a10425-2eab-4840-ac4a-6d7e40653e88} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value5` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:54.108658 [ 55121 ] {ef246194-17c0-42e7-addd-412867a33b75} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41986) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_1 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:54.109759 [ 55121 ] {ef246194-17c0-42e7-addd-412867a33b75} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:54.273041 [ 55127 ] {bcf0f6c7-6e3a-4487-9985-68a691aab5d5} executeQuery: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42006) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 DROP COLUMN value4 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:54.274155 [ 55127 ] {bcf0f6c7-6e3a-4487-9985-68a691aab5d5} TCPHandler: Code: 10. DB::Exception: Wrong column name. Cannot find column `value4` to drop. Maybe you meant: ['value0']. (NOT_FOUND_COLUMN_IN_BLOCK), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000007ca87c0 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:1249: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a023764 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:54.816545 [ 32821 ] {df78d2fc-b26f-4a6a-82cb-c6735a191d23} executeQuery: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:42052) (comment: 01079_parallel_alter_add_drop_column_zookeeper.sh) (in query: ALTER TABLE concurrent_alter_add_drop_2 ADD COLUMN value3 UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:54.817468 [ 32821 ] {df78d2fc-b26f-4a6a-82cb-c6735a191d23} TCPHandler: Code: 15. DB::Exception: Cannot add column `value3`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:10:55.080555 [ 55127 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:42098). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:11:50.084888 [ 55127 ] {1ef28590-d791-4e91-91b5-578689177364} executeQuery: Code: 520. DB::Exception: Cannot drop/detach dictionary db_01048.t_01048 as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:43390) (comment: 01048_exists_query.sql) (in query: -- But dictionary-tables cannot be dropped as usual tables. DROP TABLE db_01048.t_01048;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDictionary.cpp:0: DB::StorageDictionary::checkTableCanBeDropped(std::shared_ptr) const @ 0x000000001a0e4ec3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000019390054 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:11:50.085864 [ 55127 ] {1ef28590-d791-4e91-91b5-578689177364} TCPHandler: Code: 520. DB::Exception: Cannot drop/detach dictionary db_01048.t_01048 as table, use DROP DICTIONARY or DETACH DICTIONARY query instead. (CANNOT_DETACH_DICTIONARY_AS_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String const&) @ 0x000000000827df79 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageDictionary.cpp:0: DB::StorageDictionary::checkTableCanBeDropped(std::shared_ptr) const @ 0x000000001a0e4ec3 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::executeToTableImpl(std::shared_ptr, DB::ASTDropQuery&, std::shared_ptr&, StrongTypedef, DB::UUIDTag>&) @ 0x0000000019390054 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:93: DB::InterpreterDropQuery::executeToTable(DB::ASTDropQuery&) @ 0x000000001938ea4a in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterDropQuery.cpp:0: DB::InterpreterDropQuery::execute() @ 0x000000001938e1d4 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:09.662071 [ 55127 ] {query5} executeQuery: Code: 517. DB::Exception: Cannot DROP PARTITION in test_6omk4shg.src after copying partition to test_6omk4shg.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49928) (comment: 01035_concurrent_move_partition_from_table_zookeeper.sh) (in query: ALTER TABLE src MOVE PARTITION 1 TO TABLE dst;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001a347f97 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a87941e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:09.663558 [ 55127 ] {query5} TCPHandler: Code: 517. DB::Exception: Cannot DROP PARTITION in test_6omk4shg.src after copying partition to test_6omk4shg.dst, because another ALTER PARTITION query was concurrently executed. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::movePartitionToTable(std::shared_ptr const&, std::shared_ptr const&, std::shared_ptr) @ 0x000000001a347f97 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::MergeTreeData::alterPartition(std::shared_ptr const&, std::vector> const&, std::shared_ptr) @ 0x000000001a87941e in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:815: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374562 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 10. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:32.067578 [ 55126 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:37638). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:12:32.167819 [ 55127 ] {query3} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:37724). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37724) (comment: 01035_concurrent_move_partition_from_table_zookeeper.sh) (in query: SELECT * FROM src), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0afc2 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af07bb5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:32.171413 [ 55127 ] {query3} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:37724). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:12:32.171824 [ 55127 ] {query3} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:37724). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0afc2 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af07bb5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:32.172458 [ 55127 ] {query3} TCPHandler: Client has gone away. 2024.05.01 15:12:32.210612 [ 54117 ] {query2} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:37708). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37708) (comment: 01035_concurrent_move_partition_from_table_zookeeper.sh) (in query: INSERT INTO src SELECT number % 2, toString(number) FROM system.numbers LIMIT 100000), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:32.211676 [ 54117 ] {query2} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:37708). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:12:32.211878 [ 54117 ] {query2} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:37708). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:32.212327 [ 54117 ] {query2} TCPHandler: Client has gone away. 2024.05.01 15:12:39.460699 [ 45757 ] {a53fb055-e811-4f83-acfa-caf7b9b218a5} ExternalDictionariesLoader: Could not load external dictionary '5bcf466a-b792-4a80-b1cb-f705e44a78cb', next update is scheduled at 2024-05-01 15:12:45: Code: 60. DB::Exception: Table database_for_dict.non_existing_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x00000000141dec4e in /usr/bin/clickhouse 16. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x00000000141deb48 in /usr/bin/clickhouse 17. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x000000001430e276 in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000001430da93 in /usr/bin/clickhouse 19. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000001430ce5d in /usr/bin/clickhouse 20. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000001430b5de in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 31. ? @ 0x00007f5975bcaac3 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:12:39.462775 [ 55127 ] {a53fb055-e811-4f83-acfa-caf7b9b218a5} executeQuery: Code: 60. DB::Exception: Table database_for_dict.non_existing_table does not exist. (UNKNOWN_TABLE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37766) (comment: 01018_dictionaries_from_dictionaries.sql) (in query: SELECT count(*) FROM database_for_dict.dict4;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x00000000141dec4e in /usr/bin/clickhouse 16. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x00000000141deb48 in /usr/bin/clickhouse 17. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x000000001430e276 in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000001430da93 in /usr/bin/clickhouse 19. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000001430ce5d in /usr/bin/clickhouse 20. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000001430b5de in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 31. ? @ 0x00007f5975bcaac3 in ? 2024.05.01 15:12:39.463823 [ 55127 ] {a53fb055-e811-4f83-acfa-caf7b9b218a5} TCPHandler: Code: 60. DB::Exception: Table database_for_dict.non_existing_table does not exist. (UNKNOWN_TABLE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x0000000007c85edc in /usr/bin/clickhouse 3. ./build_docker/./src/Databases/IDatabase.cpp:0: DB::IDatabase::getTable(String const&, std::shared_ptr) const @ 0x00000000186b2447 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:421: DB::DatabaseCatalog::getTableImpl(DB::StorageID const&, std::shared_ptr, std::optional*) const @ 0x00000000189bee54 in /usr/bin/clickhouse 5. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:801: DB::DatabaseCatalog::getTable(DB::StorageID const&, std::shared_ptr) const @ 0x00000000189c5fe0 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657d5a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 12. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 14. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 15. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:171: DB::ClickHouseDictionarySource::createStreamForQuery(String const&) @ 0x00000000141dec4e in /usr/bin/clickhouse 16. ./build_docker/./src/Dictionaries/ClickHouseDictionarySource.cpp:113: DB::ClickHouseDictionarySource::loadAll() @ 0x00000000141deb48 in /usr/bin/clickhouse 17. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::loadData() @ 0x000000001430e276 in /usr/bin/clickhouse 18. DB::HashedDictionary<(DB::DictionaryKeyType)0, false, false>::HashedDictionary(DB::StorageID const&, DB::DictionaryStructure const&, std::shared_ptr, DB::HashedDictionaryConfiguration const&, std::shared_ptr) @ 0x000000001430da93 in /usr/bin/clickhouse 19. DB::registerDictionaryHashed(DB::DictionaryFactory&)::$_4::operator()(String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, DB::DictionaryKeyType, bool) const @ 0x000000001430ce5d in /usr/bin/clickhouse 20. std::unique_ptr> std::__function::__policy_invoker> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>::__call_impl> (String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, std::shared_ptr, bool)>>(std::__function::__policy_storage const*, String const&, DB::DictionaryStructure const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr&&, std::shared_ptr&&, bool) @ 0x000000001430b5de in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:0: DB::DictionaryFactory::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, std::shared_ptr, bool) const @ 0x0000000017a3af9e in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/ExternalDictionariesLoader.cpp:40: DB::ExternalDictionariesLoader::create(String const&, Poco::Util::AbstractConfiguration const&, String const&, String const&) const @ 0x0000000019022aed in /usr/bin/clickhouse 23. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: std::shared_ptr std::__function::__policy_invoker (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>::__call_impl (String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&)>>(std::__function::__policy_storage const*, String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr const&) @ 0x000000001902730a in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/ExternalLoader.cpp:1051: DB::ExternalLoader::LoadingDispatcher::loadSingleObject(String const&, DB::ExternalLoader::ObjectConfig const&, std::shared_ptr) @ 0x00000000190319da in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/ExternalLoader.cpp:0: DB::ExternalLoader::LoadingDispatcher::doLoading(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr) @ 0x000000001902e600 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/invoke.h:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'()::operator()() @ 0x0000000019035f85 in /usr/bin/clickhouse 27. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl), DB::ExternalLoader::LoadingDispatcher*, String&, unsigned long&, bool&, unsigned long&, bool, std::shared_ptr>(void (DB::ExternalLoader::LoadingDispatcher::*&&)(String const&, unsigned long, bool, unsigned long, bool, std::shared_ptr), DB::ExternalLoader::LoadingDispatcher*&&, String&, unsigned long&, bool&, unsigned long&, bool&&, std::shared_ptr&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x0000000019035d82 in /usr/bin/clickhouse 28. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 29. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 30. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 31. ? @ 0x00007f5975bcaac3 in ? 2024.05.01 15:12:39.626719 [ 55127 ] {26a398b8-0a2b-47ef-a8d5-6ee8cb35a161} executeQuery: Code: 81. DB::Exception: Database database_for_dict does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37766) (comment: 01018_dictionaries_from_dictionaries.sql) (in query: SELECT count(*) from database_for_dict.dict3;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x000000001890befd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657795 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:39.627539 [ 55127 ] {26a398b8-0a2b-47ef-a8d5-6ee8cb35a161} TCPHandler: Code: 81. DB::Exception: Database database_for_dict does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x000000001890befd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657795 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:39.632916 [ 55127 ] {0cc4f4c3-2b9b-41bd-bf08-421ad1ba7c1e} executeQuery: Code: 81. DB::Exception: Database database_for_dict does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37766) (comment: 01018_dictionaries_from_dictionaries.sql) (in query: SELECT count(*) from database_for_dict.dict2;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x000000001890befd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657795 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:39.633467 [ 55127 ] {0cc4f4c3-2b9b-41bd-bf08-421ad1ba7c1e} TCPHandler: Code: 81. DB::Exception: Database database_for_dict does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x000000001890befd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657795 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:39.637617 [ 55127 ] {6e00af60-79a8-4a19-934b-2c551458d2b5} executeQuery: Code: 81. DB::Exception: Database database_for_dict does not exist. (UNKNOWN_DATABASE) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:37766) (comment: 01018_dictionaries_from_dictionaries.sql) (in query: SELECT count(*) from database_for_dict.dict1;), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x000000001890befd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657795 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:39.638245 [ 55127 ] {6e00af60-79a8-4a19-934b-2c551458d2b5} TCPHandler: Code: 81. DB::Exception: Database database_for_dict does not exist. (UNKNOWN_DATABASE), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/DatabaseCatalog.cpp:0: DB::DatabaseCatalog::getDatabase(String const&) const @ 0x00000000189c38cb in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/Context.cpp:0: DB::Context::resolveStorageID(DB::StorageID, DB::Context::StorageNamespace) const @ 0x000000001890befd in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/JoinedTables.cpp:0: DB::JoinedTables::getLeftTableStorage() @ 0x0000000019657795 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 8. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 13. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 14. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 15. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 18. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 19. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 20. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:41.850138 [ 54117 ] {d50f7329-122e-46ca-ad48-7af79716e3a5} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45766) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:41.866129 [ 54117 ] {d50f7329-122e-46ca-ad48-7af79716e3a5} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:41.877107 [ 55121 ] {609d53d7-f57c-4619-b91e-a474a53d4495} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45780) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:41.878132 [ 55121 ] {609d53d7-f57c-4619-b91e-a474a53d4495} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:41.961710 [ 58380 ] {6a8a9065-a47a-433c-bde0-69ef4607770b} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45880) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:41.968620 [ 58375 ] {f0609892-bd5f-49e9-a83e-a86710647961} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45866) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:41.973770 [ 58380 ] {6a8a9065-a47a-433c-bde0-69ef4607770b} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:41.980401 [ 58375 ] {f0609892-bd5f-49e9-a83e-a86710647961} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.011638 [ 58373 ] {b6950faa-6547-403b-ac16-fae5086133ba} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45920) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.012983 [ 58373 ] {b6950faa-6547-403b-ac16-fae5086133ba} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.038647 [ 58376 ] {c00bed9b-9f0a-4aea-9f83-7e0dbe86c15c} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45910) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.040788 [ 58376 ] {c00bed9b-9f0a-4aea-9f83-7e0dbe86c15c} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.496592 [ 55126 ] {bf8158a2-ccbb-4d7d-968b-ae02d0b280c4} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46014) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.498130 [ 55126 ] {bf8158a2-ccbb-4d7d-968b-ae02d0b280c4} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.501291 [ 32821 ] {283af467-7651-4096-bb2a-8f8e4b42f3ea} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46042) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.502436 [ 32821 ] {283af467-7651-4096-bb2a-8f8e4b42f3ea} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.563437 [ 55125 ] {a543b98f-fe2d-4d42-b1fc-ec9fe63225fd} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46052) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.570951 [ 55125 ] {a543b98f-fe2d-4d42-b1fc-ec9fe63225fd} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.578735 [ 54117 ] {747b3257-e81c-40c8-a50c-099854046d81} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46028) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.601427 [ 54117 ] {747b3257-e81c-40c8-a50c-099854046d81} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.722224 [ 55121 ] {1691a6f6-a76d-4516-8e9a-e6581f007c1d} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46076) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.726879 [ 55121 ] {1691a6f6-a76d-4516-8e9a-e6581f007c1d} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.748502 [ 58374 ] {78a655c5-afa8-4991-9574-0915d698cf7b} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46082) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:42.764658 [ 58374 ] {78a655c5-afa8-4991-9574-0915d698cf7b} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.079602 [ 55121 ] {018dd27f-8d1f-4284-a632-3e62f1b15c71} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46178) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.081498 [ 55121 ] {018dd27f-8d1f-4284-a632-3e62f1b15c71} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.094216 [ 58374 ] {8a644724-90e9-4eb7-9098-521ee70a52f5} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46180) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.095406 [ 58374 ] {8a644724-90e9-4eb7-9098-521ee70a52f5} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.199314 [ 32821 ] {1ec1979f-fa4b-4a85-a575-8be25dc5f31b} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46202) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.208990 [ 32821 ] {1ec1979f-fa4b-4a85-a575-8be25dc5f31b} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.209327 [ 58381 ] {b6e34268-7f12-4214-9981-7b8ba520593f} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46196) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.212901 [ 58381 ] {b6e34268-7f12-4214-9981-7b8ba520593f} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.338381 [ 54117 ] {68f23f55-c8e8-4a2b-a1d6-37eee931830b} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46264) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.355337 [ 54117 ] {68f23f55-c8e8-4a2b-a1d6-37eee931830b} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.359677 [ 58382 ] {46c58840-0f37-4df4-a71e-0f1485fb3af6} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46228) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.369167 [ 58382 ] {46c58840-0f37-4df4-a71e-0f1485fb3af6} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.662301 [ 58381 ] {c2324ca3-d50c-4c37-97c0-5369297fa8f0} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46320) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.667674 [ 55121 ] {8a70cc29-f29b-4b05-a366-bc8c3f333028} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46312) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.669710 [ 58381 ] {c2324ca3-d50c-4c37-97c0-5369297fa8f0} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.681222 [ 55121 ] {8a70cc29-f29b-4b05-a366-bc8c3f333028} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.725437 [ 55125 ] {dbbb3cef-042f-481e-8425-531219e6ea50} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46348) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.751069 [ 55125 ] {dbbb3cef-042f-481e-8425-531219e6ea50} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.858008 [ 58372 ] {7901f96d-a8a2-4746-b350-6e594fc976da} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46366) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.867690 [ 58372 ] {7901f96d-a8a2-4746-b350-6e594fc976da} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.918072 [ 58377 ] {ad31aaa5-4de5-49b5-817d-316f349c047a} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46384) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.929918 [ 58377 ] {ad31aaa5-4de5-49b5-817d-316f349c047a} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.974609 [ 55121 ] {265cec40-eda5-4077-9855-85c667825f87} executeQuery: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46390) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:43.993894 [ 55121 ] {265cec40-eda5-4077-9855-85c667825f87} TCPHandler: Code: 20. DB::Exception: Number of columns doesn't match. (NUMBER_OF_COLUMNS_DOESNT_MATCH), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [32]) @ 0x000000000d8e1ea6 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ActionsDAG.cpp:1220: DB::ActionsDAG::makeConvertingActions(std::vector> const&, std::vector> const&, DB::ActionsDAG::MatchColumnsMode, bool, bool, std::unordered_map, std::equal_to, std::allocator>>*) @ 0x00000000187c9f2a in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterInsertQuery.cpp:0: DB::InterpreterInsertQuery::execute() @ 0x00000000195099a2 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:44.376058 [ 58385 ] {2b0b32ba-f1d4-4de0-a219-a4f8d219845f} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46466) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:44.403391 [ 58385 ] {2b0b32ba-f1d4-4de0-a219-a4f8d219845f} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:44.468634 [ 55125 ] {e99739ad-b5e4-4d45-a322-0d40ab8baf3b} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46472) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:44.471699 [ 55125 ] {e99739ad-b5e4-4d45-a322-0d40ab8baf3b} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:44.910295 [ 58380 ] {27747059-d93f-4d98-a90b-0546fcc1ec2e} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46618) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:44.916666 [ 58380 ] {27747059-d93f-4d98-a90b-0546fcc1ec2e} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:45.045425 [ 32821 ] {e9138fa1-9b0b-453f-9e77-4518c3ee41ff} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46648) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:45.054556 [ 32821 ] {e9138fa1-9b0b-453f-9e77-4518c3ee41ff} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:45.492365 [ 32821 ] {54c384b1-d2c7-4afe-938a-cc568060a56f} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46786) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:45.496682 [ 32821 ] {54c384b1-d2c7-4afe-938a-cc568060a56f} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:45.558238 [ 58490 ] {1c771bee-55f4-4906-a91f-8bc90bad8d8b} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46810) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:45.574010 [ 58490 ] {1c771bee-55f4-4906-a91f-8bc90bad8d8b} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:45.835165 [ 935 ] {864c6146-cd5d-4fc5-aca0-4f200a4df7b1::-6_0_0_0_1} 864c6146-cd5d-4fc5-aca0-4f200a4df7b1::-6_0_0_0_1 (MutateFromLogEntryTask): Code: 40. DB::Exception: Part -6_0_0_0_1 from r1 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)). Data after mutation is not byte-identical to data on another replicas. We will download merged part from replica to force byte-identical result. 2024.05.01 15:12:46.080632 [ 58373 ] {1a797eb2-6137-4295-b82d-387380e94943} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46864) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:46.080739 [ 54117 ] {eb2acb96-83a2-4580-af34-05482748a73b} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46882) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:46.082183 [ 58373 ] {1a797eb2-6137-4295-b82d-387380e94943} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:46.085501 [ 54117 ] {eb2acb96-83a2-4580-af34-05482748a73b} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:46.146464 [ 55125 ] {f05c1fae-9e01-45bd-8b2b-a6220b154d5e} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46906) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:46.172671 [ 55125 ] {f05c1fae-9e01-45bd-8b2b-a6220b154d5e} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:46.466172 [ 935 ] {864c6146-cd5d-4fc5-aca0-4f200a4df7b1::2_0_0_1_7} 864c6146-cd5d-4fc5-aca0-4f200a4df7b1::2_0_0_1_7 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part 2_0_0_1_7 from r1 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.05.01 15:12:46.567825 [ 54117 ] {04f5090a-8daf-4406-b0a3-0bfda80ab7d0} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47006) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:46.581770 [ 54117 ] {04f5090a-8daf-4406-b0a3-0bfda80ab7d0} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:46.587699 [ 58385 ] {9e5fbb4a-9bcf-4576-bfb7-ea4e8fdb73b6} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47002) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:46.589784 [ 58385 ] {9e5fbb4a-9bcf-4576-bfb7-ea4e8fdb73b6} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:46.718031 [ 58373 ] {9e012b88-1c5e-47e5-8760-2e8b01f1229f} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47012) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:46.720248 [ 58373 ] {9e012b88-1c5e-47e5-8760-2e8b01f1229f} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:46.954630 [ 935 ] {864c6146-cd5d-4fc5-aca0-4f200a4df7b1::5_0_0_1_9} 864c6146-cd5d-4fc5-aca0-4f200a4df7b1::5_0_0_1_9 (MergeFromLogEntryTask): Code: 40. DB::Exception: Part 5_0_0_1_9 from r1 has different columns hash (it may rarely happen on race condition with KILL MUTATION or ALTER COLUMN). (CHECKSUM_DOESNT_MATCH) (version 23.8.11.29.altinitystable (altinity build)). Data after merge is not byte-identical to data on another replicas. There could be several reasons: 1. Using newer version of compression library after server update. 2. Using another compression method. 3. Non-deterministic compression algorithm (highly unlikely). 4. Non-deterministic merge algorithm due to logical error in code. 5. Data corruption in memory due to bug in code. 6. Data corruption in memory due to hardware issue. 7. Manual modification of source data after server startup. 8. Manual modification of checksums stored in ZooKeeper. 9. Part format related settings like 'enable_mixed_granularity_parts' are different on different replicas. We will download merged part from replica to force byte-identical result. 2024.05.01 15:12:47.074396 [ 58373 ] {22d8cb1c-bfcb-4ee3-9df9-4fac353b162e} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47110) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:47.079711 [ 58373 ] {22d8cb1c-bfcb-4ee3-9df9-4fac353b162e} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:47.125521 [ 58372 ] {850fbf03-a589-4ccb-ba5a-6ec63e524bc6} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47100) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:47.131593 [ 58372 ] {850fbf03-a589-4ccb-ba5a-6ec63e524bc6} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:47.218232 [ 32821 ] {b803b065-eb5e-4ab0-a6f8-f94d6fccb59e} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47136) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:47.221416 [ 32821 ] {b803b065-eb5e-4ab0-a6f8-f94d6fccb59e} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:47.711728 [ 54117 ] {03f05e05-febd-470a-8272-b2086656a3fe} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47224) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:47.719345 [ 54117 ] {03f05e05-febd-470a-8272-b2086656a3fe} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:47.729763 [ 58382 ] {3681951e-6529-4683-bdf4-e5b75e7887b6} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47234) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:47.736811 [ 58382 ] {3681951e-6529-4683-bdf4-e5b75e7887b6} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:47.755416 [ 58539 ] {5810b03c-7384-4c6e-953b-bb38914c96ac} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47262) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:47.760504 [ 58539 ] {5810b03c-7384-4c6e-953b-bb38914c96ac} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:48.189919 [ 58377 ] {17e4a1c7-908d-4655-85a4-16cf78d06eed} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47290) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:48.195830 [ 58377 ] {17e4a1c7-908d-4655-85a4-16cf78d06eed} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:48.236853 [ 58490 ] {ce6044fa-ffb8-4338-bb52-3aaf1c21142a} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47296) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:48.245380 [ 58490 ] {ce6044fa-ffb8-4338-bb52-3aaf1c21142a} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:48.266993 [ 55121 ] {1fa878ab-eb61-4626-83f3-b97edfc8af98} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47300) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:48.271790 [ 55121 ] {1fa878ab-eb61-4626-83f3-b97edfc8af98} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:48.658497 [ 58540 ] {c0069d04-b402-44bf-bfaa-f5df489d48fc} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47376) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:48.663194 [ 58540 ] {c0069d04-b402-44bf-bfaa-f5df489d48fc} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:48.727588 [ 58385 ] {2ceb018e-b9ef-4910-b8e6-d134f92bfac5} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47388) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:48.729821 [ 58385 ] {2ceb018e-b9ef-4910-b8e6-d134f92bfac5} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:48.741479 [ 58489 ] {2ee3307c-b3e0-4e60-b594-67b67f0e1d7f} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47400) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:48.756486 [ 58489 ] {2ee3307c-b3e0-4e60-b594-67b67f0e1d7f} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:49.121085 [ 58540 ] {c7e383d1-f4d5-4ae5-995f-1213d6cb52f5} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47472) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:49.130353 [ 58540 ] {c7e383d1-f4d5-4ae5-995f-1213d6cb52f5} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:49.209665 [ 58490 ] {aad3706a-dc88-4198-a359-56762f9dbaa6} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47480) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:49.229819 [ 58490 ] {aad3706a-dc88-4198-a359-56762f9dbaa6} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:49.249250 [ 55121 ] {7bc5b353-922e-41b6-b5c1-6318414d2397} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47486) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:49.250426 [ 55121 ] {7bc5b353-922e-41b6-b5c1-6318414d2397} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:49.679311 [ 58540 ] {0ebccff7-bb67-436d-9b06-6a76a925d63c} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47562) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:49.690260 [ 58540 ] {0ebccff7-bb67-436d-9b06-6a76a925d63c} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:49.801404 [ 58490 ] {7b43931a-e0b3-4aa7-ba24-9407cb62e58f} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47588) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:49.809742 [ 58490 ] {7b43931a-e0b3-4aa7-ba24-9407cb62e58f} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:49.839147 [ 58373 ] {7f00896f-9198-4fd0-abcf-b3836138c1d1} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47608) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:49.855934 [ 58373 ] {7f00896f-9198-4fd0-abcf-b3836138c1d1} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:50.181561 [ 58490 ] {e406f913-f0a0-41f4-951a-43fa774ea741} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47650) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:50.311663 [ 58490 ] {e406f913-f0a0-41f4-951a-43fa774ea741} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:50.715190 [ 58540 ] {bb8e9126-b37d-4ae7-ae0f-b20eb65e8826} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47672) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:50.721059 [ 58540 ] {bb8e9126-b37d-4ae7-ae0f-b20eb65e8826} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:50.723201 [ 58385 ] {eaf831fc-e79c-4186-b162-2b50dc46d5dd} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:47682) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:50.727971 [ 58385 ] {eaf831fc-e79c-4186-b162-2b50dc46d5dd} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:50.846610 [ 55121 ] {2c5065da-3912-409c-a883-c63987a905b0} executeQuery: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41722) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:50.850976 [ 55121 ] {2c5065da-3912-409c-a883-c63987a905b0} TCPHandler: Code: 15. DB::Exception: Cannot add column `h`: column with this name already exists. (DUPLICATE_COLUMN), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, String&&) @ 0x0000000007c83619 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/AlterCommands.cpp:0: DB::AlterCommands::validate(std::shared_ptr const&, std::shared_ptr) const @ 0x000000001a0229dd in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374942 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:51.325720 [ 55121 ] {ed41468c-0460-4261-a12b-4de03a9bcf3e} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41768) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:51.335199 [ 55121 ] {ed41468c-0460-4261-a12b-4de03a9bcf3e} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:51.425153 [ 32821 ] {4eb3ea50-4fe2-4905-bf1b-6c5a4dac25da} executeQuery: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41800) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: ALTER TABLE alter_table0 ADD COLUMN h String DEFAULT '0';), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:51.435042 [ 32821 ] {4eb3ea50-4fe2-4905-bf1b-6c5a4dac25da} TCPHandler: Code: 517. DB::Exception: Metadata on replica is not up to date with common metadata in Zookeeper. It means that this replica still not applied some of previous alters. Probably too many alters executing concurrently (highly not recommended). You can retry this error. (CANNOT_ASSIGN_ALTER), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(int, char const (&) [242]) @ 0x000000001a38b646 in /usr/bin/clickhouse 3. ./build_docker/./src/Storages/StorageReplicatedMergeTree.cpp:0: DB::StorageReplicatedMergeTree::alter(DB::AlterCommands const&, std::shared_ptr, std::unique_lock&) @ 0x000000001a304a46 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:0: DB::InterpreterAlterQuery::executeToTable(DB::ASTAlterQuery const&) @ 0x0000000019374a74 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/InterpreterAlterQuery.cpp:69: DB::InterpreterAlterQuery::execute() @ 0x0000000019371be8 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55ae6 in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 9. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 15. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 16. ? @ 0x00007f5975bcaac3 in ? 17. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:51.552737 [ 32821 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::1]:41800). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:12:52.759394 [ 58372 ] {db418955-c181-4d3f-b06a-cbf6f99ba998} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:41798). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41798) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: SELECT * FROM system.parts FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000001af0c443 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:967: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08021 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:52.759504 [ 55125 ] {579f05c6-3fc3-424e-90cb-01ea55e10e2a} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:41786). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:41786) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: SELECT * FROM system.parts FORMAT Null), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000001af0c443 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:967: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08021 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:52.761138 [ 55127 ] {52cfb94d-5f27-423b-a9ab-baec45d7c6cc} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:45752). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:45752) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:52.771498 [ 55127 ] {52cfb94d-5f27-423b-a9ab-baec45d7c6cc} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:45752). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:12:52.772135 [ 55127 ] {52cfb94d-5f27-423b-a9ab-baec45d7c6cc} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:45752). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:52.775412 [ 58372 ] {db418955-c181-4d3f-b06a-cbf6f99ba998} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:41798). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:12:52.775790 [ 58372 ] {db418955-c181-4d3f-b06a-cbf6f99ba998} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:41798). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000001af0c443 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:967: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08021 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:52.777285 [ 55127 ] {52cfb94d-5f27-423b-a9ab-baec45d7c6cc} TCPHandler: Client has gone away. 2024.05.01 15:12:52.777397 [ 55125 ] {579f05c6-3fc3-424e-90cb-01ea55e10e2a} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:41786). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:12:52.777653 [ 55125 ] {579f05c6-3fc3-424e-90cb-01ea55e10e2a} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:41786). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileInfo(DB::ProfileInfo const&) @ 0x000000001af0c443 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:967: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af08021 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:52.780310 [ 58372 ] {db418955-c181-4d3f-b06a-cbf6f99ba998} TCPHandler: Client has gone away. 2024.05.01 15:12:52.790494 [ 55125 ] {579f05c6-3fc3-424e-90cb-01ea55e10e2a} TCPHandler: Client has gone away. 2024.05.01 15:12:54.801139 [ 58381 ] {8ee87667-5774-490f-81b4-f51e838ae31e} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46502). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46502) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:54.805230 [ 58381 ] {8ee87667-5774-490f-81b4-f51e838ae31e} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46502). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:12:54.805489 [ 58381 ] {8ee87667-5774-490f-81b4-f51e838ae31e} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46502). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:54.806270 [ 58381 ] {8ee87667-5774-490f-81b4-f51e838ae31e} TCPHandler: Client has gone away. 2024.05.01 15:12:54.937896 [ 58375 ] {b6612b6c-4544-4d78-96ec-12de8c12b318} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46530). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46530) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:54.939771 [ 58375 ] {b6612b6c-4544-4d78-96ec-12de8c12b318} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46530). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:12:54.940103 [ 58375 ] {b6612b6c-4544-4d78-96ec-12de8c12b318} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46530). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:54.940945 [ 58375 ] {b6612b6c-4544-4d78-96ec-12de8c12b318} TCPHandler: Client has gone away. 2024.05.01 15:12:54.941107 [ 58374 ] {6f9f1b41-db04-4304-913e-9a5f6bec2787} executeQuery: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46524). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:46524) (comment: 00992_system_parts_race_condition_zookeeper_long.sh) (in query: INSERT INTO alter_table0 SELECT rand(1), rand(2), 1 / rand(3), toString(rand(4)), [rand(5), rand(6)], rand(7) % 2 ? NULL : generateUUIDv4(), (rand(8), rand(9)) FROM numbers(100000)), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:54.943930 [ 58374 ] {6f9f1b41-db04-4304-913e-9a5f6bec2787} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46524). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:12:54.944268 [ 58374 ] {6f9f1b41-db04-4304-913e-9a5f6bec2787} TCPHandler: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::1]:9000 -> [::1]:46524). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendProfileEvents() @ 0x000000001af0e10c in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefe0c7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 12. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 13. ? @ 0x00007f5975bcaac3 in ? 14. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:12:54.946225 [ 58374 ] {6f9f1b41-db04-4304-913e-9a5f6bec2787} TCPHandler: Client has gone away. 2024.05.01 15:13:16.909216 [ 47429 ] {cancel_http_readonly_queries_on_client_close} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49232) (comment: 00834_cancel_http_readonly_queries_on_client_close.sh) (in query: SELECT count() FROM system.numbers ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a59aa1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:16.911596 [ 47429 ] {cancel_http_readonly_queries_on_client_close} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a59aa1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:16.981858 [ 47429 ] {cancel_http_readonly_queries_on_client_close} DynamicQueryHandler: Cannot send exception to client: Code: 24. DB::Exception: Cannot write to ostream at offset 122. (CANNOT_WRITE_TO_OSTREAM), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type>, unsigned long&&) @ 0x00000000099f1a8d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromOStream.cpp:22: DB::WriteBufferFromOStream::nextImpl() @ 0x000000000fbcb72a in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::WriteBufferFromHTTPServerResponse::nextImpl() @ 0x000000001af2bdbf in /usr/bin/clickhouse 5. ./build_docker/./src/IO/WriteBuffer.h:60: DB::HTTPHandler::trySendExceptionToClient(String const&, int, DB::HTTPServerRequest&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&) @ 0x000000001ae922a7 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/HTTPHandler.cpp:0: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae94e14 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:17.076190 [ 47429 ] {} ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 32, I/O error: Broken pipe, Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./base/poco/Foundation/src/Exception.cpp:164: Poco::IOException::IOException(String const&, int) @ 0x000000001f605e0a in /usr/bin/clickhouse 2. ./build_docker/./base/poco/Net/src/SocketImpl.cpp:1008: Poco::Net::SocketImpl::error(int, String const&) @ 0x000000001f4239cd in /usr/bin/clickhouse 3. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: Poco::Net::SocketImpl::sendBytes(void const*, int, int) @ 0x000000001f425212 in /usr/bin/clickhouse 4. ./build_docker/./base/poco/Net/src/StreamSocketImpl.cpp:0: Poco::Net::StreamSocketImpl::sendBytes(void const*, int, int) @ 0x000000001f42cdae in /usr/bin/clickhouse 5. ./build_docker/./base/poco/Net/src/StreamSocket.cpp:114: Poco::Net::StreamSocket::sendBytes(void const*, int, int) @ 0x000000001f42ace8 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/HTTPSession.cpp:144: Poco::Net::HTTPSession::write(char const*, long) @ 0x000000001f3fabed in /usr/bin/clickhouse 7. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:146: Poco::Net::HTTPChunkedStreamBuf::writeToDevice(char const*, long) @ 0x000000001f3db424 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/include/Poco/BufferedStreamBuf.h:0: Poco::BasicBufferedStreamBuf, Poco::BufferAllocator>::sync() @ 0x000000001f38ccbf in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:55: Poco::Net::HTTPChunkedIOS::~HTTPChunkedIOS() @ 0x000000001f3db8e1 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Net/src/HTTPChunkedStream.cpp:207: Poco::Net::HTTPChunkedOutputStream::~HTTPChunkedOutputStream() @ 0x000000001f3dc614 in /usr/bin/clickhouse 11. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:313: std::__shared_ptr_emplace>::__on_zero_shared() @ 0x000000001af29b88 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:216: DB::HTTPServerConnection::run() @ 0x000000001af250a7 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 16. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 17. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 18. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 19. ? @ 0x00007f5975bcaac3 in ? 20. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:19.516964 [ 54117 ] {hello} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49288) (comment: 00600_replace_running_query.sh) (in query: SELECT 1, count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a59aa1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:19.519714 [ 54117 ] {hello} DynamicQueryHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/CompletedPipelineExecutor.cpp:0: DB::CompletedPipelineExecutor::execute() @ 0x000000001af8009a in /usr/bin/clickhouse 7. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a59aa1 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 9. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 10. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 14. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 15. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 16. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 17. ? @ 0x00007f5975bcaac3 in ? 18. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:20.203985 [ 58377 ] {42} executeQuery: Code: 216. DB::Exception: Query with id = 42 is already running by user u_00600. (QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52848) (comment: 00600_replace_running_query.sh) (in query: SELECT 43), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:191: DB::ProcessList::insert(String const&, DB::IAST const*, std::shared_ptr, unsigned long) @ 0x00000000196c6416 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:857: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a52f65 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:20.204902 [ 58377 ] {42} TCPHandler: Code: 216. DB::Exception: Query with id = 42 is already running by user u_00600. (QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:191: DB::ProcessList::insert(String const&, DB::IAST const*, std::shared_ptr, unsigned long) @ 0x00000000196c6416 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:857: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a52f65 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:20.332706 [ 58373 ] {42} executeQuery: Code: 216. DB::Exception: Query with id = 42 is already running by user u_00600. (QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:49334) (comment: 00600_replace_running_query.sh) (in query: SELECT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:191: DB::ProcessList::insert(String const&, DB::IAST const*, std::shared_ptr, unsigned long) @ 0x00000000196c6416 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:857: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a52f65 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:20.334148 [ 58373 ] {42} DynamicQueryHandler: Code: 216. DB::Exception: Query with id = 42 is already running by user u_00600. (QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, FormatStringHelperImpl::type, std::type_identity::type>, String const&, String const&) @ 0x0000000008376f3c in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:191: DB::ProcessList::insert(String const&, DB::IAST const*, std::shared_ptr, unsigned long) @ 0x00000000196c6416 in /usr/bin/clickhouse 4. ./build_docker/./src/Interpreters/executeQuery.cpp:857: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a52f65 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, bool, std::shared_ptr, std::function, std::optional const&, std::function) @ 0x0000000019a591a7 in /usr/bin/clickhouse 6. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HTTPHandler::processQuery(DB::HTTPServerRequest&, DB::HTMLForm&, DB::HTTPServerResponse&, DB::HTTPHandler::Output&, std::optional&) @ 0x000000001ae8f651 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/HTTPHandler.cpp:1059: DB::HTTPHandler::handleRequest(DB::HTTPServerRequest&, DB::HTTPServerResponse&) @ 0x000000001ae93ec1 in /usr/bin/clickhouse 8. ./build_docker/./src/Server/HTTP/HTTPServerConnection.cpp:0: DB::HTTPServerConnection::run() @ 0x000000001af24f1a in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:20.371245 [ 54117 ] {42} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:52842) (in query: SELECT 2, count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:20.372589 [ 54117 ] {42} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:21.217272 [ 54117 ] {42} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49256) (comment: 00600_replace_running_query.sh) (in query: SELECT 3, count() FROM system.numbers), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:21.219997 [ 54117 ] {42} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Interpreters/ProcessList.cpp:463: DB::QueryStatus::checkTimeLimit() @ 0x00000000196c9d96 in /usr/bin/clickhouse 4. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:197: DB::PipelineExecutor::finalizeExecution() @ 0x000000001af81b23 in /usr/bin/clickhouse 5. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81788 in /usr/bin/clickhouse 6. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 7. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 8. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 9. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 10. ? @ 0x00007f5975bcaac3 in ? 11. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:24.092065 [ 54117 ] {65a96c2d-44f4-40c2-8ab7-7e5f058d8280} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.31 MiB (attempt to allocate chunk of 1376319 bytes), maximum: 976.56 KiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49302) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd061c6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1c56 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:24.093722 [ 54117 ] {65a96c2d-44f4-40c2-8ab7-7e5f058d8280} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 1.31 MiB (attempt to allocate chunk of 1376319 bytes), maximum: 976.56 KiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd061c6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1c56 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:24.574053 [ 54117 ] {69c0ddb3-d7e8-47b6-8d21-67605704e619} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 1.43 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49312) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd08116 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/Connection.cpp:186: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1e4d in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:24.575671 [ 54117 ] {69c0ddb3-d7e8-47b6-8d21-67605704e619} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 1.43 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd08116 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/Connection.cpp:186: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1e4d in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:25.005431 [ 54117 ] {4ab0c3c6-fcdc-403f-a92b-894f8aeca87e} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 1.91 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49326) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd08116 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/Connection.cpp:186: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1e4d in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:25.006803 [ 54117 ] {4ab0c3c6-fcdc-403f-a92b-894f8aeca87e} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 2.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 1.91 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd08116 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/Connection.cpp:186: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1e4d in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:25.515085 [ 54117 ] {c2ba0ae6-895b-46d0-8aad-fde6859832f9} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 2.38 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49338) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:0: FiberStack::allocate() const @ 0x00000000183feba3 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x00000000183fdc6d in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x00000000183fd13c in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000001adf5015 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000001adf47c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000001adf4e38 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::receivePacket() @ 0x000000001adf4c99 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::read() @ 0x00000000183ee8bd in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:127: DB::RemoteQueryExecutor::readBlock() @ 0x00000000183ee5b3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4ae89f in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:677: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4b0c99 in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001771fcfd in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001771eafe in /usr/bin/clickhouse 19. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 15:13:25.581299 [ 58377 ] {2f629686-fe68-4a98-9863-6f19803d15cb} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58428). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58428) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: DESC TABLE test_1ykyty6a.numbers_100k), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af07bb5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:25.581336 [ 54117 ] {c2ba0ae6-895b-46d0-8aad-fde6859832f9} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 2.38 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:0: FiberStack::allocate() const @ 0x00000000183feba3 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x00000000183fdc6d in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x00000000183fd13c in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000001adf5015 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000001adf47c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000001adf4e38 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::receivePacket() @ 0x000000001adf4c99 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::read() @ 0x00000000183ee8bd in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:127: DB::RemoteQueryExecutor::readBlock() @ 0x00000000183ee5b3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4ae89f in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:677: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4b0c99 in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001771fcfd in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001771eafe in /usr/bin/clickhouse 19. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 15:13:25.582815 [ 58377 ] {2f629686-fe68-4a98-9863-6f19803d15cb} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58428). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:25.583061 [ 58377 ] {2f629686-fe68-4a98-9863-6f19803d15cb} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58428). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af07bb5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:25.583598 [ 58377 ] {2f629686-fe68-4a98-9863-6f19803d15cb} TCPHandler: Client has gone away. 2024.05.01 15:13:25.944431 [ 58377 ] {f26bdff3-4fa3-4805-ac5c-984bbfdbe00e} executeQuery: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58438). (NETWORK_ERROR) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58438) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: DESC TABLE test_1ykyty6a.numbers_100k), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af07bb5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:25.944677 [ 54117 ] {7a481f73-4fc5-489b-a322-37fa0b276e16} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 2.86 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49344) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:0: FiberStack::allocate() const @ 0x00000000183feba3 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x00000000183fdc6d in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x00000000183fd13c in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000001adf5015 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000001adf47c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000001adf4e38 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::receivePacket() @ 0x000000001adf4c99 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::read() @ 0x00000000183ee8bd in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:127: DB::RemoteQueryExecutor::readBlock() @ 0x00000000183ee5b3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4ae89f in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:677: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4b0c99 in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001771fcfd in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001771eafe in /usr/bin/clickhouse 19. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 15:13:25.945714 [ 58377 ] {f26bdff3-4fa3-4805-ac5c-984bbfdbe00e} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: I/O error: Broken pipe, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58438). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07c71 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:25.946007 [ 58377 ] {f26bdff3-4fa3-4805-ac5c-984bbfdbe00e} TCPHandler: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58438). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendData(DB::Block const&) @ 0x000000001af0b02d in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::processOrdinaryQueryWithProcessors() @ 0x000000001af07bb5 in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefdf0b in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:25.946021 [ 54117 ] {7a481f73-4fc5-489b-a322-37fa0b276e16} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 3.31 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 2.86 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:0: FiberStack::allocate() const @ 0x00000000183feba3 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x00000000183fdc6d in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x00000000183fd13c in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000001adf5015 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000001adf47c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000001adf4e38 in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::HedgedConnections::receivePacket() @ 0x000000001adf4c99 in /usr/bin/clickhouse 13. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.cpp:0: DB::RemoteQueryExecutor::read() @ 0x00000000183ee8bd in /usr/bin/clickhouse 14. ./build_docker/./src/QueryPipeline/RemoteQueryExecutor.h:127: DB::RemoteQueryExecutor::readBlock() @ 0x00000000183ee5b3 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/vector:537: DB::getStructureOfRemoteTableInShard(DB::Cluster const&, DB::Cluster::ShardInfo const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4ae89f in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:677: DB::getStructureOfRemoteTable(DB::Cluster const&, DB::StorageID const&, std::shared_ptr, std::shared_ptr const&) @ 0x000000001a4b0c99 in /usr/bin/clickhouse 17. ./build_docker/./src/TableFunctions/TableFunctionRemote.cpp:345: DB::TableFunctionRemote::getActualTableStructure(std::shared_ptr, bool) const @ 0x000000001771fcfd in /usr/bin/clickhouse 18. ./build_docker/./contrib/boost/boost/multi_index_container.hpp:1000: DB::TableFunctionRemote::executeImpl(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool) const @ 0x000000001771eafe in /usr/bin/clickhouse 19. ./build_docker/./src/TableFunctions/ITableFunction.cpp:37: DB::ITableFunction::execute(std::shared_ptr const&, std::shared_ptr, String const&, DB::ColumnsDescription, bool, bool) const @ 0x0000000017a773de in /usr/bin/clickhouse 20. ./build_docker/./src/Interpreters/Context.cpp:1730: DB::Context::executeTableFunction(std::shared_ptr const&, DB::ASTSelectQuery const*) @ 0x00000000188f0b2b in /usr/bin/clickhouse 21. ./build_docker/./src/Interpreters/JoinedTables.cpp:211: DB::JoinedTables::getLeftTableStorage() @ 0x000000001965796a in /usr/bin/clickhouse 22. ./build_docker/./src/Interpreters/InterpreterSelectQuery.cpp:429: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, std::optional, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&, std::shared_ptr const&, std::shared_ptr) @ 0x0000000019530c24 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/optional:260: DB::InterpreterSelectQuery::InterpreterSelectQuery(std::shared_ptr const&, std::shared_ptr const&, DB::SelectQueryOptions const&, std::vector> const&) @ 0x000000001952efc6 in /usr/bin/clickhouse 24. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:257: DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::shared_ptr const&, std::vector> const&) @ 0x0000000019607d54 in /usr/bin/clickhouse 25. ./build_docker/./src/Interpreters/InterpreterSelectWithUnionQuery.cpp:152: DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::shared_ptr const&, std::shared_ptr, DB::SelectQueryOptions const&, std::vector> const&) @ 0x0000000019604fab in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:0: std::__unique_if::__unique_single std::make_unique[abi:v15000]&, std::shared_ptr&, DB::SelectQueryOptions const&>(std::shared_ptr&, std::shared_ptr&, DB::SelectQueryOptions const&) @ 0x00000000194ddb4a in /usr/bin/clickhouse 27. ./build_docker/./src/Interpreters/InterpreterFactory.cpp:0: DB::InterpreterFactory::get(std::shared_ptr&, std::shared_ptr, DB::SelectQueryOptions const&) @ 0x00000000194dd277 in /usr/bin/clickhouse 28. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a55144 in /usr/bin/clickhouse 29. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 30. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 31. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 2024.05.01 15:13:25.946525 [ 58377 ] {f26bdff3-4fa3-4805-ac5c-984bbfdbe00e} TCPHandler: Client has gone away. 2024.05.01 15:13:26.404353 [ 58377 ] {9d9eced5-98c4-4c6a-bebf-d9d803c36622} executeQuery: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58452) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_1ykyty6a`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000001af189f8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x000000001890abd4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a53036 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:26.405491 [ 58377 ] {9d9eced5-98c4-4c6a-bebf-d9d803c36622} TCPHandler: Code: 394. DB::Exception: Query was cancelled. (QUERY_WAS_CANCELLED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. DB::Exception::Exception(int, char const (&) [20]) @ 0x0000000008269b06 in /usr/bin/clickhouse 3. ./build_docker/./src/Server/TCPHandler.cpp:0: void std::__function::__policy_invoker)>::__call_impl)>>(std::__function::__policy_storage const*, std::shared_ptr&&) @ 0x000000001af189f8 in /usr/bin/clickhouse 4. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::Context::initializeExternalTablesIfSet() @ 0x000000001890abd4 in /usr/bin/clickhouse 5. ./build_docker/./src/Interpreters/executeQuery.cpp:0: DB::executeQueryImpl(char const*, char const*, std::shared_ptr, bool, DB::QueryProcessingStage::Enum, DB::ReadBuffer*) @ 0x0000000019a53036 in /usr/bin/clickhouse 6. ./build_docker/./src/Interpreters/executeQuery.cpp:1223: DB::executeQuery(String const&, std::shared_ptr, bool, DB::QueryProcessingStage::Enum) @ 0x0000000019a51679 in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefddcb in /usr/bin/clickhouse 8. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 10. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 13. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 14. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 15. ? @ 0x00007f5975bcaac3 in ? 16. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:26.408312 [ 54117 ] {a3f9942f-62ee-40aa-a658-6e64155e96e3} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 3.34 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49346) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd061c6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1c56 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:26.417359 [ 58377 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:58452). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:26.417486 [ 54117 ] {a3f9942f-62ee-40aa-a658-6e64155e96e3} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 3.34 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd061c6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1c56 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:26.905249 [ 58377 ] {d88793a0-c2fe-4074-84c2-3f70df9c24e2} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 3.81 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49350) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd061c6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1c56 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:26.914179 [ 58377 ] {d88793a0-c2fe-4074-84c2-3f70df9c24e2} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 3.81 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd061c6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1c56 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:27.010304 [ 58489 ] {30808e9d-6a8d-46af-add1-5bc82dca9751} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.22 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 3.81 MiB.: while executing 'FUNCTION toString(number :: 0) -> toString(number) String : 1'. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58458) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_1ykyty6a`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x0000000007c8812e in /usr/bin/clickhouse 8. DB::ConvertImpl, DB::DataTypeString, DB::NameToString, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long) @ 0x0000000007ff85a2 in /usr/bin/clickhouse 9. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007ff508f in /usr/bin/clickhouse 10. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007ff4ce9 in /usr/bin/clickhouse 11. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007ff3fa0 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:27.078944 [ 58489 ] {30808e9d-6a8d-46af-add1-5bc82dca9751} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58458). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:27.079359 [ 58489 ] {30808e9d-6a8d-46af-add1-5bc82dca9751} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.22 MiB (attempt to allocate chunk of 1572864 bytes), maximum: 3.81 MiB.: while executing 'FUNCTION toString(number :: 0) -> toString(number) String : 1'. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. void DB::PODArrayBase<8ul, 4096ul, Allocator, 63ul, 64ul>::resize<>(unsigned long) @ 0x0000000007c8812e in /usr/bin/clickhouse 8. DB::ConvertImpl, DB::DataTypeString, DB::NameToString, DB::ConvertDefaultBehaviorTag>::execute(std::vector> const&, std::shared_ptr const&, unsigned long) @ 0x0000000007ff85a2 in /usr/bin/clickhouse 9. bool DB::callOnIndexAndDataType::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const::'lambda'(auto const&, auto const&)&, DB::ConvertDefaultBehaviorTag>(DB::TypeIndex, auto&&, DB::ConvertDefaultBehaviorTag&&) @ 0x0000000007ff508f in /usr/bin/clickhouse 10. DB::FunctionConvert::executeInternal(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007ff4ce9 in /usr/bin/clickhouse 11. DB::FunctionConvert::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007ff3fa0 in /usr/bin/clickhouse 12. DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000007c845f1 in /usr/bin/clickhouse 13. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a5740b in /usr/bin/clickhouse 14. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a58046 in /usr/bin/clickhouse 15. ./build_docker/./src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x0000000017a59e46 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x0000000018a4b919 in /usr/bin/clickhouse 17. ./build_docker/./src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x000000001b307dee in /usr/bin/clickhouse 18. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 19. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 21. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 22. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 23. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 24. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 25. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 26. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 27. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 28. ? @ 0x00007f5975bcaac3 in ? 29. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:27.080083 [ 58489 ] {30808e9d-6a8d-46af-add1-5bc82dca9751} TCPHandler: Client has gone away. 2024.05.01 15:13:27.385131 [ 58377 ] {8762e1da-088b-4d71-ac5c-732d05febf15} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 4.29 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49364) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd061c6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1c56 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:27.395706 [ 58377 ] {8762e1da-088b-4d71-ac5c-732d05febf15} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 4.29 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd061c6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1c56 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:27.611274 [ 58489 ] {782acefd-92cc-47a5-baca-e1e3a6e97644} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.25 MiB (attempt to allocate chunk of 1079656 bytes), maximum: 4.29 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58460) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_1ykyty6a`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:27.613405 [ 58489 ] {782acefd-92cc-47a5-baca-e1e3a6e97644} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58460). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:27.613675 [ 58489 ] {782acefd-92cc-47a5-baca-e1e3a6e97644} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.25 MiB (attempt to allocate chunk of 1079656 bytes), maximum: 4.29 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:27.614206 [ 58489 ] {782acefd-92cc-47a5-baca-e1e3a6e97644} TCPHandler: Client has gone away. 2024.05.01 15:13:27.850313 [ 58377 ] {12eda6aa-1202-4ef9-a81f-9befcfbb9fc9} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 4.77 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49370) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd061c6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1c56 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:27.858922 [ 58377 ] {12eda6aa-1202-4ef9-a81f-9befcfbb9fc9} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 4.94 MiB (attempt to allocate chunk of 1703999 bytes), maximum: 4.77 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::ReadBufferFromPocoSocket::ReadBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd061c6 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/construct_at.h:0: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1c56 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:27.886930 [ 58489 ] {43d540c5-f24c-4438-988f-321fc37ced06} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.25 MiB (attempt to allocate chunk of 1079656 bytes), maximum: 4.77 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58462) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_1ykyty6a`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:27.888769 [ 58489 ] {43d540c5-f24c-4438-988f-321fc37ced06} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58462). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:27.889028 [ 58489 ] {43d540c5-f24c-4438-988f-321fc37ced06} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.25 MiB (attempt to allocate chunk of 1079656 bytes), maximum: 4.77 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:27.889594 [ 58489 ] {43d540c5-f24c-4438-988f-321fc37ced06} TCPHandler: Client has gone away. 2024.05.01 15:13:28.366739 [ 58377 ] {468c88b2-f4a7-4453-b60a-bf3798534267} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 5.25 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49374) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd08116 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/Connection.cpp:186: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1e4d in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:28.377620 [ 58377 ] {468c88b2-f4a7-4453-b60a-bf3798534267} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 5.25 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd08116 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/Connection.cpp:186: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1e4d in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:28.381147 [ 58489 ] {f65f78dc-5062-41cd-9e3e-b59b4a259d8f} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.25 MiB (attempt to allocate chunk of 1079656 bytes), maximum: 5.25 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58476) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_1ykyty6a`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:28.383005 [ 58489 ] {f65f78dc-5062-41cd-9e3e-b59b4a259d8f} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.25 MiB (attempt to allocate chunk of 1079656 bytes), maximum: 5.25 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:28.383644 [ 58489 ] {f65f78dc-5062-41cd-9e3e-b59b4a259d8f} TCPHandler: Client has gone away. 2024.05.01 15:13:28.856038 [ 58377 ] {27593604-e567-4e01-a502-70cdacdf6e2f} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 5.72 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49390) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd08116 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/Connection.cpp:186: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1e4d in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:28.865693 [ 58377 ] {27593604-e567-4e01-a502-70cdacdf6e2f} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 5.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 5.72 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:130: DB::Memory>::alloc(unsigned long) @ 0x000000000fa53a66 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: DB::WriteBufferFromPocoSocket::WriteBufferFromPocoSocket(Poco::Net::Socket&, unsigned long) @ 0x000000000fd08116 in /usr/bin/clickhouse 9. ./build_docker/./src/Client/Connection.cpp:186: DB::Connection::connect(DB::ConnectionTimeouts const&) @ 0x000000001adc1e4d in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:435: DB::Connection::getServerRevision(DB::ConnectionTimeouts const&) @ 0x000000001adc57f6 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisher::run(PoolWithFailoverBase::TryResult&, String&) @ 0x000000001adea565 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/ConnectionEstablisher.cpp:0: DB::ConnectionEstablisherAsync::Task::run(std::function, std::function) @ 0x000000001adebfbd in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:28.896676 [ 58489 ] {c242285e-7e43-42e3-9577-c2ced2f52f31} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.00 MiB (attempt to allocate chunk of 1835008 bytes), maximum: 5.72 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58484) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_1ykyty6a`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:28.899630 [ 58489 ] {c242285e-7e43-42e3-9577-c2ced2f52f31} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.2]:9000 -> [::ffff:127.0.0.1]:58484). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:28.899936 [ 58489 ] {c242285e-7e43-42e3-9577-c2ced2f52f31} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.00 MiB (attempt to allocate chunk of 1835008 bytes), maximum: 5.72 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:28.900588 [ 58489 ] {c242285e-7e43-42e3-9577-c2ced2f52f31} TCPHandler: Client has gone away. 2024.05.01 15:13:29.397438 [ 58489 ] {6bcf5241-44d0-46ba-ac5b-9fc0bf3a3c7c} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.00 MiB (attempt to allocate chunk of 1835008 bytes), maximum: 6.20 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58492) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_1ykyty6a`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:29.400645 [ 58489 ] {6bcf5241-44d0-46ba-ac5b-9fc0bf3a3c7c} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.00 MiB (attempt to allocate chunk of 1835008 bytes), maximum: 6.20 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:29.402813 [ 58490 ] {f850d68a-ab99-485d-b274-6beb965362df} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.00 MiB (attempt to allocate chunk of 1835008 bytes), maximum: 6.20 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54540) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_1ykyty6a`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:29.449887 [ 58377 ] {c358d1e0-1ca6-4bea-b4fc-1144888dabe0} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 6.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 6.20 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49396) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:0: FiberStack::allocate() const @ 0x00000000183feba3 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x00000000183fdc6d in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x00000000183fd13c in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000001adf5015 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000001adf47c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000001adf4e38 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutorReadContext.cpp:50: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x000000001840082b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:29.449910 [ 58490 ] {f850d68a-ab99-485d-b274-6beb965362df} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.00 MiB (attempt to allocate chunk of 1835008 bytes), maximum: 6.20 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:29.458744 [ 58490 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:54540). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:29.459714 [ 58489 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:58492). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:29.462647 [ 58377 ] {c358d1e0-1ca6-4bea-b4fc-1144888dabe0} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 6.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 6.20 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:0: FiberStack::allocate() const @ 0x00000000183feba3 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x00000000183fdc6d in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x00000000183fd13c in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000001adf5015 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000001adf47c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000001adf4e38 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutorReadContext.cpp:50: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x000000001840082b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:29.967723 [ 58377 ] {25a00f1e-4afd-4997-9b5f-29e90a412c23} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 6.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 6.68 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49398) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:0: FiberStack::allocate() const @ 0x00000000183feba3 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x00000000183fdc6d in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x00000000183fd13c in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000001adf5015 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000001adf47c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000001adf4e38 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutorReadContext.cpp:50: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x000000001840082b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:29.983377 [ 58377 ] {25a00f1e-4afd-4997-9b5f-29e90a412c23} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 6.94 MiB (attempt to allocate chunk of 1048639 bytes), maximum: 6.68 MiB.: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/FiberStack.h:0: FiberStack::allocate() const @ 0x00000000183feba3 in /usr/bin/clickhouse 7. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:0: boost::context::detail::fiber_activation_record* boost::context::detail::create_fiber1>(FiberStack&, Fiber::RoutineImpl&&) @ 0x00000000183fdc6d in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:449: DB::AsyncTaskExecutor::resume() @ 0x00000000183fd13c in /usr/bin/clickhouse 9. ./build_docker/./src/Client/HedgedConnections.cpp:0: DB::HedgedConnections::resumePacketReceiver(DB::HedgedConnections::ReplicaLocation const&) @ 0x000000001adf5015 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/HedgedConnections.cpp:331: DB::HedgedConnections::getReadyReplicaLocation(std::function) @ 0x000000001adf47c1 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/HedgedConnections.cpp:305: DB::HedgedConnections::receivePacketUnlocked(std::function) @ 0x000000001adf4e38 in /usr/bin/clickhouse 12. ./build_docker/./src/QueryPipeline/RemoteQueryExecutorReadContext.cpp:50: DB::RemoteQueryExecutorReadContext::Task::run(std::function, std::function) @ 0x000000001840082b in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:30.019423 [ 58490 ] {cc426a07-8365-4137-9d09-c546ad88ded6} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.00 MiB (attempt to allocate chunk of 1835008 bytes), maximum: 6.68 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:54546) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_1ykyty6a`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:30.020866 [ 58489 ] {42a64a1b-cee5-4aff-9370-21c8b93444bf} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.00 MiB (attempt to allocate chunk of 1835008 bytes), maximum: 6.68 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::ffff:127.0.0.1]:58502) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(`number`, 5) AS `k`, max(toString(`number`)) FROM `test_1ykyty6a`.`numbers_100k` GROUP BY `k` ORDER BY `k` ASC LIMIT 1), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:30.024794 [ 58489 ] {42a64a1b-cee5-4aff-9370-21c8b93444bf} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.00 MiB (attempt to allocate chunk of 1835008 bytes), maximum: 6.68 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:30.025019 [ 58490 ] {cc426a07-8365-4137-9d09-c546ad88ded6} TCPHandler: Can't send logs to client: Code: 210. DB::NetException: Connection reset by peer, while writing to socket ([::ffff:127.0.0.3]:9000 -> [::ffff:127.0.0.1]:54546). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type>, String&&, String&&, String&&) @ 0x000000000fd0876d in /usr/bin/clickhouse 3. ./build_docker/./src/IO/WriteBufferFromPocoSocket.cpp:0: DB::WriteBufferFromPocoSocket::nextImpl() @ 0x000000000fd07aa0 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/WriteBuffer.h:60: DB::TCPHandler::sendLogData(DB::Block const&) @ 0x000000001af17939 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::sendLogs() @ 0x000000001af0941a in /usr/bin/clickhouse 6. ./build_docker/./src/Server/TCPHandler.cpp:0: DB::TCPHandler::runImpl() @ 0x000000001aefecbc in /usr/bin/clickhouse 7. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 9. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 11. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 12. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 13. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 14. ? @ 0x00007f5975bcaac3 in ? 15. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:30.025370 [ 58490 ] {cc426a07-8365-4137-9d09-c546ad88ded6} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 7.00 MiB (attempt to allocate chunk of 1835008 bytes), maximum: 6.68 MiB.: While executing AggregatingTransform. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:0: void DB::Aggregator::executeImplBatch, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>::State&, DB::Arena*, unsigned long, unsigned long, DB::Aggregator::AggregateFunctionInstruction*, char*) const @ 0x0000000018cc524d in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:1089: void DB::Aggregator::executeImpl, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>>(DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, HashCRC32, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, DB::Arena*, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018bb776b in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:1045: DB::Aggregator::executeImpl(DB::AggregatedDataVariants&, unsigned long, unsigned long, std::vector>&, DB::Aggregator::AggregateFunctionInstruction*, bool, char*) const @ 0x0000000018adcfbe in /usr/bin/clickhouse 11. ./build_docker/./src/Interpreters/Aggregator.cpp:0: DB::Aggregator::executeOnBlock(std::vector::immutable_ptr, std::allocator::immutable_ptr>>, unsigned long, unsigned long, DB::AggregatedDataVariants&, std::vector>&, std::vector>, std::allocator>>>&, bool&) const @ 0x0000000018ae1ff9 in /usr/bin/clickhouse 12. ./build_docker/./src/Processors/Transforms/AggregatingTransform.cpp:669: DB::AggregatingTransform::consume(DB::Chunk) @ 0x000000001b2cf652 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::AggregatingTransform::work() @ 0x000000001b2cbdbc in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::PipelineExecutor::executeImpl(unsigned long, bool) @ 0x000000001af81a19 in /usr/bin/clickhouse 17. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:274: DB::PipelineExecutor::execute(unsigned long, bool) @ 0x000000001af81724 in /usr/bin/clickhouse 18. ./build_docker/./src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:96: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000001af94119 in /usr/bin/clickhouse 19. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 20. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 21. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 22. ? @ 0x00007f5975bcaac3 in ? 23. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:30.025531 [ 58489 ] {42a64a1b-cee5-4aff-9370-21c8b93444bf} TCPHandler: Client has gone away. 2024.05.01 15:13:30.026068 [ 58490 ] {cc426a07-8365-4137-9d09-c546ad88ded6} TCPHandler: Client has gone away. 2024.05.01 15:13:30.559930 [ 58489 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:58506). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:30.578333 [ 58490 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:54554). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:30.651871 [ 58377 ] {28009ed4-93fe-433d-98d2-2535fd199ccc} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.15 MiB (attempt to allocate chunk of 1274951 bytes), maximum: 7.15 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:49404) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000000f983ee4 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x000000000fa74a77 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x00000000183507d0 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:72: DB::NativeReader::read() @ 0x000000001af45060 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:30.664657 [ 58377 ] {28009ed4-93fe-433d-98d2-2535fd199ccc} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.15 MiB (attempt to allocate chunk of 1274951 bytes), maximum: 7.15 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000000f983ee4 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x000000000fa74a77 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x00000000183507d0 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:72: DB::NativeReader::read() @ 0x000000001af45060 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:31.180826 [ 58489 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:59936). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:31.212372 [ 58377 ] {d8d9b333-b552-4fb9-bd31-728e33332da9} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.16 MiB (attempt to allocate chunk of 1285703 bytes), maximum: 7.63 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54642) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000000f983ee4 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x000000000fa74a77 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x00000000183507d0 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:72: DB::NativeReader::read() @ 0x000000001af45060 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:31.221937 [ 58490 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:37298). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:31.223685 [ 58377 ] {d8d9b333-b552-4fb9-bd31-728e33332da9} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.16 MiB (attempt to allocate chunk of 1285703 bytes), maximum: 7.63 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000000f983ee4 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x000000000fa74a77 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x00000000183507d0 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:72: DB::NativeReader::read() @ 0x000000001af45060 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:31.721811 [ 58489 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:59948). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:31.750672 [ 58377 ] {37f67e62-9bf6-4bd5-b591-0298543feec1} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.15 MiB (attempt to allocate chunk of 1274951 bytes), maximum: 8.11 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54650) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000000f983ee4 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x000000000fa74a77 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x00000000183507d0 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:72: DB::NativeReader::read() @ 0x000000001af45060 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:31.759058 [ 58490 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:37302). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:31.760473 [ 58377 ] {37f67e62-9bf6-4bd5-b591-0298543feec1} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 8.15 MiB (attempt to allocate chunk of 1274951 bytes), maximum: 8.11 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000000f983ee4 in /usr/bin/clickhouse 7. ./build_docker/./src/IO/BufferWithOwnMemory.h:101: DB::Memory>::resize(unsigned long) @ 0x000000000fa74a77 in /usr/bin/clickhouse 8. ./build_docker/./src/IO/BufferWithOwnMemory.h:80: non-virtual thunk to DB::CompressedReadBuffer::nextImpl() @ 0x00000000183507d0 in /usr/bin/clickhouse 9. ./build_docker/./src/IO/ReadBuffer.h:72: DB::NativeReader::read() @ 0x000000001af45060 in /usr/bin/clickhouse 10. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 13. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 15. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:32.333547 [ 58490 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:37316). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:32.399654 [ 58377 ] {de66d720-36b1-48ea-833c-5aeaa49b05e4} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.27 MiB (attempt to allocate chunk of 1159277 bytes), maximum: 8.58 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54662) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x000000001857ab24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001af44bda in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::NativeReader::read() @ 0x000000001af46229 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:32.410049 [ 58489 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:59950). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:32.411709 [ 58377 ] {de66d720-36b1-48ea-833c-5aeaa49b05e4} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 9.27 MiB (attempt to allocate chunk of 1159277 bytes), maximum: 8.58 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. ./build_docker/./src/Common/PODArray.h:0: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x000000001857ab24 in /usr/bin/clickhouse 8. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001af44bda in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::NativeReader::read() @ 0x000000001af46229 in /usr/bin/clickhouse 11. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 13. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 16. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:32.928128 [ 58490 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:37324). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:33.031340 [ 58377 ] {1ee5eced-74d8-4168-a651-0b26432f2492} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 10.03 MiB (attempt to allocate chunk of 2088960 bytes), maximum: 9.06 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54678) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x000000001857ad6f in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001af44bda in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::NativeReader::read() @ 0x000000001af46229 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:33.040288 [ 58489 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:59956). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:33.041480 [ 58377 ] {1ee5eced-74d8-4168-a651-0b26432f2492} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 10.03 MiB (attempt to allocate chunk of 2088960 bytes), maximum: 9.06 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x000000001857ad6f in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001af44bda in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::NativeReader::read() @ 0x000000001af46229 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:33.546301 [ 58489 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:59968). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:33.556342 [ 58377 ] {96e75d4a-27de-43a5-b7c7-35753fd8f2a8} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 10.75 MiB (attempt to allocate chunk of 1568768 bytes), maximum: 9.54 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54682) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x000000001857ad6f in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001af44bda in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::NativeReader::read() @ 0x000000001af46229 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:33.565516 [ 58490 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:37330). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:33.566742 [ 58377 ] {96e75d4a-27de-43a5-b7c7-35753fd8f2a8} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 10.75 MiB (attempt to allocate chunk of 1568768 bytes), maximum: 9.54 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x000000001857ad6f in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001af44bda in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::NativeReader::read() @ 0x000000001af46229 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:34.108192 [ 58489 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:59978). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:34.120495 [ 58377 ] {02d6c142-7108-4b3c-9f3a-ff43d5c0b6aa} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 10.75 MiB (attempt to allocate chunk of 1568768 bytes), maximum: 9.63 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54684) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x000000001857ad6f in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001af44bda in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::NativeReader::read() @ 0x000000001af46229 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:34.129883 [ 58490 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:37340). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:34.131107 [ 58377 ] {02d6c142-7108-4b3c-9f3a-ff43d5c0b6aa} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 10.75 MiB (attempt to allocate chunk of 1568768 bytes), maximum: 9.63 MiB.: while receiving packet from 127.0.0.2:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x000000001857ad6f in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001af44bda in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::NativeReader::read() @ 0x000000001af46229 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:34.748080 [ 58490 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:37348). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:34.752872 [ 58377 ] {b8558a99-6107-45d4-8d0d-a3cc09b4069f} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 12.74 MiB (attempt to allocate chunk of 2088960 bytes), maximum: 12.02 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54700) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x000000001857ad6f in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001af44bda in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::NativeReader::read() @ 0x000000001af46229 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:34.764195 [ 58489 ] {} ServerErrorHandler: Code: 210. DB::NetException: Connection reset by peer, while reading from socket ([::ffff:127.0.0.1]:59980). (NETWORK_ERROR), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::NetException::NetException(int, FormatStringHelperImpl::type, std::type_identity::type>, String&&, String&&) @ 0x000000000fd066bc in /usr/bin/clickhouse 3. ./build_docker/./src/IO/ReadBufferFromPocoSocket.cpp:0: DB::ReadBufferFromPocoSocket::nextImpl() @ 0x000000000fd05bf6 in /usr/bin/clickhouse 4. ./build_docker/./src/IO/ReadBuffer.h:72: DB::TCPHandler::runImpl() @ 0x000000001aefd221 in /usr/bin/clickhouse 5. ./build_docker/./src/Server/TCPHandler.cpp:2161: DB::TCPHandler::run() @ 0x000000001af17d68 in /usr/bin/clickhouse 6. ./build_docker/./base/poco/Net/src/TCPServerConnection.cpp:57: Poco::Net::TCPServerConnection::start() @ 0x000000001f42e543 in /usr/bin/clickhouse 7. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:48: Poco::Net::TCPServerDispatcher::run() @ 0x000000001f42edbb in /usr/bin/clickhouse 8. ./build_docker/./base/poco/Foundation/src/ThreadPool.cpp:202: Poco::PooledThread::run() @ 0x000000001f686547 in /usr/bin/clickhouse 9. ./build_docker/./base/poco/Foundation/src/Thread.cpp:46: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000001f684830 in /usr/bin/clickhouse 10. ./build_docker/./base/poco/Foundation/include/Poco/SharedPtr.h:231: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000001f682dea in /usr/bin/clickhouse 11. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 12. ? @ 0x00007f5975bcaac3 in ? 13. ? @ 0x00007f5975c5ba04 in ? (version 23.8.11.29.altinitystable (altinity build)) 2024.05.01 15:13:34.766181 [ 58377 ] {b8558a99-6107-45d4-8d0d-a3cc09b4069f} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 12.74 MiB (attempt to allocate chunk of 2088960 bytes), maximum: 12.02 MiB.: while receiving packet from 127.0.0.3:9000: While executing Remote. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::alloc(unsigned long, unsigned long) @ 0x000000000f9834d9 in /usr/bin/clickhouse 7. DB::Arena::addMemoryChunk(unsigned long) @ 0x0000000008ee9093 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/Arena.h:164: DB::SerializationAggregateFunction::deserializeBinaryBulk(DB::IColumn&, DB::ReadBuffer&, unsigned long, double) const @ 0x000000001857ad6f in /usr/bin/clickhouse 9. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:211: DB::ISerialization::deserializeBinaryBulkWithMultipleStreams(COW::immutable_ptr&, unsigned long, DB::ISerialization::DeserializeBinaryBulkSettings&, std::shared_ptr&, std::unordered_map::immutable_ptr, std::hash, std::equal_to, std::allocator::immutable_ptr>>>*) const @ 0x0000000018574533 in /usr/bin/clickhouse 10. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:202: DB::NativeReader::readData(DB::ISerialization const&, COW::immutable_ptr&, DB::ReadBuffer&, unsigned long, double) @ 0x000000001af44bda in /usr/bin/clickhouse 11. ./build_docker/./contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:117: DB::NativeReader::read() @ 0x000000001af46229 in /usr/bin/clickhouse 12. ./build_docker/./src/Client/Connection.cpp:1078: DB::Connection::receiveDataImpl(DB::NativeReader&) @ 0x000000001add0cea in /usr/bin/clickhouse 13. ./build_docker/./src/Client/Connection.cpp:0: DB::Connection::receivePacket() @ 0x000000001adcefb3 in /usr/bin/clickhouse 14. ./build_docker/./src/Client/PacketReceiver.cpp:66: DB::PacketReceiver::Task::run(std::function, std::function) @ 0x000000001ae1ad18 in /usr/bin/clickhouse 15. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: DB::AsyncTaskExecutor::Routine::operator()(std::function) @ 0x00000000183ff77f in /usr/bin/clickhouse 16. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:818: boost::context::detail::fiber_capture_record>::run() @ 0x00000000183ff1c0 in /usr/bin/clickhouse 17. ./build_docker/./contrib/boost/boost/context/fiber_ucontext.hpp:82: void boost::context::detail::fiber_entry_func>>(unsigned int, unsigned int) @ 0x00000000183fdf63 in /usr/bin/clickhouse 2024.05.01 15:13:35.603611 [ 58377 ] {eb25f37a-b79c-4fc7-9cb2-263418274aff} executeQuery: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 15.44 MiB (attempt to allocate chunk of 1777920 bytes), maximum: 14.40 MiB. (MEMORY_LIMIT_EXCEEDED) (version 23.8.11.29.altinitystable (altinity build)) (from [::1]:54712) (comment: 00133_long_shard_memory_tracker_and_exception_safety.sh) (in query: SELECT intDiv(number, 5) AS k, max(toString(number)) FROM remote('127.0.0.{2,3}', test_1ykyty6a.numbers_100k) GROUP BY k ORDER BY k LIMIT 1; ), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000000f98705b in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x0000000018c73721 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x0000000018c72f3c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x0000000018be34d9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000018b019b1 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000001b3448bc in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:13:35.612974 [ 58377 ] {eb25f37a-b79c-4fc7-9cb2-263418274aff} TCPHandler: Code: 241. DB::Exception: Memory limit (for query) exceeded: would use 15.44 MiB (attempt to allocate chunk of 1777920 bytes), maximum: 14.40 MiB. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below): 0. ./build_docker/./contrib/llvm-project/libcxx/include/exception:134: Poco::Exception::Exception(String const&, int) @ 0x000000001f5f9e63 in /usr/bin/clickhouse 1. ./build_docker/./src/Common/Exception.cpp:98: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000f9c9cb4 in /usr/bin/clickhouse 2. ./build_docker/./contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception>>(int, FormatStringHelperImpl::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity::type, std::type_identity>>::type>, char const*&&, char const*&&, String&&, long&, String&&, char const*&&, std::basic_string_view>&&) @ 0x000000000f9e5db0 in /usr/bin/clickhouse 3. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4a09 in /usr/bin/clickhouse 4. ./build_docker/./src/Common/MemoryTracker.cpp:0: MemoryTracker::allocImpl(long, bool, MemoryTracker*, double) @ 0x000000000f9e4434 in /usr/bin/clickhouse 5. ./build_docker/./src/Common/CurrentMemoryTracker.cpp:0: CurrentMemoryTracker::alloc(long) @ 0x000000000f987faf in /usr/bin/clickhouse 6. ./build_docker/./src/Common/Allocator.h:0: Allocator::realloc(void*, unsigned long, unsigned long, unsigned long) @ 0x000000000f98705b in /usr/bin/clickhouse 7. ./build_docker/./src/Common/HashTable/HashTable.h:0: HashTable, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>::resize(unsigned long, unsigned long) @ 0x0000000018c73721 in /usr/bin/clickhouse 8. ./build_docker/./src/Common/HashTable/HashTable.h:0: void DB::Aggregator::mergeStreamsImplCase, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, unsigned long, unsigned long, std::vector, 63ul, 64ul> const*, std::allocator, 63ul, 64ul> const*>> const&, std::vector> const&, DB::Arena*) const @ 0x0000000018c72f3c in /usr/bin/clickhouse 9. ./build_docker/./src/Interpreters/Aggregator.cpp:2905: void DB::Aggregator::mergeStreamsImpl, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>, HashMapTable, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>>(DB::Block, DB::Arena*, DB::AggregationMethodOneNumber, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>, true, false>&, HashMapTable, HashTableNoState, PairNoInit>, DefaultHash, HashTableGrowerWithPrecalculation<8ul>, Allocator>&, char*, bool, DB::Arena*) const @ 0x0000000018be34d9 in /usr/bin/clickhouse 10. ./build_docker/./src/Interpreters/Aggregator.cpp:3209: DB::Aggregator::mergeBlocks(std::list>&, bool) @ 0x0000000018b019b1 in /usr/bin/clickhouse 11. ./build_docker/./src/Processors/Transforms/MergingAggregatedMemoryEfficientTransform.cpp:0: DB::MergingAggregatedBucketTransform::transform(DB::Chunk&) @ 0x000000001b3448bc in /usr/bin/clickhouse 12. ./build_docker/./contrib/llvm-project/libcxx/include/__utility/swap.h:35: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x00000000141bae14 in /usr/bin/clickhouse 13. ./build_docker/./src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x000000001af68d85 in /usr/bin/clickhouse 14. ./build_docker/./contrib/llvm-project/libcxx/include/list:588: DB::ExecutionThreadContext::executeTask() @ 0x000000001af8f595 in /usr/bin/clickhouse 15. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:251: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic*) @ 0x000000001af82711 in /usr/bin/clickhouse 16. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:359: void std::__function::__policy_invoker::__call_impl>(std::__function::__policy_storage const*) @ 0x000000001af83751 in /usr/bin/clickhouse 17. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl>::worker(std::__list_iterator, void*>) @ 0x000000000fb0a3b2 in /usr/bin/clickhouse 18. ./build_docker/./src/Common/ThreadPool.cpp:0: ThreadFromGlobalPoolImpl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'()::operator()() @ 0x000000000fb0f19d in /usr/bin/clickhouse 19. ./build_docker/./contrib/llvm-project/libcxx/include/__functional/function.h:717: void std::__function::__policy_invoker::__call_impl::ThreadFromGlobalPoolImpl>::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>(void&&)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x000000000fb0f102 in /usr/bin/clickhouse 20. ./build_docker/./base/base/../base/wide_integer_impl.h:809: ThreadPoolImpl::worker(std::__list_iterator) @ 0x000000000fb060a7 in /usr/bin/clickhouse 21. ./build_docker/./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:302: void* std::__thread_proxy[abi:v15000]>, void ThreadPoolImpl::scheduleImpl(std::function, Priority, std::optional, bool)::'lambda0'()>>(void*) @ 0x000000000fb0c252 in /usr/bin/clickhouse 22. __tsan_thread_start_func @ 0x0000000007bf022f in /usr/bin/clickhouse 23. ? @ 0x00007f5975bcaac3 in ? 24. ? @ 0x00007f5975c5ba04 in ? 2024.05.01 15:14:42.201086 [ 685 ] {} Application: Closed all listening sockets. Waiting for 46 outstanding connections. 2024.05.01 15:14:47.109275 [ 685 ] {} Application: Closed connections. But 12 remain. Tip: To increase wait time add to config: 60 2024.05.01 15:14:47.109516 [ 685 ] {} Application: Will shutdown forcefully.